Method | Description | |
---|---|---|
checkIdentityKey ( string $key ) : integer | Checks the status of an identity key | |
createIdentity ( string $key, string $suk, string $vuk ) : void | Stores a new identity key along with the Identity Lock information | |
endSession ( string $requestNut ) : void | Flags a session as no longer valid. | |
getIdentitySUK ( string $key ) : string | Gets an identity's SUK value in order for the client to use the Identity Unlock protocol | |
getIdentityVUK ( string $key ) : string | Gets an identity's VUK value in order for the client to use the Identity Unlock protocol | |
getNutDetails ( string $nut ) : array: | Retrieves information about the supplied nut | |
getSessionNonce ( ) : string | Gets the current active nonce for the user's session if there is any | |
lockIdentityKey ( string $key ) : void | Locks an authentication key against further use until a successful unlock | |
logSessionIn ( string $requestNut ) : void | Activates a session | |
storeNonce ( string $nonce, integer $action, string $key = '', string $previousNonce = '' ) : void | Stores a nonce and the related information | |
unlockIdentityKey ( string $key ) : void | Unlocks an authentication key allowing future authentication | |
updateIdentityKey ( string $oldKey, string $newKey, string $newSuk, string $newVuk ) : void | Updates a user's key information after an identity update action |
public checkIdentityKey ( string $key ) : integer | ||
$key | string | |
return | integer | One of the class key status constants |
public endSession ( string $requestNut ) : void | ||
$requestNut | string | The nut of the curret request related to the session to be destroyed |
return | void |
public getIdentitySUK ( string $key ) : string | ||
$key | string | The identity key |
return | string | The SUK value |
public getIdentityVUK ( string $key ) : string | ||
$key | string | The identity key |
return | string | The VUK value |
public getNutDetails ( string $nut ) : array: | ||
$nut | string | The nonce to retrieve information on |
return | array: |
public getSessionNonce ( ) : string | ||
return | string |
public lockIdentityKey ( string $key ) : void | ||
$key | string | The authentication key to lock |
return | void |
public logSessionIn ( string $requestNut ) : void | ||
$requestNut | string | The nut of the current request that is being logged in |
return | void |
public storeNonce ( string $nonce, integer $action, string $key = '', string $previousNonce = '' ) : void | ||
$nonce | string | The nonce to store |
$action | integer | The tif related to the nonce |
$key | string | [Optional] The identity key related to the nonce |
$previousNonce | string | [Optional] The previous nonce related to the nonce |
return | void |
public unlockIdentityKey ( string $key ) : void | ||
$key | string | The authentication key to lock |
return | void |