Class: KeycloakOauth::LogoutService

Inherits:
AuthorizableService show all
Defined in:
app/services/keycloak_oauth/logout_service.rb

Constant Summary

Constants inherited from AuthorizableService

AuthorizableService::AUTHORIZATION_HEADER, AuthorizableService::CONTENT_TYPE_JSON, AuthorizableService::CONTENT_TYPE_X_WWW_FORM_URLENCODED, AuthorizableService::HTTP_SUCCESS_CODES

Instance Attribute Summary

Attributes inherited from AuthorizableService

#http_response, #parsed_response_body

Instance Method Summary collapse

Methods inherited from AuthorizableService

#perform, uri_with_supported_query_params

Constructor Details

#initialize(session) ⇒ LogoutService

Returns a new instance of LogoutService.



5
6
7
# File 'app/services/keycloak_oauth/logout_service.rb', line 5

def initialize(session)
  @session = session
end

Instance Method Details

#send_requestObject



9
10
11
# File 'app/services/keycloak_oauth/logout_service.rb', line 9

def send_request
  post_logout
end