Class HTTPAuth::Digest::Session
In: lib/httpauth/digest.rb
Parent: Object

Session is a file-based session implementation for storing details about the Digest authentication session between requests.

Methods

filename   load   new   save  

Attributes

opaque  [RW] 
options  [RW] 

Public Class methods

Initializes the new Session object.

  • opaque - A string to identify the session. This would normally be the opaque sent by the client, but it could also be an identifier sent through a different mechanism.
  • options - Additional options
    • :tmpdir A tempory directory for storing the session data. Dir::tmpdir is the default.

Public Instance methods

Returns the data from this session

Associates the new data to the session and removes the old

Protected Instance methods

The filename from which the session will be saved and read from

[Validate]