Class SamlAuthenticateResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.SamlAuthenticateResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class SamlAuthenticateResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SamlAuthenticateResponse>Json deserializer forSamlAuthenticateResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - The access token that was generated by Elasticsearch.final intRequired - The amount of time (in seconds) left until the token expires.static SamlAuthenticateResponsefinal Stringrealm()Required - The name of the realm where the user was authenticated.final StringRequired - The refresh token that was generated by Elasticsearch.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 Stringusername()Required - The authenticated user's name.
-
Field Details
-
_DESERIALIZER
Json deserializer forSamlAuthenticateResponse
-
-
Method Details
-
of
public static SamlAuthenticateResponse of(Function<SamlAuthenticateResponse.Builder, ObjectBuilder<SamlAuthenticateResponse>> fn) -
accessToken
Required - The access token that was generated by Elasticsearch.API name:
access_token -
username
Required - The authenticated user's name.API name:
username -
expiresIn
public final int expiresIn()Required - The amount of time (in seconds) left until the token expires.API name:
expires_in -
refreshToken
Required - The refresh token that was generated by Elasticsearch.API name:
refresh_token -
realm
Required - The name of the realm where the user was authenticated.API name:
realm -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSamlAuthenticateResponseDeserializer
protected static void setupSamlAuthenticateResponseDeserializer(ObjectDeserializer<SamlAuthenticateResponse.Builder> op)
-