elasticsearch-api/lib/elasticsearch/api/actions/security/oidc_logout.rb
# Invalidates a refresh token and access token that was generated from the OpenID Connect Authenticate API
#
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body Access token and refresh token to invalidate (*Required*)
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-oidc-logout.html
#
Invalidates a refresh token and access token that was generated from the OpenID Connect Authenticate API
Invalidates a refresh token and access token that was generated from the OpenID Connect Authenticate API
def oidc_logout(arguments = {})
          raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
          arguments = arguments.clone
          headers = arguments.delete(:headers) || {}
          body   = arguments.delete(:body)
          method = Elasticsearch::API::HTTP_POST
          path   = "_security/oidc/logout"
          params = {}
          Elasticsearch::API::Response.new(
            perform_request(method, path, params, body, headers)
          )
        end
def oidc_logout ( arguments = { } ) raise ArgumentError , "Required argument 'body' missing" unless arguments [ :body ] arguments = arguments . clone headers = arguments . delete ( :headers ) || { } body = arguments . delete ( :body ) method = Elasticsearch :: API :: HTTP_POST path = "_security/oidc/logout" params = { } Elasticsearch :: API :: Response . new ( perform_request ( method , path , params , body , headers ) ) end
Invalidates a refresh token and access token that was generated from the OpenID Connect Authenticate API
Invalidates a refresh token and access token that was generated from the OpenID Connect Authenticate API
arguments
:body Access token and refresh token to invalidate (*Required*)
: body Access token and refresh token to invalidate ( * Required * )
see
None