Home | Trees | Indices | Help |
|
---|
|
object --+ | Consumer
An OpenID consumer implementation that performs discovery and does session management.
Instance Methods | |||
|
|||
AuthRequest |
|
||
AuthRequest |
|
||
|
|||
|
|||
Inherited from |
Class Variables | |
session_key_prefix =
A string that is prepended to session keys to ensure that they are unique. |
Instance Variables | |
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. |
Properties | |
Inherited from |
Method Details |
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.
|
Set the order in which association types/sessions should be attempted. For instance, to only allow HMAC-SHA256 associations created with a DH-SHA256 association session: >>> consumer.setAssociationPreference([('HMAC-SHA256', 'DH-SHA256')]) Any association type/association type pair that is not in this list will not be attempted at all.
See Also:
|
Class Variable Details |
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.
|
Instance Variable Details |
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.0.1 on Thu Jul 29 15:11:27 2010 | http://epydoc.sourceforge.net |