module Authlogic::ActsAsAuthentic::PerishableToken

This provides a handy token that is “perishable”. Meaning the token is only good for a certain amount of time. This is perfect for resetting password, confirming accounts, etc. Typically during these actions you send them this token in via their email. Once they use the token and do what they need to do, that token should expire. Don't worry about maintaining this, changing it, or expiring it yourself. Authlogic does all of this for you. See the sub modules for all of the tools Authlogic provides to you.

Public Class Methods

included(klass) click to toggle source
# File lib/authlogic/acts_as_authentic/perishable_token.rb, line 8
def self.included(klass)
  klass.class_eval do
    extend Config
    add_acts_as_authentic_module(Methods)
  end
end