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
- #admin_realm_url ⇒ Object
- #delete(url, headers: {}, payload: nil, try_refresh_token: true) ⇒ Object
- #get(url, headers: {}, params: {}, try_refresh_token: true) ⇒ Object
- #post(url, payload, headers: {}, try_refresh_token: true) ⇒ Object
- #put(url, payload, headers: {}, try_refresh_token: true) ⇒ Object
- #realm_url ⇒ Object
Instance Method Details
#admin_realm_url ⇒ Object
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
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
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
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
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_url ⇒ Object
6 7 8 |
# File 'lib/keycloak/concerns/api_util.rb', line 6 def realm_url raise NotImplementedError end |