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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSamlLogoutRequest.BuilderBuilder forSamlLogoutRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SamlLogoutRequest>_DESERIALIZERJson deserializer forSamlLogoutRequeststatic Endpoint<SamlLogoutRequest,SamlLogoutResponse,ErrorResponse>_ENDPOINTEndpoint "security.saml_logout". -
Method Summary
Modifier and Type Method Description static SamlLogoutRequestof(java.util.function.Function<SamlLogoutRequest.Builder,ObjectBuilder<SamlLogoutRequest>> fn)java.lang.StringrefreshToken()The refresh token that was returned as a response to calling the SAML authenticate API.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSamlLogoutRequestDeserializer(ObjectDeserializer<SamlLogoutRequest.Builder> op)java.lang.Stringtoken()Required - The access token that was returned as a response to calling the SAML authenticate API.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSamlLogoutRequest -
_ENDPOINT
Endpoint "security.saml_logout".
-
-
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
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSamlLogoutRequestDeserializer
protected static void setupSamlLogoutRequestDeserializer(ObjectDeserializer<SamlLogoutRequest.Builder> op)
-