Class OpenID::Store
In: lib/openid/stores.rb
Parent: Object

Interface for the abstract Store

Methods

Public Instance methods

Method return true if the store is dumb-mode-style store.

Returns a Association object from storage that matches the server_url. Returns nil if no such association is found or if the one matching association is expired. (Is allowed to GC expired associations when found.)

Returns a 20-byte auth key used to sign the tokens, to ensure that they haven‘t been tampered with in transit. It must return the same key every time it is called.

If there is a matching association, remove it from the store and return true, otherwise return false.

Stores a nonce (which is passed in as a string).

If the nonce is in the store, remove it and return true. Otherwise return false.

[Validate]