module Devise::TokenAuthenticatable
Constants
- VERSION
Public Class Methods
setup() { |self| ... }
click to toggle source
Enable the configuration of the TokenAuthenticatable
strategy with a block:
Devise::TokenAuthenticatable.setup do |config| config.token_authentication_key = :other_key end
# File lib/devise/token_authenticatable.rb, line 29 def self.setup yield self end