AuthenticationDatabaseTiein: ezcAuthenticationOpenidDbStoreOptions
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcAuthenticationOpenidDbStoreOptions
|
Class containing the options for the OpenID database store. [
source]
Example of use:
1. // create an options object
2. $options = new ezcAuthenticationOpenidDbStoreOptions();
3. $options->tableNonces = array( 'name' => 'openid_nonces', 'fields' => array( 'nonce' => 'id', 'timestamp' => 'time' ) );
4. $options->tableAssociations = array( 'name' => 'openid_associations', 'fields' => array( 'url' => 'id', 'association' => 'assoc' ) );
5.
6. // use the options object
7. $store = new ezcAuthenticationOpenidDbStore( ezcDbInstance::get(), $options );
8.
9. // alternatively, you can set the options to an existing object
10. $store = new ezcAuthenticationOpenidDbStore( ezcDbInstance::get() );
11. $store->setOptions( $options );
Parents
ezcBaseOptions
|
--ezcAuthenticationOpenidStoreOptions
|
--ezcAuthenticationOpenidDbStoreOptions
Properties
|
array(string=>mixed) |
read/write
|
$tableAssociations
A structure defining how the table which holds the nonces looks like. The default is array( 'name' => 'openid_associations', 'fields' => array( 'url' => 'url', 'association' => 'association' ) ). The column nonce is a key in the table. The names of the columns and of the table name can be changed ('nonce', 'timestamp', 'openid_associations'). |
|
array(string=>mixed) |
read/write
|
$tableNonces
A structure defining how the table which holds the nonces looks like. The default is array( 'name' => 'openid_nonces', 'fields' => array( 'nonce' => 'nonce', 'timestamp' => 'timestamp' ) ). The column nonce is a key in the table. The names of the columns and of the table name can be changed ('nonce', 'timestamp', 'openid_nonces'). |
Inherited Member Variables
From
ezcBaseOptions:
Method Summary
|
public ezcAuthenticationOpenidDbStoreOptions |
__construct(
[$options = array()] )
Constructs an object with the specified values. |
Inherited Methods
From
ezcAuthenticationOpenidStoreOptions :
From
ezcBaseOptions :
Methods
__construct
ezcAuthenticationOpenidDbStoreOptions __construct(
[
$options = array()] )
Constructs an object with the specified values.
Parameters
| Name |
Type |
Description |
$options |
array(string=>mixed) |
Options for this class |
Throws
| Class | Description |
ezcBasePropertyNotFoundException |
if $options contains a property not defined |
ezcBaseValueException |
if $options contains a property with a value not allowed |
Redefinition of
Last updated: Mon, 10 Nov 2008