Method |
Description |
|
__construct ( Client $redis, string $prefix = '' ) |
Initializes a new {@link Auth_OpenID_PredisStore} instance. |
|
associationKey ( $server_url, $handle = null ) |
Key is prefixed with $prefix and 'openid_association_' string |
|
associationServerKey ( $server_url ) |
Key is prefixed with $prefix and 'openid_association_server_' string |
|
getAssociation ( $server_url, $handle = null ) |
Read association from Redis. If no handle given
and multiple associations found, returns latest issued |
|
removeAssociation ( $server_url, $handle ) |
Immediately delete association from Redis. |
|
storeAssociation ( $server_url, $association ) |
Store association until its expiration time in Redis server. |
|
supportsCleanup ( ) |
Report that this storage doesn't support cleanup |
|
useNonce ( $server_url, $timestamp, $salt ) |
Create nonce for server and salt, expiring after
$Auth_OpenID_SKEW seconds. |
|