Package openid :: Module message
[frames] | no frames]

Module message

source code

Extension argument processing code

Classes
  Message
In the implementation of this object, None represents the global namespace as well as a namespace with no key.
  NamespaceMap
Maintains a bijective map between namespace uris and aliases.
Functions
 
registerNamespaceAlias(namespace_uri, alias)
Registers a (namespace URI, alias) mapping in a global namespace alias map.
source code
Variables
  IDENTIFIER_SELECT = 'http://specs.openid.net/auth/2.0/identifi...
  SREG_URI = 'http://openid.net/sreg/1.0'
  OPENID1_NS = 'http://openid.net/signon/1.0'
  OPENID2_NS = 'http://specs.openid.net/auth/2.0'
  OPENID_NS = <Symbol OpenID namespace>
  BARE_NS = <Symbol Bare namespace>
  no_default = object()
Function Details

registerNamespaceAlias(namespace_uri, alias)

source code 

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.


Variables Details

IDENTIFIER_SELECT

Value:
'http://specs.openid.net/auth/2.0/identifier_select'