PHP Class sqrlexample\ExampleStatefulStorage

Author: johnj
Inheritance: implements Trianglman\Sqrl\SqrlStoreInterface
ファイルを表示 Open project: trianglman/sqrl

Public Methods

Method Description
__construct ( PDO $conn, $reqIp, &$session )
checkIdentityKey ( $key )
createIdentity ( $key, $suk, $vuk )
endSession ( $requestNut )
getIdentitySUK ( $key )
getIdentityVUK ( $key )
getNutDetails ( $nut )
getSessionNonce ( )
lockIdentityKey ( $key )
logSessionIn ( $requestNut )
storeNonce ( $nonce, $action, $key = '', $previousNonce = '' )
unlockIdentityKey ( $key )
updateIdentityKey ( $oldKey, $newKey, $newSuk, $newVuk )

Method Details

__construct() public method

public __construct ( PDO $conn, $reqIp, &$session )
$conn PDO

checkIdentityKey() public method

public checkIdentityKey ( $key )

createIdentity() public method

public createIdentity ( $key, $suk, $vuk )

endSession() public method

public endSession ( $requestNut )

getIdentitySUK() public method

public getIdentitySUK ( $key )

getIdentityVUK() public method

public getIdentityVUK ( $key )

getNutDetails() public method

public getNutDetails ( $nut )

getSessionNonce() public method

public getSessionNonce ( )

lockIdentityKey() public method

public lockIdentityKey ( $key )

logSessionIn() public method

public logSessionIn ( $requestNut )

storeNonce() public method

public storeNonce ( $nonce, $action, $key = '', $previousNonce = '' )

unlockIdentityKey() public method

public unlockIdentityKey ( $key )

updateIdentityKey() public method

public updateIdentityKey ( $oldKey, $newKey, $newSuk, $newVuk )