Module: Keycloak

Defined in:
lib/keycloak.rb,
lib/keycloak/version.rb,
lib/keycloak/exceptions.rb

Defined Under Namespace

Modules: Admin, Client, Internal Classes: KeycloakException, ProcCookieTokenNotDefined, ProcExternalAttributesNotDefined, UserLoginNotFound

Constant Summary collapse

VERSION =
"2.2.8"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.generate_request_exceptionObject

Returns the value of attribute generate_request_exception.



10
11
12
# File 'lib/keycloak.rb', line 10

def generate_request_exception
  @generate_request_exception
end

.keycloak_controllerObject

Returns the value of attribute keycloak_controller.



10
11
12
# File 'lib/keycloak.rb', line 10

def keycloak_controller
  @keycloak_controller
end

Returns the value of attribute proc_cookie_token.



10
11
12
# File 'lib/keycloak.rb', line 10

def proc_cookie_token
  @proc_cookie_token
end

.proc_external_attributesObject

Returns the value of attribute proc_external_attributes.



10
11
12
# File 'lib/keycloak.rb', line 10

def proc_external_attributes
  @proc_external_attributes
end

.proxyObject

Returns the value of attribute proxy.



10
11
12
# File 'lib/keycloak.rb', line 10

def proxy
  @proxy
end

Class Method Details

.explode_exceptionObject



15
16
17
18
19
20
# File 'lib/keycloak.rb', line 15

def self.explode_exception
  if Keycloak.generate_request_exception == nil
    Keycloak.generate_request_exception = true
  end
  Keycloak.generate_request_exception
end