Authentication: ezcAuthenticationOpenidStore
[ ]
[ Rfcs ] [ Security ]
[ ]
[ ]
[ ]
[ ]
Class: ezcAuthenticationOpenidStore
|
Abstract class which provides a base for store (backend) implementations to be used in OpenID authentication. [
source]
Descendents
Member Variables
Method Summary
Methods
getAssociation
Returns the association linked to the OpenID provider URL.
Returns null if the association could not be retrieved.
Parameters
| Name |
Type |
Description |
$url |
string |
The URL of the OpenID provider |
Redefined in descendants as
getOptions
Returns the options of this class.
removeAssociation
bool removeAssociation(
string
$url )
Removes the association linked to the OpenID provider URL.
Returns true if the association could be removed, and false otherwise.
Parameters
| Name |
Type |
Description |
$url |
string |
The URL of the OpenID provider |
Redefined in descendants as
setOptions
Sets the options of this class to $options.
Parameters
storeAssociation
Stores an association in the store linked to the OpenID provider URL.
Returns true if the association was stored successfully, and false otherwise.
Parameters
Redefined in descendants as
storeNonce
bool storeNonce(
string
$nonce )
Stores the nonce in the store.
Returns true if the nonce was stored successfully, and false otherwise.
Parameters
| Name |
Type |
Description |
$nonce |
string |
The nonce value to store |
Redefined in descendants as
useNonce
bool useNonce(
string
$nonce )
Checks if the nonce exists and afterwards deletes it.
Returns true if the nonce can be used (exists and it is still valid), and false otherwise.
Parameters
| Name |
Type |
Description |
$nonce |
string |
The nonce value to check and delete |
Redefined in descendants as
Last updated: Mon, 10 Nov 2008