Module: Keycloak
- Defined in:
- lib/keycloak.rb,
lib/keycloak/token.rb,
lib/keycloak/version.rb,
lib/keycloak/exceptions.rb
Defined Under Namespace
Modules: Admin, Client, Internal Classes: InstallationFileNotFound, KeycloakException, ProcCookieTokenNotDefined, ProcExternalAttributesNotDefined, Token, UserLoginNotFound
Constant Summary collapse
- KEYCLOAK_JSON_FILE =
'keycloak.json'
- VERSION =
"1.0.1"
Class Attribute Summary collapse
-
.auth_server_url ⇒ Object
Returns the value of attribute auth_server_url.
-
.generate_request_exception ⇒ Object
Returns the value of attribute generate_request_exception.
-
.installation_file ⇒ Object
Returns the value of attribute installation_file.
-
.keycloak_controller ⇒ Object
Returns the value of attribute keycloak_controller.
-
.proc_cookie_token ⇒ Object
Returns the value of attribute proc_cookie_token.
-
.proc_external_attributes ⇒ Object
Returns the value of attribute proc_external_attributes.
-
.proxy ⇒ Object
Returns the value of attribute proxy.
-
.realm ⇒ Object
Returns the value of attribute realm.
Class Method Summary collapse
Class Attribute Details
.auth_server_url ⇒ Object
Returns the value of attribute auth_server_url.
14 15 16 |
# File 'lib/keycloak.rb', line 14 def auth_server_url @auth_server_url end |
.generate_request_exception ⇒ Object
Returns the value of attribute generate_request_exception.
14 15 16 |
# File 'lib/keycloak.rb', line 14 def generate_request_exception @generate_request_exception end |
.installation_file ⇒ Object
Returns the value of attribute installation_file.
14 15 16 |
# File 'lib/keycloak.rb', line 14 def installation_file @installation_file end |
.keycloak_controller ⇒ Object
Returns the value of attribute keycloak_controller.
14 15 16 |
# File 'lib/keycloak.rb', line 14 def keycloak_controller @keycloak_controller end |
.proc_cookie_token ⇒ Object
Returns the value of attribute proc_cookie_token.
14 15 16 |
# File 'lib/keycloak.rb', line 14 def @proc_cookie_token end |
.proc_external_attributes ⇒ Object
Returns the value of attribute proc_external_attributes.
14 15 16 |
# File 'lib/keycloak.rb', line 14 def proc_external_attributes @proc_external_attributes end |
.proxy ⇒ Object
Returns the value of attribute proxy.
14 15 16 |
# File 'lib/keycloak.rb', line 14 def proxy @proxy end |
.realm ⇒ Object
Returns the value of attribute realm.
14 15 16 |
# File 'lib/keycloak.rb', line 14 def realm @realm end |
Class Method Details
.explode_exception ⇒ Object
19 20 21 22 23 24 |
# File 'lib/keycloak.rb', line 19 def self.explode_exception if Keycloak.generate_request_exception == nil Keycloak.generate_request_exception = false end Keycloak.generate_request_exception end |