Class OpenID_Extension_SREG10

Description

Implementation of the Simple Registration Extension version 1.0. See http://openid.net/specs/openid-simple-registration-extension-1_0.html for more information on this extension.

Example usage:

  1.   $sreg new OpenID_Extension_SREG10(OpenID_Extension::REQUEST);
  2.   $sreg->set('required''email');
  3.   $sreg->set('optional''nickname,gender,dob');
  4.   // Add to an existing instance of OpenID_Auth_Request
  5.   $authRequest->addExtension($sreg);

Located in /OpenID/Extension/SREG10.php (line 44)

OpenID_Extension
   |
   --OpenID_Extension_SREG10
Direct descendents
Class Description
OpenID_Extension_SREG11 Implementation of the Simple Registration Extension, version 1.1 Draft 1.
Variable Summary
Variables
string $alias = 'sreg' (line 58)

The alias to use.

  • access: protected

Redefinition of:
OpenID_Extension::$alias
Namespace text, "sreg" or "ax" for example
array $requestKeys = array(
'required',
'optional',
'policy_url'
)
(line 65)

Supported keys in a request

  • access: protected

Redefinition of:
OpenID_Extension::$requestKeys
Keys appropriate for a request. Leave empty to allow any keys.
array $responseKeys = array(
'nickname',
'email',
'fullname',
'dob',
'gender',
'postcode',
'country',
'language',
'timezone'
)
(line 76)

Supported keys in a response

  • access: protected

Redefinition of:
OpenID_Extension::$responseKeys
Keys appropriate for a response. Leave empty to allow any keys.
bool $useNamespaceAlias = false (line 51)

Disables NS use, since this extension was done before OpenID 2.0

  • access: protected

Redefinition of:
OpenID_Extension::$useNamespaceAlias
Whether or not to use namespace alias assignments (for SREG 1.0 mostly)

Redefined in descendants as:

Inherited Variables

Inherited from OpenID_Extension

OpenID_Extension::$namespace
OpenID_Extension::$reserved
OpenID_Extension::$type
OpenID_Extension::$values
Methods
Class Constants

Documentation generated on Tue, 15 Dec 2009 19:01:00 -0800 by phpDocumentor 1.4.3