module Authentifyd

Constants

VERSION

Public Class Methods

devise_config() click to toggle source
# File lib/authentifyd.rb, line 20
def self.devise_config
  (@@devise_config || {}).reverse_merge({
    :registrations_controller   => 'authentifyd/registrations',
    :sessions_controller        => 'authentifyd/sessions',
    :confirmations_controller   => 'authentifyd/confirmations',
    :passwords_controller       => 'authentifyd/passwords',
    :unlocks_controller         => 'authentifyd/unlocks'
  })
end
embeddable_callback_path(_path) click to toggle source
# File lib/authentifyd.rb, line 34
def self.embeddable_callback_path(_path)
  (Authentifyd.path_prefix ?  "#{Authentifyd.path_prefix}/" : '') + Authentifyd.mount_path + _path
end
mount_path() click to toggle source
# File lib/authentifyd.rb, line 30
def self.mount_path
  @@mount_path ||= "/"
end
setup() { |self| ... } click to toggle source
# File lib/authentifyd.rb, line 38
def self.setup
  yield self
end