Support Joomla!

Packages

Package: OpenID

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

File/openid/Auth/OpenID/Message.php

Description

Extension argument processing code

Classes
Class Description
 class 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.)
 class Auth_OpenID_NamespaceMap Maintains a bijective map between namespace uris and aliases.
 class 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 15)

Import tools needed to deal with messages.

 require_once ('Auth/OpenID/Consumer.php') (line 18)
 require_once ('Auth/OpenID/KVForm.php') (line 16)
 require_once ('Auth/Yadis/XML.php') (line 17)
Constants
Auth_OpenID_BARE_NS = 'Bare namespace' (line 50)
Auth_OpenID_IDENTIFIER_SELECT = "http://specs.openid.net/auth/2.0/identifier_select" (line 21)
Auth_OpenID_NO_DEFAULT = 'NO DEFAULT ALLOWED' (line 54)
Auth_OpenID_NULL_NAMESPACE = 'Null namespace' (line 43)
Auth_OpenID_OPENID1_NS = 'http://openid.net/signon/1.0' (line 29)
Auth_OpenID_OPENID1_URL_LIMIT = 2047 (line 58)
Auth_OpenID_OPENID2_NS = 'http://specs.openid.net/auth/2.0' (line 39)
Auth_OpenID_OPENID_NS = 'OpenID namespace' (line 46)
Auth_OpenID_SREG_URI = 'http://openid.net/sreg/1.0' (line 26)
Auth_OpenID_THE_OTHER_OPENID1_NS = 'http://openid.net/signon/1.1' (line 30)
Functions
Auth_OpenID_isOpenID1 (line 32)
void Auth_OpenID_isOpenID1 ( $ns)
  • $ns
Auth_OpenID_registerNamespaceAlias (line 81)

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 108)

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 Sat, 14 Nov 2009 11:15:53 +0000 by phpDocumentor 1.3.1