Method | Description | |
---|---|---|
generateQry ( ) : string | Generates the qry parameter to send in server responses | |
getNonce ( integer $action, string $key = '', string $previousNonce = '' ) : string | Returns the generated nonce | |
getUrl ( ) : string | Gets the validation URL including the nonce | |
render ( string $outputFile ) : void | Generates the QR code image |
public generateQry ( ) : string | ||
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 |