Home | Trees | Indices | Help |
|
---|
|
object --+ | Consumer
|
|||
__init__(self,
session,
store) Initialize a Consumer instance. |
|||
AuthRequest |
begin(self,
user_url) Start the OpenID authentication process. |
||
AuthRequest |
beginWithoutDiscovery(self,
service) Start OpenID verification without doing OpenID server discovery. |
||
complete(self,
query) Called to interpret the server's response to an OpenID request. |
|||
Inherited from |
|
|||
session_key_prefix = '_openid_consumer_' A string that is prepended to session keys to ensure that they are unique. |
|
|||
GenericConsumer |
consumer an instance of an object implementing the OpenID protocol, but doing no discovery or session management. |
||
session A dictionary-like object representing the user's session data. |
|
|||
Inherited from |
|
Initialize a Consumer instance. You should create a new instance of the Consumer object with every HTTP request that handles OpenID transactions.
|
Start the OpenID authentication process. See steps 1-2 in the overview at the top of this file.
|
Start OpenID verification without doing OpenID server discovery. This method is used internally by Consumer.begin after discovery is performed, and exists to provide an interface for library users needing to perform their own discovery.
|
Called to interpret the server's response to an OpenID request. It is called in step 4 of the flow described in the consumer overview.
|
|
session_key_prefixA string that is prepended to session keys to ensure that they are unique. This variable may be changed to suit your application.
|
|
consumeran instance of an object implementing the OpenID protocol, but doing no discovery or session management.
|
sessionA dictionary-like object representing the user's session data. This is used for keeping state of the OpenID transaction when the user is redirected to the server. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Dec 8 13:26:20 2006 | http://epydoc.sourceforge.net |