Sha256: 43a4d4d051c6c55a0e7c1a0574a2d8bf696850720b47d9380e09193d09e3856a
Contents?: true
Size: 621 Bytes
Versions: 7
Compression:
Stored size: 621 Bytes
Contents
require "tiddle/version" require "tiddle/model" require "tiddle/strategy" require "tiddle/rails" require "tiddle/token_issuer" module Tiddle def self.create_and_return_token(resource, request) TokenIssuer.build.create_and_return_token(resource, request) end def self.expire_token(resource, request) TokenIssuer.build.expire_token(resource, request) end def self.purge_old_tokens(resource) TokenIssuer.build.purge_old_tokens(resource) end end Devise.add_module :token_authenticatable, model: 'tiddle/model', strategy: true, no_input: true
Version data entries
7 entries across 7 versions & 1 rubygems