Module: Authlogic::ActsAsAuthentic::SingleAccessToken::Config
- Defined in:
- lib/authlogic/acts_as_authentic/single_access_token.rb
Overview
All configuration for the single_access token aspect of acts_as_authentic.
These methods become class methods of ::ActiveRecord::Base.
Instance Method Summary collapse
-
#change_single_access_token_with_password(value = nil) ⇒ Object
(also: #change_single_access_token_with_password=)
The single access token is used for authentication via URLs, such as a private feed.
Instance Method Details
#change_single_access_token_with_password(value = nil) ⇒ Object Also known as: change_single_access_token_with_password=
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
27 28 29 |
# 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 |