This is a store for use in the worst case, when you have no way of
saving state on the consumer site. Using this store makes the consumer
vulnerable to replay attacks (though only within the lifespan of the
tokens), as it's unable to use nonces. Avoid using this store if it is at
all possible.
Most of the methods of this class are implementation details. Users of
this class need to worry only about the
| Method Summary |
| |
__init__(self,
secret_phrase)
Creates a new DumbStore instance. |
None
|
getAssociation(self,
server_url,
handle)
This implementation always returns None. |
str
|
getAuthKey(self)
This method returns the auth key generated by the constructor. |
bool
|
isDumb(self)
This store is a dumb mode store, so this method is overridden to
return True. |
bool
|
removeAssociation(self,
server_url,
handle)
This implementation always returns False. |
| |
storeAssociation(self,
server_url,
association)
This implementation does nothing. |
| |
storeNonce(self,
nonce)
This implementation does nothing. |
bool
|
useNonce(self,
nonce)
In a system truly limited to dumb mode, nonces must all be
accepted. |
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|