Class OpenID_Extension_SREG11

Description

Implementation of the Simple Registration Extension, version 1.1 Draft 1.

See http://openid.net/specs/openid-simple-registration-extension-1_1-01.html for more information.

Example usage:

  1.   $sreg new OpenID_Extension_SREG11(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/SREG11.php (line 47)

OpenID_Extension
   |
   --OpenID_Extension_SREG10
      |
      --OpenID_Extension_SREG11
Variable Summary
Variables
string $namespace = 'http://openid.net/extensions/sreg/1.1' (line 61)

Sets the URI of the spec for alias assignment

  • access: protected

Redefinition of:
OpenID_Extension::$namespace
Namespace URI
bool $useNamespaceAlias = true (line 54)

Enables namespaces. The only differnce I can see in the specs.

  • access: protected

Redefinition of:
OpenID_Extension_SREG10::$useNamespaceAlias
Disables NS use, since this extension was done before OpenID 2.0

Inherited Variables

Inherited from OpenID_Extension_SREG10

OpenID_Extension_SREG10::$alias
OpenID_Extension_SREG10::$requestKeys
OpenID_Extension_SREG10::$responseKeys

Inherited from OpenID_Extension

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