module Agilib::TokenAuthenticationHandler::ClassMethods
Public Instance Methods
agilib_token_authenticatable(options = {})
click to toggle source
# File lib/agilib/token_authenticatable/token_authentication_handler.rb, line 65 def agilib_token_authenticatable(options = {}) include Agilib::TokenAuthenticationHandlerMethods if Agilib.use_modules[:token_authenticatable].present? unless Agilib.use_modules[:token_authenticatable].present? # puts "Para usar a autenticacao por token, precisa ativar na configuracao: use_token_authenticatable = true" end end