PHP 인터페이스 Trianglman\Sqrl\SqrlGenerateInterface

저자: johnj
파일 보기 프로젝트 열기: trianglman/sqrl

공개 메소드들

메소드 설명
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

메소드 상세

generateQry() 공개 메소드

Generates the qry parameter to send in server responses
public generateQry ( ) : string
리턴 string

getNonce() 공개 메소드

Returns the generated nonce
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
리턴 string The one time use string for the QR link

getUrl() 공개 메소드

Gets the validation URL including the nonce
public getUrl ( ) : string
리턴 string

render() 공개 메소드

Generates the QR code image
public render ( string $outputFile ) : void
$outputFile string
리턴 void