Message.php
Extension argument processing code
Interfaces, Classes, Traits and Enums
- 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.
Table of Contents
- Auth_OpenID_BARE_NS = 'Bare namespace'
- Auth_OpenID_IDENTIFIER_SELECT = "http://specs.openid.net/auth/2.0/identifier_select"
- Auth_OpenID_NO_DEFAULT = 'NO DEFAULT ALLOWED'
- Auth_OpenID_NULL_NAMESPACE = 'Null namespace'
- Auth_OpenID_OPENID1_NS = 'http://openid.net/signon/1.0'
- Auth_OpenID_OPENID1_URL_LIMIT = 2047
- Auth_OpenID_OPENID2_NS = 'http://specs.openid.net/auth/2.0'
- Auth_OpenID_OPENID_NS = 'OpenID namespace'
- Auth_OpenID_SREG_URI = 'http://openid.net/sreg/1.0'
- Auth_OpenID_THE_OTHER_OPENID1_NS = 'http://openid.net/signon/1.1'
- Auth_OpenID_isOpenID1() : mixed
- Auth_OpenID_registerNamespaceAlias() : bool
- 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.
- Auth_OpenID_removeNamespaceAlias() : bool
- 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).
Constants
Auth_OpenID_BARE_NS
public
mixed
Auth_OpenID_BARE_NS
= 'Bare namespace'
Auth_OpenID_IDENTIFIER_SELECT
public
mixed
Auth_OpenID_IDENTIFIER_SELECT
= "http://specs.openid.net/auth/2.0/identifier_select"
Auth_OpenID_NO_DEFAULT
public
mixed
Auth_OpenID_NO_DEFAULT
= 'NO DEFAULT ALLOWED'
Auth_OpenID_NULL_NAMESPACE
public
mixed
Auth_OpenID_NULL_NAMESPACE
= 'Null namespace'
Auth_OpenID_OPENID1_NS
public
mixed
Auth_OpenID_OPENID1_NS
= 'http://openid.net/signon/1.0'
Auth_OpenID_OPENID1_URL_LIMIT
public
mixed
Auth_OpenID_OPENID1_URL_LIMIT
= 2047
Auth_OpenID_OPENID2_NS
public
mixed
Auth_OpenID_OPENID2_NS
= 'http://specs.openid.net/auth/2.0'
Auth_OpenID_OPENID_NS
public
mixed
Auth_OpenID_OPENID_NS
= 'OpenID namespace'
Auth_OpenID_SREG_URI
public
mixed
Auth_OpenID_SREG_URI
= 'http://openid.net/sreg/1.0'
Auth_OpenID_THE_OTHER_OPENID1_NS
public
mixed
Auth_OpenID_THE_OTHER_OPENID1_NS
= 'http://openid.net/signon/1.1'
Functions
Auth_OpenID_isOpenID1()
Auth_OpenID_isOpenID1(mixed $ns) : mixed
Parameters
- $ns : mixed
Return values
mixed —Auth_OpenID_registerNamespaceAlias()
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.
Auth_OpenID_registerNamespaceAlias(string $namespace_uri, string $alias) : bool
Parameters
- $namespace_uri : string
- $alias : string
Return values
bool —Auth_OpenID_removeNamespaceAlias()
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).
Auth_OpenID_removeNamespaceAlias(string $namespace_uri, string $alias) : bool
Parameters
- $namespace_uri : string
- $alias : string