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 String
Required - The Elasticsearch access token.final int
Required - The duration (in seconds) of the tokens.static OidcAuthenticateResponse
final String
Required - The Elasticsearch refresh token.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
toString()
final String
type()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupOidcAuthenticateResponseDeserializer
protected static void setupOidcAuthenticateResponseDeserializer(ObjectDeserializer<OidcAuthenticateResponse.Builder> op)
-