Authentication: ezcAuthenticationOpenidOptions
[ ]
[ Rfcs ] [ Security ]
[ ]
[ ]
[ ]
[ ]
Class: ezcAuthenticationOpenidOptions
|
Class containing the options for the OpenID authentication filter. [
source]
Parents
ezcBaseOptions
|
--ezcAuthenticationFilterOptions
|
--ezcAuthenticationOpenidOptions
Properties
|
bool |
read/write
|
$immediate
Enables OpenID checkid_immediate instead of checkid_setup. See the ezcAuthenticationOpenidFilter class documentation for more details. It is false by default (use checkid_setup by default). |
|
int |
read/write
|
$mode
The OpenID mode to use for authentication. It is either dumb (ezcAuthenticationOpenidFilter::MODE_DUMB, default) or smart (ezcAuthenticationOpenidFilter::MODE_SMART). In dumb mode the OpenID server does most of the work, but an extra check is required (check_authentication step). In smart mode the server and the OpenIP provider establish a shared secret (with an expiry period) that is used to sign the responses, so the check_authentication step is not required. |
|
string |
read/write
|
$nonceKey
The query key that identifies the nonce value, default 'nonce'. |
|
int |
read/write
|
$nonceLength
The length of the generated nonces, default 6. |
|
int |
read/write
|
$nonceValidity
The amount of seconds the nonces are allowed to be valid. |
|
array(string=>mixed) |
read/write
|
$requestSource
From where to get the parameters returned by the OpenID provider. Default is $_GET. |
|
ezcAuthenticationOpenidStore |
read/write
|
$store
The store to use to hold the nonces and (for MODE_SMART) the associations between the server and the OpenID provider. Default is null which means nonces are not used. If you enable MODE_SMART you have to specify also a valid store. |
|
int |
read/write
|
$timeout
The amount of seconds allowed as timeout for fetching content during HTML or Yadis discovery. |
|
int |
read/write
|
$timeoutOpen
The amount of seconds allowed as timeout when creating a connection with fsockopen() for the HTML or Yadis discovery. |
Inherited Member Variables
From
ezcBaseOptions:
Method Summary
|
public ezcAuthenticationOpenidOptions |
__construct(
[$options = array()] )
Constructs an object with the specified values. |
Inherited Methods
From
ezcAuthenticationFilterOptions :
From
ezcBaseOptions :
Methods
__construct
ezcAuthenticationOpenidOptions __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: Thu, 31 Jan 2008