Package openid :: Module extension :: Class Extension
[frames] | no frames]

Class Extension

source code

object --+
         |
        Extension
Known Subclasses:
sreg.SRegRequest, sreg.SRegResponse

An interface for OpenID extensions.

Instance Methods [hide private]
  getExtensionArgs(self)
Get the string arguments that should be added to an OpenID message for this extension.
  toMessage(self, message=None)
Add the arguments from this extension to the provided message, or create a new message containing only those arguments.

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


Class Variables [hide private]
  ns_alias = None

Instance Variables [hide private]
  ns_uri = None
The namespace to which to add the arguments for this extension

Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

getExtensionArgs(self)

source code 

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

toMessage(self, message=None)

source code 

Add the arguments from this extension to the provided message, or create a new message containing only those arguments.
Returns:
The message with the extension arguments added

Class Variable Details [hide private]

ns_alias

Value:
None                                                                  
      

Instance Variable Details [hide private]

ns_uri


The namespace to which to add the arguments for this extension
Value:
None