Module: Devise::Models::YauthToken
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/devise_yauth_token/model.rb
Overview
The TokenAuthenticatable module is responsible for generating an authentication token and validating the authenticity of the same while signing in.
This module only provides a few helpers to help you manage the token. Creating and resetting the token is your responsibility.
Configuration:
You can overwrite configuration values by setting in globally in Devise (Devise.setup
), using devise method, or overwriting the respective instance method.
token_authentication_key
- Defines name of the authentication token params key. E.g. /users/sign_in?some_key=…
Defined Under Namespace
Modules: ClassMethods