Home | Trees | Indices | Help |
|
---|
|
object --+ | OpenIDRequest --+ | CheckIDRequest
A request to confirm the identity of a user.
This class handles requests for openid modes checkid_immediate
and checkid_setup
.
Instance Methods | |||
|
|||
bool |
|
||
bool |
|
||
bool |
|
||
OpenIDResponse |
|
||
str |
|
||
str |
|
||
|
|||
Inherited from |
Class Methods | |||
CheckIDRequest |
|
Class Variables | |
str |
mode the openid.mode of this request.
|
Instance Variables | |
str |
assoc_handle Provided in smart mode requests, a handle for a previously established association. |
str |
claimed_id The claimed identifier. |
str |
identity The OP-local identifier 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. |
Properties | |
namespace | |
Inherited from |
Method Details |
Construct me. These parameters are assigned directly as class attributes, see my class documentation for their descriptions.
|
Construct me from an OpenID message.
|
Does the relying party publish the return_to URL for this response under the realm? It is up to the provider to set a policy for what kinds of realms should be allowed. This return_to URL verification reduces vulnerability to data-theft attacks based on open proxies, cross-site-scripting, or open redirectors. This check should only be performed after making sure that the return_to URL matches the realm.
See Also: trustRootValid Since: 2.1.0 |
Respond to this request.
Change Log:
Version 2.0 deprecates |
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
|
repr(x)
|
Instance Variable Details |
assoc_handleProvided in smart mode requests, a handle for a previously established association.None for dumb mode requests.
|
claimed_idThe claimed identifier. Not present in OpenID 1.x messages.
|
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. Referred to as
"realm" in OpenID 2.0.
|
Property Details |
namespace
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jul 29 15:11:28 2010 | http://epydoc.sourceforge.net |