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, endpoint, signed_args)
  extensionResponse(self, prefix)
extract signed extension data from the server's response.
  fromQuery(cls, endpoint, 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
OpenIDServiceEndpoint endpoint: The endpoint that authenticated the identifier.
  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

endpoint

The endpoint that authenticated the identifier. You may access other discovered information related to this endpoint, such as the CanonicalID of an XRI, through this object.
Type:
OpenIDServiceEndpoint

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 Fri Dec 14 11:14:09 2007 http://epydoc.sf.net