Package openid :: Package test :: Module test_ax :: Class BogusAXMessage
[frames] | no frames]

Class BogusAXMessage

source code

         object --+        
                  |        
extension.Extension --+    
                      |    
extensions.ax.AXMessage --+
                          |
                         BogusAXMessage

Instance Methods
 
getExtensionArgs(self)
Return a set of attribute exchange arguments containing the basic information that must be in every attribute exchange message.
source code

Inherited from extension.Extension: toMessage

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

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

Inherited from extensions.ax.AXMessage: ns_alias, ns_uri

Properties

Inherited from object: __class__

Method Details

getExtensionArgs(self)

source code 

Return a set of attribute exchange arguments containing the basic information that must be in every attribute exchange message.

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