Class AuthenticateRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.AuthenticateRequest
Enables you to submit a request with a basic auth header to authenticate a
user and retrieve information about the authenticated user. A successful call
returns a JSON structure that shows user information such as their username,
the roles that are assigned to the user, any assigned metadata, and
information about the realms that authenticated and authorized the user. If
the user cannot be authenticated, this API returns a 401 status code.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Endpoint<AuthenticateRequest,
AuthenticateResponse, ErrorResponse> Endpoint "security.authenticate
".static final AuthenticateRequest
Singleton instance forAuthenticateRequest
. -
Constructor Summary
-
Method Summary
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_INSTANCE
Singleton instance forAuthenticateRequest
. -
_ENDPOINT
Endpoint "security.authenticate
".
-
-
Constructor Details
-
AuthenticateRequest
public AuthenticateRequest()
-