Module: Keycloak::Base

Included in:
Keycloak
Defined in:
lib/keycloak.rb

Instance Method Summary collapse

Instance Method Details

#configObject



24
25
26
# File 'lib/keycloak.rb', line 24

def config
  Thread.current[:keycloak_config] ||= Keycloak::Config.new
end


28
29
30
# File 'lib/keycloak.rb', line 28

def proc_cookie_token
  config.proc_cookie_token
end


32
33
34
# File 'lib/keycloak.rb', line 32

def proc_cookie_token=(value)
  config.proc_cookie_token = value
end

#proc_external_attributesObject



36
37
38
# File 'lib/keycloak.rb', line 36

def proc_external_attributes
  config.proc_external_attributes
end

#proc_external_attributes=(value) ⇒ Object



40
41
42
# File 'lib/keycloak.rb', line 40

def proc_external_attributes=(value)
  config.proc_external_attributes = value
end