Home | Trees | Indices | Help |
|
---|
|
object --+ | OpenIDRequest --+ | CheckIDRequest
A request to confirm the identity of a user.
This class handles requests for openid modescheckid_immediate
and checkid_setup
.
|
|||
__init__(self,
identity,
return_to,
trust_root=None,
immediate=False,
assoc_handle=None) Construct me. |
|||
bool |
trustRootValid(self) Is my return_to under my trust_root? |
||
OpenIDResponse |
answer(self,
allow,
server_url=None) Respond to this request. |
||
str |
encodeToURL(self,
server_url) Encode this request as a URL to GET. |
||
str |
getCancelURL(self) Get the URL to cancel this request. |
||
__str__(self) str(x) |
|||
Inherited from |
|
|||
CheckIDRequest |
fromQuery(klass,
query) Construct me from a web query. |
|
|||
str |
mode the openid.mode of this request.
|
|
|||
str |
assoc_handle Provided in smart mode requests, a handle for a previously established association. |
||
str |
identity The identity URL being checked. |
||
bool |
immediate Is this an immediate-mode request? |
||
str |
return_to The URL to send the user agent back to to reply to this request. |
||
str |
trust_root "Are you Frank?" asks the checkid request. |
|
|||
Inherited from |
|
Construct me. These parameters are assigned directly as class attributes, see my class documentation for their descriptions.
|
Construct me from a web query.
|
Is my return_to under my trust_root?
|
Respond to this request.
|
Encode this request as a URL to GET.
|
Get the URL to cancel this request. Useful for creating a "Cancel" button on a web form so that operation can be carried out directly without another trip through the server. (Except you probably want to make another trip through the server so that it knows that the user did make a decision. Or you could simulate this method by doing.answer(False).encodeToURL() )
|
str(x)
|
|
|
assoc_handleProvided in smart mode requests, a handle for a previously established association. None for dumb mode requests.
|
identityThe identity URL being checked.
|
immediateIs this an immediate-mode request?
|
return_toThe URL to send the user agent back to to reply to this request.
|
trust_root"Are you Frank?" asks the checkid request. "Who wants to know?" trust_root , that's who. This URL identifies
the party making the request, and the user will use that to make her
decision about what answer she trusts them to have.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Dec 8 13:26:20 2006 | http://epydoc.sourceforge.net |