Package openid :: Package test :: Module test_consumer :: Class SillyExtension
[frames] | no frames]

Class SillyExtension

source code

         object --+    
                  |    
extension.Extension --+
                      |
                     SillyExtension

Instance Methods
 
getExtensionArgs(self)
Get the string arguments that should be added to an OpenID message for this extension.
source code

Inherited from extension.Extension: toMessage

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

Class Variables
  ns_uri = 'http://silly.example.com/'
The namespace to which to add the arguments for this extension
  ns_alias = 'silly'
Properties

Inherited from object: __class__

Method Details

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
(inherited documentation)