module Authlogic::ActsAsAuthentic::SingleAccessToken::Config
All configuration for the single_access token aspect of acts_as_authentic.
These methods become class methods of ::ActiveRecord::Base.
Public Instance Methods
Source
# File lib/authlogic/acts_as_authentic/single_access_token.rb, line 27 def change_single_access_token_with_password(value = nil) rw_config(:change_single_access_token_with_password, value, false) end
The single access token is used for authentication via URLs, such as a private feed. That being said, if the user changes their password, that token probably shouldn’t change. If it did, the user would have to update all of their URLs. So be default this is option is disabled, if you need it, feel free to turn it on.
-
Default:
false -
Accepts:
Boolean
Also aliased as: change_single_access_token_with_password=