PHP Trait OTPHP\ParameterTrait

ファイルを表示 Open project: spomky-labs/otphp

Public Methods

Method Description
getDigest ( ) : string
getDigits ( ) : integer
getIssuer ( ) : string | null
getLabel ( ) : string | null
getParameter ( string $parameter )
getParameters ( ) : array
getSecret ( ) : string
hasParameter ( string $parameter )
isIssuerIncludedAsParameter ( ) : boolean
setIssuer ( string $issuer )
setIssuerIncludedAsParameter ( boolean $issuer_included_as_parameter )
setParameter ( string $parameter, integer $value )

Private Methods

Method Description
getParameterMap ( ) : array
hasColon ( string $value ) : boolean
setDigest ( string $digest )
setDigits ( integer $digits )
setLabel ( string $label )
setSecret ( string | null $secret )

Method Details

getDigest() public method

public getDigest ( ) : string
return string

getDigits() public method

public getDigits ( ) : integer
return integer

getIssuer() public method

public getIssuer ( ) : string | null
return string | null

getLabel() public method

public getLabel ( ) : string | null
return string | null

getParameter() public method

public getParameter ( string $parameter )
$parameter string

getParameters() public method

public getParameters ( ) : array
return array

getSecret() public method

public getSecret ( ) : string
return string

hasParameter() public method

public hasParameter ( string $parameter )
$parameter string

isIssuerIncludedAsParameter() public method

setIssuer() public method

public setIssuer ( string $issuer )
$issuer string

setIssuerIncludedAsParameter() public method

public setIssuerIncludedAsParameter ( boolean $issuer_included_as_parameter )
$issuer_included_as_parameter boolean

setParameter() public method

public setParameter ( string $parameter, integer $value )
$parameter string
$value integer