TYPO3 CMS
TYPO3_6-2
|
Public Member Functions | |
Auth_OpenID_MDB2Store ($connection, $associations_table=null, $nonces_table=null) | |
tableExists ($table_name) | |
createTables () | |
create_nonce_table () | |
create_assoc_table () | |
storeAssociation ($server_url, $association) | |
cleanupNonces () | |
cleanupAssociations () | |
getAssociation ($server_url, $handle=null) | |
removeAssociation ($server_url, $handle) | |
useNonce ($server_url, $timestamp, $salt) | |
reset () | |
![]() | |
storeAssociation ($server_url, $association) | |
cleanupNonces () | |
cleanupAssociations () | |
cleanup () | |
supportsCleanup () | |
getAssociation ($server_url, $handle=null) | |
removeAssociation ($server_url, $handle) | |
useNonce ($server_url, $timestamp, $salt) | |
reset () | |
Definition at line 46 of file MDB2Store.php.
Auth_OpenID_MDB2Store::Auth_OpenID_MDB2Store | ( | $connection, | |
$associations_table = null , |
|||
$nonces_table = null |
|||
) |
This creates a new MDB2Store instance. It requires an established database connection be given to it, and it allows overriding the default table names.
connection | $connection | This must be an established connection to a database of the correct type for the SQLStore subclass you're using. This must be a PEAR::MDB2 connection handle. |
associations_table | This is an optional parameter to specify the name of the table used for storing associations. The default value is 'oid_associations'. | |
nonces_table | This is an optional parameter to specify the name of the table used for storing nonces. The default value is 'oid_nonces'. |
Definition at line 65 of file MDB2Store.php.
References E_USER_ERROR.
Auth_OpenID_MDB2Store::cleanupAssociations | ( | ) |
Definition at line 311 of file MDB2Store.php.
Auth_OpenID_MDB2Store::cleanupNonces | ( | ) |
Definition at line 301 of file MDB2Store.php.
References $Auth_OpenID_SKEW.
Auth_OpenID_MDB2Store::create_assoc_table | ( | ) |
Definition at line 192 of file MDB2Store.php.
References tableExists().
Referenced by createTables().
Auth_OpenID_MDB2Store::create_nonce_table | ( | ) |
Definition at line 122 of file MDB2Store.php.
References tableExists().
Referenced by createTables().
Auth_OpenID_MDB2Store::createTables | ( | ) |
Definition at line 111 of file MDB2Store.php.
References create_assoc_table(), and create_nonce_table().
Auth_OpenID_MDB2Store::getAssociation | ( | $server_url, | |
$handle = null |
|||
) |
Definition at line 318 of file MDB2Store.php.
References $sql.
Auth_OpenID_MDB2Store::removeAssociation | ( | $server_url, | |
$handle | |||
) |
Definition at line 357 of file MDB2Store.php.
Auth_OpenID_MDB2Store::reset | ( | ) |
Resets the store by removing all records from the store's tables.
Definition at line 402 of file MDB2Store.php.
Auth_OpenID_MDB2Store::storeAssociation | ( | $server_url, | |
$association | |||
) |
Definition at line 270 of file MDB2Store.php.
Auth_OpenID_MDB2Store::tableExists | ( | $table_name | ) |
Definition at line 104 of file MDB2Store.php.
Referenced by create_assoc_table(), and create_nonce_table().
Auth_OpenID_MDB2Store::useNonce | ( | $server_url, | |
$timestamp, | |||
$salt | |||
) |
Definition at line 370 of file MDB2Store.php.
References $Auth_OpenID_SKEW.