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 SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<OidcAuthenticateResponse>Json deserializer forOidcAuthenticateResponse
- 
Method SummaryModifier 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- 
_DESERIALIZERJson deserializer forOidcAuthenticateResponse
 
- 
- 
Method Details- 
ofpublic static OidcAuthenticateResponse of(Function<OidcAuthenticateResponse.Builder, ObjectBuilder<OidcAuthenticateResponse>> fn) 
- 
accessTokenRequired - The Elasticsearch access token.API name: access_token
- 
expiresInpublic final int expiresIn()Required - The duration (in seconds) of the tokens.API name: expires_in
- 
refreshTokenRequired - The Elasticsearch refresh token.API name: refresh_token
- 
typeRequired - The type of token.API name: type
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupOidcAuthenticateResponseDeserializerprotected static void setupOidcAuthenticateResponseDeserializer(ObjectDeserializer<OidcAuthenticateResponse.Builder> op) 
 
-