Module Authlogic::ActsAsAuthentic::SessionMaintenance::Config
In: lib/authlogic/acts_as_authentic/session_maintenance.rb

Methods

Public Instance methods

This is more of a convenience method. In order to turn off automatic maintenance of sessions just set this to false, or you can also set the session_ids method to a blank array. Both accomplish the same thing. This method is a little clearer in it‘s intentions though.

  • Default: true
  • Accepts: Boolean
maintain_sessions=(value = nil)

Alias for maintain_sessions

The name of the associated session class. This is inferred by the name of the model.

  • Default: "#{klass.name}Session".constantize
  • Accepts: Class
session_class=(value = nil)

Alias for session_class

As you may know, authlogic sessions can be separate by id (See Authlogic::Session::Base#id). You can specify here what session ids you want auto maintained. By default it is the main session, which has an id of nil.

  • Default: [nil]
  • Accepts: Array
session_ids=(value = nil)

Alias for session_ids

[Validate]