## /Auth/OpenID/Message.php

Description

Extension argument processing code

Classes

Class | Description
--- | ---
Auth_OpenID_Mapping | An Auth_OpenID_Mapping maintains a mapping from arbitrary keys to arbitrary values. (This is unlike an ordinary PHP array, whose keys may be only simple scalars.)
Auth_OpenID_NamespaceMap | Maintains a bijective map between namespace uris and aliases.
Auth_OpenID_Message | In the implementation of this object, null represents the global namespace as well as a namespace with no key.

Includes
require_once ('Auth/OpenID.php') (line 12)

Import tools needed to deal with messages.

require_once ('Auth/OpenID/Consumer.php') (line 15)
require_once ('Auth/OpenID/KVForm.php') (line 13)
require_once ('Auth/Yadis/XML.php') (line 14)
Constants
Auth_OpenID_BARE_NS = 'Bare namespace' (line 47)
Auth_OpenID_IDENTIFIER_SELECT = "http://specs.openid.net/auth/2.0/identifier_select" (line 18)
Auth_OpenID_NO_DEFAULT = 'NO DEFAULT ALLOWED' (line 51)
Auth_OpenID_NULL_NAMESPACE = 'Null namespace' (line 40)
Auth_OpenID_OPENID1_NS = 'http://openid.net/signon/1.0' (line 26)
Auth_OpenID_OPENID1_URL_LIMIT = 2047 (line 55)
Auth_OpenID_OPENID2_NS = 'http://specs.openid.net/auth/2.0' (line 36)
Auth_OpenID_OPENID_NS = 'OpenID namespace' (line 43)
Auth_OpenID_SREG_URI = 'http://openid.net/sreg/1.0' (line 23)
Auth_OpenID_THE_OTHER_OPENID1_NS = 'http://openid.net/signon/1.1' (line 27)
Functions
Auth_OpenID_isOpenID1 (line 29)
void Auth_OpenID_isOpenID1 ( $ns)

- $ns

Auth_OpenID_registerNamespaceAlias (line 78)

Registers a (namespace URI, alias) mapping in a global namespace

alias map. Raises NamespaceAliasRegistrationError if either the namespace URI or alias has already been registered with a different value. This function is required if you want to use a namespace with an OpenID 1 message.

void Auth_OpenID_registerNamespaceAlias ( $namespace_uri, $alias)

- $namespace_uri
- $alias

Auth_OpenID_removeNamespaceAlias (line 105)

Removes a (namespace_uri, alias) registration from the global namespace alias map. Returns true if the removal succeeded; false if not (if the mapping did not exist).

void Auth_OpenID_removeNamespaceAlias ( $namespace_uri, $alias)

- $namespace_uri
- $alias

Documentation generated on Tue, 21 Apr 2009 11:31:31 -0700 by phpDocumentor 1.3.2