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 class
SamlLogoutRequest.Builder
Builder 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>
_DESERIALIZER
Json deserializer forSamlLogoutRequest
static Endpoint<SamlLogoutRequest,SamlLogoutResponse,ErrorResponse>
_ENDPOINT
Endpoint "security.saml_logout
". -
Method Summary
Modifier and Type Method Description static SamlLogoutRequest
of(java.util.function.Function<SamlLogoutRequest.Builder,ObjectBuilder<SamlLogoutRequest>> fn)
java.lang.String
refreshToken()
The refresh token that was returned as a response to calling the SAML authenticate API.void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupSamlLogoutRequestDeserializer(ObjectDeserializer<SamlLogoutRequest.Builder> op)
java.lang.String
token()
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
toString
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupSamlLogoutRequestDeserializer
protected static void setupSamlLogoutRequestDeserializer(ObjectDeserializer<SamlLogoutRequest.Builder> op)
-