AX.php
Implements the OpenID attribute exchange specification, version 1.0 as of svn revision 370 from openid.net svn.
Interfaces, Classes, Traits and Enums
- Auth_OpenID_AX
- AX utility class.
- Auth_OpenID_AX_Error
- Results from data that does not meet the attribute exchange 1.0 specification
- Auth_OpenID_AX_Message
- Abstract class containing common code for attribute exchange messages.
- Auth_OpenID_AX_AttrInfo
- Represents a single attribute in an attribute exchange request. This should be added to an AXRequest object in order to request the attribute.
- Auth_OpenID_AX_FetchRequest
- An attribute exchange 'fetch_request' message. This message is sent by a relying party when it wishes to obtain attributes about the subject of an OpenID authentication request.
- Auth_OpenID_AX_KeyValueMessage
- An abstract class that implements a message that has attribute keys and values. It contains the common code between fetch_response and store_request.
- Auth_OpenID_AX_FetchResponse
- A fetch_response attribute exchange message.
- Auth_OpenID_AX_StoreRequest
- A store request attribute exchange message representation.
- Auth_OpenID_AX_StoreResponse
- An indication that the store request was processed along with this OpenID transaction. Use make(), NOT the constructor, to create response objects.
Table of Contents
- Auth_OpenID_AX_MINIMUM_SUPPORTED_ALIAS_LENGTH = 32
- Auth_OpenID_AX_NS_URI = 'http://openid.net/srv/ax/1.0'
- Auth_OpenID_AX_UNLIMITED_VALUES = 'unlimited'
- Auth_OpenID_AX_checkAlias() : Auth_OpenID_AX_Error|bool
- Check an alias for invalid characters; raise AXError if any are found. Return None if the alias is valid.
- Auth_OpenID_AX_toTypeURIs() : array<string|int, string>|Auth_OpenID_AX_Error
- Given a namespace mapping and a string containing a comma-separated list of namespace aliases, return a list of type URIs that correspond to those aliases.
Constants
Auth_OpenID_AX_MINIMUM_SUPPORTED_ALIAS_LENGTH
public
mixed
Auth_OpenID_AX_MINIMUM_SUPPORTED_ALIAS_LENGTH
= 32
Auth_OpenID_AX_NS_URI
public
mixed
Auth_OpenID_AX_NS_URI
= 'http://openid.net/srv/ax/1.0'
Auth_OpenID_AX_UNLIMITED_VALUES
public
mixed
Auth_OpenID_AX_UNLIMITED_VALUES
= 'unlimited'
Functions
Auth_OpenID_AX_checkAlias()
Check an alias for invalid characters; raise AXError if any are found. Return None if the alias is valid.
Auth_OpenID_AX_checkAlias(string $alias) : Auth_OpenID_AX_Error|bool
Parameters
- $alias : string
Return values
Auth_OpenID_AX_Error|bool —Auth_OpenID_AX_toTypeURIs()
Given a namespace mapping and a string containing a comma-separated list of namespace aliases, return a list of type URIs that correspond to those aliases.
Auth_OpenID_AX_toTypeURIs(Auth_OpenID_NamespaceMap $namespace_map, string $alias_list_s) : array<string|int, string>|Auth_OpenID_AX_Error
Parameters
- $namespace_map : Auth_OpenID_NamespaceMap
-
The mapping from namespace URI to alias
- $alias_list_s : string
-
The string containing the comma-separated list of aliases. May also be None for convenience.
Return values
array<string|int, string>|Auth_OpenID_AX_Error —The list of namespace URIs that corresponds to the supplied list of aliases. If the string was zero-length or None, an empty list will be returned.
return null If an alias is present in the list of aliases but is not present in the namespace map.