Module: Keycloak::Base
- Included in:
- Keycloak
- Defined in:
- lib/keycloak.rb
Instance Method Summary collapse
- #config ⇒ Object
- #proc_cookie_token ⇒ Object
- #proc_cookie_token=(value) ⇒ Object
- #proc_external_attributes ⇒ Object
- #proc_external_attributes=(value) ⇒ Object
Instance Method Details
#config ⇒ Object
24 25 26 |
# File 'lib/keycloak.rb', line 24 def config Thread.current[:keycloak_config] ||= Keycloak::Config.new end |
#proc_cookie_token ⇒ Object
28 29 30 |
# File 'lib/keycloak.rb', line 28 def config. end |
#proc_cookie_token=(value) ⇒ Object
32 33 34 |
# File 'lib/keycloak.rb', line 32 def (value) config. = value end |
#proc_external_attributes ⇒ Object
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 |