Class SamlLogoutRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.SamlLogoutRequest
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class SamlLogoutRequest
extends RequestBase
implements JsonpSerializable
Submits a request to invalidate an access token and refresh token.
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static SamlLogoutRequest of​(java.util.function.Function<SamlLogoutRequest.Builder,​ObjectBuilder<SamlLogoutRequest>> fn)
    • refreshToken

      @Nullable public final java.lang.String refreshToken()
      The refresh token that was returned as a response to calling the SAML authenticate API. Alternatively, the most recent refresh token that was received after refreshing the original access token.

      API name: refresh_token

    • token

      public final java.lang.String token()
      Required - The access token that was returned as a response to calling the SAML authenticate API. Alternatively, the most recent token that was received after refreshing the original one by using a refresh_token.

      API name: token

    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupSamlLogoutRequestDeserializer

      protected static void setupSamlLogoutRequestDeserializer​(ObjectDeserializer<SamlLogoutRequest.Builder> op)