Package openid :: Package consumer :: Module consumer :: Class SuccessResponse
[frames | no frames]

Type SuccessResponse

object --+    
         |    
  Response --+
             |
            SuccessResponse


A response with a status of SUCCESS. Indicates that this request is a successful acknowledgement from the OpenID server that the supplied URL is, indeed controlled by the requesting agent.
Method Summary
  __init__(self, identity_url, signed_args)
  extensionResponse(self, prefix)
extract signed extension data from the server's response.
  fromQuery(cls, identity_url, query, signed)
(Class method)
str getReturnTo(self)
Get the openid.return_to argument from this response.
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Instance Variable Summary
  identity_url: The identity URL that has been authenticated
  signed_args: The arguments in the server's response that were signed and verified.

Class Variable Summary
str status: SUCCESS

Instance Method Details

extensionResponse(self, prefix)

extract signed extension data from the server's response.
Parameters:
prefix - The extension namespace from which to extract the extension data.

getReturnTo(self)

Get the openid.return_to argument from this response.

This is useful for verifying that this request was initiated by this consumer.
Returns:
The return_to URL supplied to the server on the initial request, or None if the response did not contain an openid.return_to argument.
           (type=str)

Instance Variable Details

identity_url

The identity URL that has been authenticated

signed_args

The arguments in the server's response that were signed and verified.

Class Variable Details

status

SUCCESS
Type:
str
Value:
'success'                                                              

Generated by Epydoc 2.1 on Thu May 11 15:16:14 2006 http://epydoc.sf.net