Class OidcAuthenticateResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.OidcAuthenticateResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class OidcAuthenticateResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<OidcAuthenticateResponse>Json deserializer forOidcAuthenticateResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - The Elasticsearch access token.final intRequired - The duration (in seconds) of the tokens.static OidcAuthenticateResponsefinal StringRequired - The Elasticsearch refresh token.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final Stringtype()Required - The type of token.
-
Field Details
-
_DESERIALIZER
Json deserializer forOidcAuthenticateResponse
-
-
Method Details
-
of
public static OidcAuthenticateResponse of(Function<OidcAuthenticateResponse.Builder, ObjectBuilder<OidcAuthenticateResponse>> fn) -
accessToken
Required - The Elasticsearch access token.API name:
access_token -
expiresIn
public final int expiresIn()Required - The duration (in seconds) of the tokens.API name:
expires_in -
refreshToken
Required - The Elasticsearch refresh token.API name:
refresh_token -
type
Required - The type of token.API name:
type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupOidcAuthenticateResponseDeserializer
protected static void setupOidcAuthenticateResponseDeserializer(ObjectDeserializer<OidcAuthenticateResponse.Builder> op)
-