Package openid :: Package extensions :: Package draft :: Module pape5 :: Class PAPEExtension
[hide private]
[frames] | no frames]

Class PAPEExtension

source code

         object --+    
                  |    
extension.Extension --+
                      |
                     PAPEExtension
Known Subclasses:

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_addAuthLevelAlias(self, auth_level_uri, alias=None)
Add an auth level URI alias to this request.
source code
 
_generateAlias(self)
Return an unused auth level alias
source code
 
_getAlias(self, auth_level_uri)
Return the alias for the specified auth level URI.
source code

Inherited from extension.Extension: getExtensionArgs, toMessage

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _default_auth_level_aliases = {'jisa': 'http://www.jisa.or.jp/...

Inherited from extension.Extension: ns_alias

Instance Variables [hide private]

Inherited from extension.Extension: ns_uri

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

_addAuthLevelAlias(self, auth_level_uri, alias=None)

source code 

Add an auth level URI alias to this request.

Parameters:
  • auth_level_uri - The auth level URI to send in the request.
  • alias - The namespace alias to use for this auth level in this message. May be None if the alias is not important.

_getAlias(self, auth_level_uri)

source code 

Return the alias for the specified auth level URI.

Raises:
  • KeyError - if no alias is defined

Class Variable Details [hide private]

_default_auth_level_aliases

Value:
{'jisa': 'http://www.jisa.or.jp/spec/auth_level.html',
 'nist': 'http://csrc.nist.gov/publications/nistpubs/800-63/SP800-63V1\
_0_2.pdf'}