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

Class StoreRequest

source code

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

A store request attribute exchange message representation

Instance Methods
 
__init__(self, aliases=None)
x.__init__(...) initializes x; see x.__class__.__doc__ 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 extension.Extension: toMessage

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

Class Variables
  mode = 'store_request'
The type of this attribute exchange message.

Inherited from AXMessage: ns_alias, ns_uri

Properties

Inherited from object: __class__

Method Details

__init__(self, aliases=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ 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