Package openid :: Package extensions :: Module ax :: Class StoreRequest
[hide private]
[frames] | no frames]

Class StoreRequest

source code

         object --+            
                  |            
extension.Extension --+        
                      |        
              AXMessage --+    
                          |    
          AXKeyValueMessage --+
                              |
                             StoreRequest

A store request attribute exchange message representation

Instance Methods [hide private]
 
__init__(self, aliases=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getExtensionArgs(self)
Get the string arguments that should be added to an OpenID message for this extension.
source code

Inherited from AXKeyValueMessage: addValue, count, get, getSingle, parseExtensionArgs, setValues

Inherited from AXKeyValueMessage (private): _getExtensionKVArgs

Inherited from AXMessage (private): _checkMode, _newArgs

Inherited from extension.Extension: toMessage

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

Class Variables [hide private]
  mode = 'store_request'
The type of this attribute exchange message.

Inherited from AXMessage: ns_alias, ns_uri

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, aliases=None)
(Constructor)

source code 

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

Parameters:
  • aliases - The namespace aliases to use when making this store request. Leave as None to use defaults.
Overrides: object.__init__

getExtensionArgs(self)

source code 

Get the string arguments that should be added to an OpenID message for this extension.

Returns:
A dictionary of completely non-namespaced arguments to be added. For example, if the extension's alias is 'uncle', and this method returns {'meat':'Hot Rats'}, the final message will contain {'openid.uncle.meat':'Hot Rats'}
Overrides: extension.Extension.getExtensionArgs