Module: SsoProvyder

Defined in:
lib/sso_provyder.rb,
app/models/sso_provyder.rb,
lib/sso_provyder/engine.rb,
lib/sso_provyder/version.rb,
app/helpers/sso_provyder/application_helper.rb,
app/controllers/sso_provyder/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper Classes: AccessGrant, ApplicationController, AuthApiController, AuthController, AuthWebController, Client, Engine, RegistrationsController

Constant Summary collapse

VERSION =
"0.1.3"

Class Method Summary collapse

Class Method Details

.authentifyd_pathObject



9
10
11
# File 'lib/sso_provyder.rb', line 9

def self.authentifyd_path
  @@authentifyd_path ||= "/aut"
end

.authentifyd_user_classObject



6
7
8
# File 'lib/sso_provyder.rb', line 6

def self.authentifyd_user_class
  @@authentifyd_user_class ||= "Authentifyd::User"
end

.configure(config = {}) ⇒ Object



32
33
34
35
36
# File 'lib/sso_provyder.rb', line 32

def self.configure(config={})
  @@authentifyd_custom_head_snippet ||= config[:authentifyd_custom_head_snippet]
  @@authentifyd_custom_bottom_snippet ||= config[:authentifyd_custom_bottom_snippet]
  @@authentifyd_top_navbar_snippet ||= config[:authentifyd_top_navbar_snippet]
end

.default_rootObject



26
27
28
# File 'lib/sso_provyder.rb', line 26

def self.default_root
  @@default_root ||= "/"
end

.pathObject



21
22
23
# File 'lib/sso_provyder.rb', line 21

def self.path
  @@path ||= "/sso"
end

.table_name_prefixObject



2
3
4
# File 'app/models/sso_provyder.rb', line 2

def self.table_name_prefix
  "sso_provyder_"
end

.timeout_inObject



16
17
18
# File 'lib/sso_provyder.rb', line 16

def self.timeout_in
  @@timeout_in ||= 1.days
end