Property | Type | Description | |
---|---|---|---|
$configuration | |||
$nonce | |||
$store | SqrlStore |
Method | Description | |
---|---|---|
__construct ( |
||
generateQry ( ) | ||
getNonce ( integer $action, string $key = '', string $previousNonce = '' ) : string | Returns the generated nonce | |
getUrl ( ) | ||
render ( $outputFile ) |
Method | Description | |
---|---|---|
generateNonce ( integer $action, string $key = '', string $previousNonce = '' ) : string | Generates a random, one time use key to be used in the sqrl validation |
public __construct ( |
||
$config | ||
$storage | Trianglman\Sqrl\SqrlStoreInterface |
protected generateNonce ( integer $action, string $key = '', string $previousNonce = '' ) : string | ||
$action | integer | [Optional] The type of action this nonce is being generated for |
$key | string | [Optional] The public key associated with the nonce |
$previousNonce | string | [Optional] The previous nonce in the transaction that should be associated to this nonce |
return | string |
public getNonce ( integer $action, string $key = '', string $previousNonce = '' ) : string | ||
$action | integer | [Optional] The type of action this nonce is being generated for |
$key | string | [Optional] The public key associated with the nonce |
$previousNonce | string | [Optional] The previous nonce in the transaction that should be associated to this nonce |
return | string | The one time use string for the QR link |
protected SqrlConfiguration,Trianglman\Sqrl $configuration | ||
return |