module Authlogic::ActsAsAuthentic::SingleAccessToken::Config

All configuration for the single_access token aspect of acts_as_authentic.

Public Instance Methods

change_single_access_token_with_password(value = nil) click to toggle source

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

# File lib/authlogic/acts_as_authentic/single_access_token.rb, line 22
def change_single_access_token_with_password(value = nil)
  rw_config(:change_single_access_token_with_password, value, false)
end
change_single_access_token_with_password=(value = nil)