| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
Discovery
State management for discovery.
High-level usage pattern is to call .getNextService(discover) in order to find the next available service for this user for this session. Once a request completes, call .finish() to clean up the session state.
|
|||
|
|||
|
|||
|
|||
| str |
|
||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
DEFAULT_SUFFIX =
|
|||
PREFIX =
|
|||
|
|||
|
session a dict-like object that stores state unique to the requesting user-agent. |
|||
|
session_key_suffix The suffix that will be used to identify this object in the session object. |
|||
|
url the URL that is used to make the discovery request |
|||
|
|||
|
Inherited from |
|||
|
|||
Initialize a discovery object
|
Return the next authentication service for the pair of user_input and session. This function handles fallback.
|
Clean up Yadis-related services in the session and return the most-recently-attempted service from the manager, if one exists.
|
Get the session key for this starting URL and suffix
|
Extract the YadisServiceManager for this object's URL and suffix from the session.
|
Create a new YadisService Manager for this starting URL and suffix, and store it in the session.
|
Delete any YadisServiceManager with this starting URL and suffix from the session. If there is no service manager or the service manager is for a different URL, it silently does nothing.
|
|
|||
sessiona dict-like object that stores state unique to the requesting user-agent. This object must be able to store serializable objects. |
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sat Dec 17 16:12:40 2011 | http://epydoc.sourceforge.net |