Uses of Class
org.elasticsearch.client.security.CreateTokenRequest
-
Packages that use CreateTokenRequest Package Description org.elasticsearch.client org.elasticsearch.client.security -
-
Uses of CreateTokenRequest in org.elasticsearch.client
Methods in org.elasticsearch.client with parameters of type CreateTokenRequest Modifier and Type Method Description CreateTokenResponseSecurityClient. createToken(CreateTokenRequest request, RequestOptions options)Creates an OAuth2 token.CancellableSecurityClient. createTokenAsync(CreateTokenRequest request, RequestOptions options, ActionListener<CreateTokenResponse> listener)Asynchronously creates an OAuth2 token. -
Uses of CreateTokenRequest in org.elasticsearch.client.security
Methods in org.elasticsearch.client.security that return CreateTokenRequest Modifier and Type Method Description static CreateTokenRequestCreateTokenRequest. clientCredentialsGrant()static CreateTokenRequestCreateTokenRequest. kerberosGrant(char[] kerberosTicket)static CreateTokenRequestCreateTokenRequest. passwordGrant(String username, char[] password)static CreateTokenRequestCreateTokenRequest. refreshTokenGrant(String refreshToken)
-