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

Class BogusAXMessage

source code

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

Instance Methods [hide private]
 
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 extensions.ax.AXMessage (private): _checkMode, _newArgs

Inherited from extension.Extension: toMessage

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

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

Inherited from extensions.ax.AXMessage: ns_alias, ns_uri

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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