Home | Trees | Indices | Help |
|
---|
|
object --+ | OpenIDStore
Change Log:
Version 2.0 removed the storeNonce
,
getAuthKey
, and isDumb
methods, and changed
the behavior of the useNonce
method to support one-way nonces. It
added cleanupNonces
, cleanupAssociations
, and cleanup
.
|
|||
NoneType
|
storeAssociation(self,
server_url,
association) This method puts a Association object into storage, retrievable
by server URL and handle.
|
||
Association or NoneType
|
getAssociation(self,
server_url,
handle=None) This method returns an Association object from storage that matches
the server URL and, if specified, handle.
|
||
bool or int
|
removeAssociation(self,
server_url,
handle) This method removes the matching association if it's found, and returns whether the association was removed or not. |
||
bool
|
useNonce(self,
server_url,
timestamp,
salt) Called when using a nonce. |
||
int |
cleanupNonces(self) Remove expired nonces from the store. |
||
int |
cleanupAssociations(self) Remove expired associations from the store. |
||
cleanup(self) Shortcut for cleanupNonces() , cleanupAssociations() .
|
|||
Inherited from |
|
|||
Inherited from |
|
This method puts a Association object into storage, retrievable by
server URL and handle.
|
This method returns an If no handle is specified, the store may return any association which matches the server URL. If multiple associations are valid, the recommended return value for this method is the one most recently issued. This method is allowed (and encouraged) to garbage collect expired associations when found. This method must not return expired associations.
|
This method removes the matching association if it's found, and returns whether the association was removed or not.
|
Called when using a nonce. This method should return
|
Remove expired nonces from the store. Discards any nonce from storage that is old enough that its timestamp would not pass useNonce. This method is not called in the normal operation of the library. It provides a way for store admins to keep their storage from filling up with expired data.
|
Remove expired associations from the store. This method is not called in the normal operation of the library. It provides a way for store admins to keep their storage from filling up with expired data.
|
Shortcut for |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri May 11 15:30:20 2007 | http://epydoc.sourceforge.net |