|
TYPO3 API
SVNRelease
|


Public Member Functions | |
| storeAssociation ($serverUrl, $association) | |
| cleanupAssociations () | |
| getAssociation ($serverUrl, $handle=null) | |
| removeAssociation ($serverUrl, $handle) | |
| cleanupNonces () | |
| useNonce ($serverUrl, $timestamp, $salt) | |
| reset () | |
Public Attributes | |
| const | ASSOCIATION_TABLE_NAME = 'tx_openid_assoc_store' |
| const | ASSOCIATION_EXPIRATION_SAFETY_INTERVAL = 120 |
| const | NONCE_TABLE_NAME = 'tx_openid_nonce_store' |
| const | NONCE_STORAGE_TIME = 864000 |
Protected Member Functions | |
| doesAssociationExist ($serverUrl, $association) | |
| updateExistingAssociation ($serverUrl, Auth_OpenID_Association $association) | |
| storeNewAssociation ($serverUrl, $association) | |
| updateAssociationTimeStamp ($recordId) | |
Definition at line 37 of file class.tx_openid_store.php.
| tx_openid_store::cleanupAssociations | ( | ) |
Removes all expired associations.
Reimplemented from Auth_OpenID_OpenIDStore.
Definition at line 73 of file class.tx_openid_store.php.
References $GLOBALS.
Referenced by getAssociation().
| tx_openid_store::cleanupNonces | ( | ) |
Removes old nonces
Reimplemented from Auth_OpenID_OpenIDStore.
Definition at line 142 of file class.tx_openid_store.php.
References $GLOBALS.
| tx_openid_store::doesAssociationExist | ( | $ | serverUrl, |
| $ | association | ||
| ) | [protected] |
Checks if such association exists.
| string | $serverUrl | Server URL |
| Auth_OpenID_Association | $association | OpenID association |
Definition at line 190 of file class.tx_openid_store.php.
References $GLOBALS, and $row.
Referenced by storeAssociation().
| tx_openid_store::getAssociation | ( | $ | serverUrl, |
| $ | handle = null |
||
| ) |
Obtains the association to the server
| string | $serverUrl | Server URL |
| string | $handle | Association handle (optional) |
Reimplemented from Auth_OpenID_OpenIDStore.
Definition at line 86 of file class.tx_openid_store.php.
References $GLOBALS, $row, cleanupAssociations(), and updateAssociationTimeStamp().
| tx_openid_store::removeAssociation | ( | $ | serverUrl, |
| $ | handle | ||
| ) |
Removes the association
| string | $serverUrl | Server URL |
| string | $handle | Association handle (optional) |
Reimplemented from Auth_OpenID_OpenIDStore.
Definition at line 128 of file class.tx_openid_store.php.
References $GLOBALS.
| tx_openid_store::reset | ( | ) |
Resets the store by removing all data in it
Reimplemented from Auth_OpenID_OpenIDStore.
Definition at line 178 of file class.tx_openid_store.php.
References $GLOBALS.
| tx_openid_store::storeAssociation | ( | $ | serverUrl, |
| $ | association | ||
| ) |
Sores the association for future use
| string | $serverUrl | Server URL |
| Auth_OpenID_Association | $association | OpenID association |
Reimplemented from Auth_OpenID_OpenIDStore.
Definition at line 54 of file class.tx_openid_store.php.
References $GLOBALS, doesAssociationExist(), storeNewAssociation(), and updateExistingAssociation().
| tx_openid_store::storeNewAssociation | ( | $ | serverUrl, |
| $ | association | ||
| ) | [protected] |
Stores new association to the database.
| $serverUrl | Server URL |
| $association | OpenID association |
Definition at line 227 of file class.tx_openid_store.php.
References $GLOBALS.
Referenced by storeAssociation().
| tx_openid_store::updateAssociationTimeStamp | ( | $ | recordId | ) | [protected] |
Updates association time stamp.
| $recordId | Association record id in the database |
Definition at line 248 of file class.tx_openid_store.php.
References $GLOBALS.
Referenced by getAssociation().
| tx_openid_store::updateExistingAssociation | ( | $ | serverUrl, |
| Auth_OpenID_Association $ | association | ||
| ) | [protected] |
Updates existing association.
| string | $serverUrl | Server URL |
| Auth_OpenID_Association | $association | OpenID association |
Definition at line 207 of file class.tx_openid_store.php.
References $GLOBALS.
Referenced by storeAssociation().
| tx_openid_store::useNonce | ( | $ | serverUrl, |
| $ | timestamp, | ||
| $ | salt | ||
| ) |
Checks if this nonce was already used
| $serverUrl | Server URL |
| $timestamp | Time stamp |
| $salt | Nonce value |
Reimplemented from Auth_OpenID_OpenIDStore.
Definition at line 154 of file class.tx_openid_store.php.
References $GLOBALS.
Definition at line 41 of file class.tx_openid_store.php.
| const tx_openid_store::ASSOCIATION_TABLE_NAME = 'tx_openid_assoc_store' |
Definition at line 39 of file class.tx_openid_store.php.
| const tx_openid_store::NONCE_STORAGE_TIME = 864000 |
Definition at line 45 of file class.tx_openid_store.php.
| const tx_openid_store::NONCE_TABLE_NAME = 'tx_openid_nonce_store' |
Definition at line 43 of file class.tx_openid_store.php.
1.7.5.1