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

Class StoreResponse

source code

         object --+        
                  |        
extension.Extension --+    
                      |    
              AXMessage --+
                          |
                         StoreResponse

An indication that the store request was processed along with this OpenID transaction.

Instance Methods
 
__init__(self, succeeded=True, error_message=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
succeeded(self)
Was this response a success response?
source code
 
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__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables
  SUCCESS_MODE = 'store_response_success'
  FAILURE_MODE = 'store_response_failure'

Inherited from AXMessage: mode, ns_alias, ns_uri

Properties

Inherited from object: __class__

Method Details

__init__(self, succeeded=True, error_message=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

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

See Also: {Extension.getExtensionArgs<openid.extension.Extension.getExtensionArgs>}