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 String
Required - The access token that was generated by Elasticsearch.final int
Required - The amount of time (in seconds) left until the token expires.static SamlAuthenticateResponse
final String
realm()
Required - The name of the realm where the user was authenticated.final String
Required - The refresh token that was generated by Elasticsearch.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
username()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSamlAuthenticateResponseDeserializer
protected static void setupSamlAuthenticateResponseDeserializer(ObjectDeserializer<SamlAuthenticateResponse.Builder> op)
-