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 - API name:access_tokenfinal intRequired - API name:expires_instatic SamlAuthenticateResponsefinal Stringrealm()Required - API name:realmfinal StringRequired - API name:refresh_tokenvoidserialize(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 - API name:username
-
Field Details
-
_DESERIALIZER
Json deserializer forSamlAuthenticateResponse
-
-
Method Details
-
of
public static SamlAuthenticateResponse of(Function<SamlAuthenticateResponse.Builder, ObjectBuilder<SamlAuthenticateResponse>> fn) -
accessToken
Required - API name:access_token -
username
Required - API name:username -
expiresIn
public final int expiresIn()Required - API name:expires_in -
refreshToken
Required - API name:refresh_token -
realm
Required - API name:realm -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSamlAuthenticateResponseDeserializer
protected static void setupSamlAuthenticateResponseDeserializer(ObjectDeserializer<SamlAuthenticateResponse.Builder> op)
-