Home | Trees | Indices | Help |
|
---|
|
object --+ | OpenIDStore
This is the interface for the store objects the OpenID library uses. It is a single class that provides all of the persistence mechanisms that the OpenID library needs, for both servers and consumers.
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
.
Instance Methods | |||
NoneType
|
|
||
Association or NoneType
|
|
||
bool or int
|
|
||
bool
|
|
||
|
|||
int |
|
||
int |
|
||
Inherited from |
Properties | |
Inherited from |
Method Details |
This method puts a
|
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 You may use openid.store.nonce.SKEW for your timestamp window.
Change Log:
In earlier versions, round-trip nonces were used and a nonce was only
valid if it had been previously stored with |
Shortcut for 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.
|
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.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jul 29 15:11:28 2010 | http://epydoc.sourceforge.net |