Module Authlogic::ActsAsAuthentic::PerishableToken::Config
In: lib/authlogic/acts_as_authentic/perishable_token.rb

Change how the perishable token works.

Methods

Public Instance methods

Authlogic tries to expire and change the perishable token as much as possible, without comprising it‘s purpose. This is for security reasons. If you want to manage it yourself, you can stop Authlogic from getting your in way by setting this to true.

  • Default: false
  • Accepts: Boolean
disable_perishable_token_maintenance=(value = nil)

When using the find_using_perishable_token method the token can expire. If the token is expired, no record will be returned. Use this option to specify how long the token is valid for.

  • Default: 10.minutes
  • Accepts: Fixnum
perishable_token_valid_for=(value = nil)

[Validate]