메소드 | 설명 | |
---|---|---|
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 | |
리턴 | 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 |
리턴 | void |
public getIdentitySUK ( string $key ) : string | ||
$key | string | The identity key |
리턴 | string | The SUK value |
public getIdentityVUK ( string $key ) : string | ||
$key | string | The identity key |
리턴 | string | The VUK value |
public getNutDetails ( string $nut ) : array: | ||
$nut | string | The nonce to retrieve information on |
리턴 | array: |
public getSessionNonce ( ) : string | ||
리턴 | string |
public lockIdentityKey ( string $key ) : void | ||
$key | string | The authentication key to lock |
리턴 | void |
public logSessionIn ( string $requestNut ) : void | ||
$requestNut | string | The nut of the current request that is being logged in |
리턴 | 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 |
리턴 | void |
public unlockIdentityKey ( string $key ) : void | ||
$key | string | The authentication key to lock |
리턴 | void |