Module: Keycloak::Concerns::APIUtil

Extended by:
ActiveSupport::Concern
Included in:
API::ClientResources, API::ClientRoleResources, API::KeycloakAPIExtensionResources, API::ProtectionResources, API::RealmResources, API::RoleResources, API::UserResources
Defined in:
lib/keycloak/concerns/api_util.rb

Instance Method Summary collapse

Instance Method Details

#admin_realm_urlObject

Raises:

  • (NotImplementedError)


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

def admin_realm_url
  raise NotImplementedError
end

#delete(url, headers: {}, payload: nil, try_refresh_token: true) ⇒ Object

Raises:

  • (NotImplementedError)


22
23
24
# File 'lib/keycloak/concerns/api_util.rb', line 22

def delete(url, headers: {}, payload: nil, try_refresh_token: true)
  raise NotImplementedError
end

#get(url, headers: {}, params: {}, try_refresh_token: true) ⇒ Object

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/keycloak/concerns/api_util.rb', line 18

def get(url, headers: {}, params: {}, try_refresh_token: true)
  raise NotImplementedError
end

#post(url, payload, headers: {}, try_refresh_token: true) ⇒ Object

Raises:

  • (NotImplementedError)


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

def post(url, payload, headers: {}, try_refresh_token: true)
  raise NotImplementedError
end

#put(url, payload, headers: {}, try_refresh_token: true) ⇒ Object

Raises:

  • (NotImplementedError)


26
27
28
# File 'lib/keycloak/concerns/api_util.rb', line 26

def put(url, payload, headers: {}, try_refresh_token: true)
  raise NotImplementedError
end

#realm_urlObject

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/keycloak/concerns/api_util.rb', line 6

def realm_url
  raise NotImplementedError
end