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

Class Method Summary collapse

Class Attribute Details

.auth_server_urlObject

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_exceptionObject

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_fileObject

Returns the value of attribute installation_file.



14
15
16
# File 'lib/keycloak.rb', line 14

def installation_file
  @installation_file
end

.keycloak_controllerObject

Returns the value of attribute keycloak_controller.



14
15
16
# File 'lib/keycloak.rb', line 14

def keycloak_controller
  @keycloak_controller
end

Returns the value of attribute proc_cookie_token.



14
15
16
# File 'lib/keycloak.rb', line 14

def proc_cookie_token
  @proc_cookie_token
end

.proc_external_attributesObject

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

.proxyObject

Returns the value of attribute proxy.



14
15
16
# File 'lib/keycloak.rb', line 14

def proxy
  @proxy
end

.realmObject

Returns the value of attribute realm.



14
15
16
# File 'lib/keycloak.rb', line 14

def realm
  @realm
end

Class Method Details

.explode_exceptionObject



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