Home | Trees | Index | Help |
|
---|
Package openid :: Package store :: Module interface :: Class OpenIDStore |
|
object
--+
|
OpenIDStore
FileOpenIDStore
,
SQLStore
Method Summary | |
---|---|
NoneType
|
This method puts a object into storage,
retrievable by server URL and handle. |
or
NoneType
|
This method returns an object from storage that
matches the server URL and, if specified, handle. |
bool or int
|
This method removes the matching association if it's found, and returns whether the association was removed or not. |
bool
|
Called when using a nonce. |
Shortcut for , . | |
int |
Remove expired associations from the store. |
int |
Remove expired nonces from the store. |
Inherited from object :
__init__ ,
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Method Details |
---|
storeAssociation(self, server_url, association)This method puts a object into storage,
retrievable by server URL and handle.
|
getAssociation(self, server_url, handle=None)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.
|
removeAssociation(self, server_url, handle)This method removes the matching association if it's found, and returns whether the association was removed or not.
|
useNonce(self, server_url, timestamp, salt)Called when using a nonce. This method should return openid.store.nonce.SKEW for your timestamp
window.
|
cleanup(self)Shortcut for |
cleanupAssociations(self)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.
|
cleanupNonces(self)Remove expired nonces from the store. Discards any nonce from storage that is old enough that its
timestamp would not pass
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 27 15:48:22 2008 | http://epydoc.sf.net |