Class OpenID::Store::Filesystem
In: lib/openid/store/filesystem.rb
Parent: Interface


Public Class methods

Create a Filesystem store instance, putting all data in directory.

Public Instance methods

Remove expired entries from the database. This is potentially expensive, so only run when it is acceptable to take time.

Create a unique filename for a given server url and handle. The filename that is returned will contain the domain name from the server URL for ease of human inspection of the data dir.

Remove an association if it exists, otherwise do nothing.

Store an association in the assoc directory

Return whether the nonce is valid

Protected Instance methods

ensure that a path exists

create a safe filename from a url

Create a temporary file and return the File object and filename.

remove file if present in filesystem