Class InvalidateTokenRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.InvalidateTokenRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class InvalidateTokenRequest
extends RequestBase
implements JsonpSerializable
Invalidates one or more access tokens or refresh tokens.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<InvalidateTokenRequest>Json deserializer forInvalidateTokenRequeststatic final Endpoint<InvalidateTokenRequest,InvalidateTokenResponse, ErrorResponse> Endpoint "security.invalidate_token". -
Method Summary
Modifier and TypeMethodDescriptionstatic InvalidateTokenRequestfinal StringAPI name:realm_namefinal StringAPI name:refresh_tokenvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringtoken()API name:tokenfinal Stringusername()API name:usernameMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forInvalidateTokenRequest -
_ENDPOINT
public static final Endpoint<InvalidateTokenRequest,InvalidateTokenResponse, _ENDPOINTErrorResponse> Endpoint "security.invalidate_token".
-
-
Method Details
-
of
public static InvalidateTokenRequest of(Function<InvalidateTokenRequest.Builder, ObjectBuilder<InvalidateTokenRequest>> fn) -
realmName
API name:realm_name -
refreshToken
API name:refresh_token -
token
API name:token -
username
API name:username -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupInvalidateTokenRequestDeserializer
protected static void setupInvalidateTokenRequestDeserializer(ObjectDeserializer<InvalidateTokenRequest.Builder> op)
-