| 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.
| Instance Methods | |||
|
|||
|
|||
|
|||
| str |
|
||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Class Variables | |
DEFAULT_SUFFIX =
|
|
PREFIX =
|
|
| Instance Variables | |
|
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 |
|
| Properties | |
|
Inherited from |
| Method Details |
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.
|
| Instance Variable Details |
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 Fri Mar 5 11:53:12 2021 | http://epydoc.sourceforge.net |