Class ElasticsearchSecurityAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchSecurityAsyncClient>
co.elastic.clients.elasticsearch.security.ElasticsearchSecurityAsyncClient
public class ElasticsearchSecurityAsyncClient extends ApiClient<ElasticsearchTransport,ElasticsearchSecurityAsyncClient>
Client for the security namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions
-
Constructor Summary
Constructors Constructor Description ElasticsearchSecurityAsyncClient(ElasticsearchTransport transport)
ElasticsearchSecurityAsyncClient(ElasticsearchTransport transport, TransportOptions transportOptions)
-
Method Summary
Modifier and Type Method Description java.util.concurrent.CompletableFuture<ActivateUserProfileResponse>
activateUserProfile(ActivateUserProfileRequest request)
Creates or updates the user profile on behalf of another user.java.util.concurrent.CompletableFuture<ActivateUserProfileResponse>
activateUserProfile(java.util.function.Function<ActivateUserProfileRequest.Builder,ObjectBuilder<ActivateUserProfileRequest>> fn)
Creates or updates the user profile on behalf of another user.java.util.concurrent.CompletableFuture<AuthenticateResponse>
authenticate()
Enables authentication as a user and retrieve information about the authenticated user.java.util.concurrent.CompletableFuture<ChangePasswordResponse>
changePassword()
Changes the passwords of users in the native realm and built-in users.java.util.concurrent.CompletableFuture<ChangePasswordResponse>
changePassword(ChangePasswordRequest request)
Changes the passwords of users in the native realm and built-in users.java.util.concurrent.CompletableFuture<ChangePasswordResponse>
changePassword(java.util.function.Function<ChangePasswordRequest.Builder,ObjectBuilder<ChangePasswordRequest>> fn)
Changes the passwords of users in the native realm and built-in users.java.util.concurrent.CompletableFuture<ClearApiKeyCacheResponse>
clearApiKeyCache(ClearApiKeyCacheRequest request)
Clear a subset or all entries from the API key cache.java.util.concurrent.CompletableFuture<ClearApiKeyCacheResponse>
clearApiKeyCache(java.util.function.Function<ClearApiKeyCacheRequest.Builder,ObjectBuilder<ClearApiKeyCacheRequest>> fn)
Clear a subset or all entries from the API key cache.java.util.concurrent.CompletableFuture<ClearCachedPrivilegesResponse>
clearCachedPrivileges(ClearCachedPrivilegesRequest request)
Evicts application privileges from the native application privileges cache.java.util.concurrent.CompletableFuture<ClearCachedPrivilegesResponse>
clearCachedPrivileges(java.util.function.Function<ClearCachedPrivilegesRequest.Builder,ObjectBuilder<ClearCachedPrivilegesRequest>> fn)
Evicts application privileges from the native application privileges cache.java.util.concurrent.CompletableFuture<ClearCachedRealmsResponse>
clearCachedRealms(ClearCachedRealmsRequest request)
Evicts users from the user cache.java.util.concurrent.CompletableFuture<ClearCachedRealmsResponse>
clearCachedRealms(java.util.function.Function<ClearCachedRealmsRequest.Builder,ObjectBuilder<ClearCachedRealmsRequest>> fn)
Evicts users from the user cache.java.util.concurrent.CompletableFuture<ClearCachedRolesResponse>
clearCachedRoles(ClearCachedRolesRequest request)
Evicts roles from the native role cache.java.util.concurrent.CompletableFuture<ClearCachedRolesResponse>
clearCachedRoles(java.util.function.Function<ClearCachedRolesRequest.Builder,ObjectBuilder<ClearCachedRolesRequest>> fn)
Evicts roles from the native role cache.java.util.concurrent.CompletableFuture<ClearCachedServiceTokensResponse>
clearCachedServiceTokens(ClearCachedServiceTokensRequest request)
Evicts tokens from the service account token caches.java.util.concurrent.CompletableFuture<ClearCachedServiceTokensResponse>
clearCachedServiceTokens(java.util.function.Function<ClearCachedServiceTokensRequest.Builder,ObjectBuilder<ClearCachedServiceTokensRequest>> fn)
Evicts tokens from the service account token caches.java.util.concurrent.CompletableFuture<CreateApiKeyResponse>
createApiKey()
Creates an API key for access without requiring basic authentication.java.util.concurrent.CompletableFuture<CreateApiKeyResponse>
createApiKey(CreateApiKeyRequest request)
Creates an API key for access without requiring basic authentication.java.util.concurrent.CompletableFuture<CreateApiKeyResponse>
createApiKey(java.util.function.Function<CreateApiKeyRequest.Builder,ObjectBuilder<CreateApiKeyRequest>> fn)
Creates an API key for access without requiring basic authentication.java.util.concurrent.CompletableFuture<CreateServiceTokenResponse>
createServiceToken(CreateServiceTokenRequest request)
Creates a service account token for access without requiring basic authentication.java.util.concurrent.CompletableFuture<CreateServiceTokenResponse>
createServiceToken(java.util.function.Function<CreateServiceTokenRequest.Builder,ObjectBuilder<CreateServiceTokenRequest>> fn)
Creates a service account token for access without requiring basic authentication.java.util.concurrent.CompletableFuture<DeletePrivilegesResponse>
deletePrivileges(DeletePrivilegesRequest request)
Removes application privileges.java.util.concurrent.CompletableFuture<DeletePrivilegesResponse>
deletePrivileges(java.util.function.Function<DeletePrivilegesRequest.Builder,ObjectBuilder<DeletePrivilegesRequest>> fn)
Removes application privileges.java.util.concurrent.CompletableFuture<DeleteRoleResponse>
deleteRole(DeleteRoleRequest request)
Removes roles in the native realm.java.util.concurrent.CompletableFuture<DeleteRoleResponse>
deleteRole(java.util.function.Function<DeleteRoleRequest.Builder,ObjectBuilder<DeleteRoleRequest>> fn)
Removes roles in the native realm.java.util.concurrent.CompletableFuture<DeleteRoleMappingResponse>
deleteRoleMapping(DeleteRoleMappingRequest request)
Removes role mappings.java.util.concurrent.CompletableFuture<DeleteRoleMappingResponse>
deleteRoleMapping(java.util.function.Function<DeleteRoleMappingRequest.Builder,ObjectBuilder<DeleteRoleMappingRequest>> fn)
Removes role mappings.java.util.concurrent.CompletableFuture<DeleteServiceTokenResponse>
deleteServiceToken(DeleteServiceTokenRequest request)
Deletes a service account token.java.util.concurrent.CompletableFuture<DeleteServiceTokenResponse>
deleteServiceToken(java.util.function.Function<DeleteServiceTokenRequest.Builder,ObjectBuilder<DeleteServiceTokenRequest>> fn)
Deletes a service account token.java.util.concurrent.CompletableFuture<DeleteUserResponse>
deleteUser(DeleteUserRequest request)
Deletes users from the native realm.java.util.concurrent.CompletableFuture<DeleteUserResponse>
deleteUser(java.util.function.Function<DeleteUserRequest.Builder,ObjectBuilder<DeleteUserRequest>> fn)
Deletes users from the native realm.java.util.concurrent.CompletableFuture<DisableUserResponse>
disableUser(DisableUserRequest request)
Disables users in the native realm.java.util.concurrent.CompletableFuture<DisableUserResponse>
disableUser(java.util.function.Function<DisableUserRequest.Builder,ObjectBuilder<DisableUserRequest>> fn)
Disables users in the native realm.java.util.concurrent.CompletableFuture<DisableUserProfileResponse>
disableUserProfile(DisableUserProfileRequest request)
Disables a user profile so it's not visible in user profile searches.java.util.concurrent.CompletableFuture<DisableUserProfileResponse>
disableUserProfile(java.util.function.Function<DisableUserProfileRequest.Builder,ObjectBuilder<DisableUserProfileRequest>> fn)
Disables a user profile so it's not visible in user profile searches.java.util.concurrent.CompletableFuture<EnableUserResponse>
enableUser(EnableUserRequest request)
Enables users in the native realm.java.util.concurrent.CompletableFuture<EnableUserResponse>
enableUser(java.util.function.Function<EnableUserRequest.Builder,ObjectBuilder<EnableUserRequest>> fn)
Enables users in the native realm.java.util.concurrent.CompletableFuture<EnableUserProfileResponse>
enableUserProfile(EnableUserProfileRequest request)
Enables a user profile so it's visible in user profile searches.java.util.concurrent.CompletableFuture<EnableUserProfileResponse>
enableUserProfile(java.util.function.Function<EnableUserProfileRequest.Builder,ObjectBuilder<EnableUserProfileRequest>> fn)
Enables a user profile so it's visible in user profile searches.java.util.concurrent.CompletableFuture<EnrollKibanaResponse>
enrollKibana()
Allows a kibana instance to configure itself to communicate with a secured elasticsearch cluster.java.util.concurrent.CompletableFuture<EnrollNodeResponse>
enrollNode()
Allows a new node to enroll to an existing cluster with security enabled.java.util.concurrent.CompletableFuture<GetApiKeyResponse>
getApiKey()
Retrieves information for one or more API keys.java.util.concurrent.CompletableFuture<GetApiKeyResponse>
getApiKey(GetApiKeyRequest request)
Retrieves information for one or more API keys.java.util.concurrent.CompletableFuture<GetApiKeyResponse>
getApiKey(java.util.function.Function<GetApiKeyRequest.Builder,ObjectBuilder<GetApiKeyRequest>> fn)
Retrieves information for one or more API keys.java.util.concurrent.CompletableFuture<GetBuiltinPrivilegesResponse>
getBuiltinPrivileges()
Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.java.util.concurrent.CompletableFuture<GetPrivilegesResponse>
getPrivileges()
Retrieves application privileges.java.util.concurrent.CompletableFuture<GetPrivilegesResponse>
getPrivileges(GetPrivilegesRequest request)
Retrieves application privileges.java.util.concurrent.CompletableFuture<GetPrivilegesResponse>
getPrivileges(java.util.function.Function<GetPrivilegesRequest.Builder,ObjectBuilder<GetPrivilegesRequest>> fn)
Retrieves application privileges.java.util.concurrent.CompletableFuture<GetRoleResponse>
getRole()
Retrieves roles in the native realm.java.util.concurrent.CompletableFuture<GetRoleResponse>
getRole(GetRoleRequest request)
Retrieves roles in the native realm.java.util.concurrent.CompletableFuture<GetRoleResponse>
getRole(java.util.function.Function<GetRoleRequest.Builder,ObjectBuilder<GetRoleRequest>> fn)
Retrieves roles in the native realm.java.util.concurrent.CompletableFuture<GetRoleMappingResponse>
getRoleMapping()
Retrieves role mappings.java.util.concurrent.CompletableFuture<GetRoleMappingResponse>
getRoleMapping(GetRoleMappingRequest request)
Retrieves role mappings.java.util.concurrent.CompletableFuture<GetRoleMappingResponse>
getRoleMapping(java.util.function.Function<GetRoleMappingRequest.Builder,ObjectBuilder<GetRoleMappingRequest>> fn)
Retrieves role mappings.java.util.concurrent.CompletableFuture<GetServiceAccountsResponse>
getServiceAccounts()
Retrieves information about service accounts.java.util.concurrent.CompletableFuture<GetServiceAccountsResponse>
getServiceAccounts(GetServiceAccountsRequest request)
Retrieves information about service accounts.java.util.concurrent.CompletableFuture<GetServiceAccountsResponse>
getServiceAccounts(java.util.function.Function<GetServiceAccountsRequest.Builder,ObjectBuilder<GetServiceAccountsRequest>> fn)
Retrieves information about service accounts.java.util.concurrent.CompletableFuture<GetServiceCredentialsResponse>
getServiceCredentials(GetServiceCredentialsRequest request)
Retrieves information of all service credentials for a service account.java.util.concurrent.CompletableFuture<GetServiceCredentialsResponse>
getServiceCredentials(java.util.function.Function<GetServiceCredentialsRequest.Builder,ObjectBuilder<GetServiceCredentialsRequest>> fn)
Retrieves information of all service credentials for a service account.java.util.concurrent.CompletableFuture<GetTokenResponse>
getToken()
Creates a bearer token for access without requiring basic authentication.java.util.concurrent.CompletableFuture<GetTokenResponse>
getToken(GetTokenRequest request)
Creates a bearer token for access without requiring basic authentication.java.util.concurrent.CompletableFuture<GetTokenResponse>
getToken(java.util.function.Function<GetTokenRequest.Builder,ObjectBuilder<GetTokenRequest>> fn)
Creates a bearer token for access without requiring basic authentication.java.util.concurrent.CompletableFuture<GetUserResponse>
getUser()
Retrieves information about users in the native realm and built-in users.java.util.concurrent.CompletableFuture<GetUserResponse>
getUser(GetUserRequest request)
Retrieves information about users in the native realm and built-in users.java.util.concurrent.CompletableFuture<GetUserResponse>
getUser(java.util.function.Function<GetUserRequest.Builder,ObjectBuilder<GetUserRequest>> fn)
Retrieves information about users in the native realm and built-in users.java.util.concurrent.CompletableFuture<GetUserPrivilegesResponse>
getUserPrivileges()
Retrieves security privileges for the logged in user.java.util.concurrent.CompletableFuture<GetUserPrivilegesResponse>
getUserPrivileges(GetUserPrivilegesRequest request)
Retrieves security privileges for the logged in user.java.util.concurrent.CompletableFuture<GetUserPrivilegesResponse>
getUserPrivileges(java.util.function.Function<GetUserPrivilegesRequest.Builder,ObjectBuilder<GetUserPrivilegesRequest>> fn)
Retrieves security privileges for the logged in user.java.util.concurrent.CompletableFuture<GetUserProfileResponse>
getUserProfile(GetUserProfileRequest request)
Retrieves user profile for the given unique ID.java.util.concurrent.CompletableFuture<GetUserProfileResponse>
getUserProfile(java.util.function.Function<GetUserProfileRequest.Builder,ObjectBuilder<GetUserProfileRequest>> fn)
Retrieves user profile for the given unique ID.java.util.concurrent.CompletableFuture<GrantApiKeyResponse>
grantApiKey(GrantApiKeyRequest request)
Creates an API key on behalf of another user.java.util.concurrent.CompletableFuture<GrantApiKeyResponse>
grantApiKey(java.util.function.Function<GrantApiKeyRequest.Builder,ObjectBuilder<GrantApiKeyRequest>> fn)
Creates an API key on behalf of another user.java.util.concurrent.CompletableFuture<HasPrivilegesResponse>
hasPrivileges()
Determines whether the specified user has a specified list of privileges.java.util.concurrent.CompletableFuture<HasPrivilegesResponse>
hasPrivileges(HasPrivilegesRequest request)
Determines whether the specified user has a specified list of privileges.java.util.concurrent.CompletableFuture<HasPrivilegesResponse>
hasPrivileges(java.util.function.Function<HasPrivilegesRequest.Builder,ObjectBuilder<HasPrivilegesRequest>> fn)
Determines whether the specified user has a specified list of privileges.java.util.concurrent.CompletableFuture<InvalidateApiKeyResponse>
invalidateApiKey()
Invalidates one or more API keys.java.util.concurrent.CompletableFuture<InvalidateApiKeyResponse>
invalidateApiKey(InvalidateApiKeyRequest request)
Invalidates one or more API keys.java.util.concurrent.CompletableFuture<InvalidateApiKeyResponse>
invalidateApiKey(java.util.function.Function<InvalidateApiKeyRequest.Builder,ObjectBuilder<InvalidateApiKeyRequest>> fn)
Invalidates one or more API keys.java.util.concurrent.CompletableFuture<InvalidateTokenResponse>
invalidateToken()
Invalidates one or more access tokens or refresh tokens.java.util.concurrent.CompletableFuture<InvalidateTokenResponse>
invalidateToken(InvalidateTokenRequest request)
Invalidates one or more access tokens or refresh tokens.java.util.concurrent.CompletableFuture<InvalidateTokenResponse>
invalidateToken(java.util.function.Function<InvalidateTokenRequest.Builder,ObjectBuilder<InvalidateTokenRequest>> fn)
Invalidates one or more access tokens or refresh tokens.java.util.concurrent.CompletableFuture<PutPrivilegesResponse>
putPrivileges()
Adds or updates application privileges.java.util.concurrent.CompletableFuture<PutPrivilegesResponse>
putPrivileges(PutPrivilegesRequest request)
Adds or updates application privileges.java.util.concurrent.CompletableFuture<PutPrivilegesResponse>
putPrivileges(java.util.function.Function<PutPrivilegesRequest.Builder,ObjectBuilder<PutPrivilegesRequest>> fn)
Adds or updates application privileges.java.util.concurrent.CompletableFuture<PutRoleResponse>
putRole(PutRoleRequest request)
Adds and updates roles in the native realm.java.util.concurrent.CompletableFuture<PutRoleResponse>
putRole(java.util.function.Function<PutRoleRequest.Builder,ObjectBuilder<PutRoleRequest>> fn)
Adds and updates roles in the native realm.java.util.concurrent.CompletableFuture<PutRoleMappingResponse>
putRoleMapping(PutRoleMappingRequest request)
Creates and updates role mappings.java.util.concurrent.CompletableFuture<PutRoleMappingResponse>
putRoleMapping(java.util.function.Function<PutRoleMappingRequest.Builder,ObjectBuilder<PutRoleMappingRequest>> fn)
Creates and updates role mappings.java.util.concurrent.CompletableFuture<PutUserResponse>
putUser(PutUserRequest request)
Adds and updates users in the native realm.java.util.concurrent.CompletableFuture<PutUserResponse>
putUser(java.util.function.Function<PutUserRequest.Builder,ObjectBuilder<PutUserRequest>> fn)
Adds and updates users in the native realm.java.util.concurrent.CompletableFuture<QueryApiKeysResponse>
queryApiKeys()
Retrieves information for API keys using a subset of query DSLjava.util.concurrent.CompletableFuture<QueryApiKeysResponse>
queryApiKeys(QueryApiKeysRequest request)
Retrieves information for API keys using a subset of query DSLjava.util.concurrent.CompletableFuture<QueryApiKeysResponse>
queryApiKeys(java.util.function.Function<QueryApiKeysRequest.Builder,ObjectBuilder<QueryApiKeysRequest>> fn)
Retrieves information for API keys using a subset of query DSLjava.util.concurrent.CompletableFuture<SamlAuthenticateResponse>
samlAuthenticate(SamlAuthenticateRequest request)
Exchanges a SAML Response message for an Elasticsearch access token and refresh token pairjava.util.concurrent.CompletableFuture<SamlAuthenticateResponse>
samlAuthenticate(java.util.function.Function<SamlAuthenticateRequest.Builder,ObjectBuilder<SamlAuthenticateRequest>> fn)
Exchanges a SAML Response message for an Elasticsearch access token and refresh token pairjava.util.concurrent.CompletableFuture<BooleanResponse>
samlCompleteLogout(SamlCompleteLogoutRequest request)
Verifies the logout response sent from the SAML IdPjava.util.concurrent.CompletableFuture<BooleanResponse>
samlCompleteLogout(java.util.function.Function<SamlCompleteLogoutRequest.Builder,ObjectBuilder<SamlCompleteLogoutRequest>> fn)
Verifies the logout response sent from the SAML IdPjava.util.concurrent.CompletableFuture<SamlInvalidateResponse>
samlInvalidate(SamlInvalidateRequest request)
Consumes a SAML LogoutRequestjava.util.concurrent.CompletableFuture<SamlInvalidateResponse>
samlInvalidate(java.util.function.Function<SamlInvalidateRequest.Builder,ObjectBuilder<SamlInvalidateRequest>> fn)
Consumes a SAML LogoutRequestjava.util.concurrent.CompletableFuture<SamlLogoutResponse>
samlLogout(SamlLogoutRequest request)
Invalidates an access token and a refresh token that were generated via the SAML Authenticate APIjava.util.concurrent.CompletableFuture<SamlLogoutResponse>
samlLogout(java.util.function.Function<SamlLogoutRequest.Builder,ObjectBuilder<SamlLogoutRequest>> fn)
Invalidates an access token and a refresh token that were generated via the SAML Authenticate APIjava.util.concurrent.CompletableFuture<SamlPrepareAuthenticationResponse>
samlPrepareAuthentication()
Creates a SAML authentication requestjava.util.concurrent.CompletableFuture<SamlPrepareAuthenticationResponse>
samlPrepareAuthentication(SamlPrepareAuthenticationRequest request)
Creates a SAML authentication requestjava.util.concurrent.CompletableFuture<SamlPrepareAuthenticationResponse>
samlPrepareAuthentication(java.util.function.Function<SamlPrepareAuthenticationRequest.Builder,ObjectBuilder<SamlPrepareAuthenticationRequest>> fn)
Creates a SAML authentication requestjava.util.concurrent.CompletableFuture<SamlServiceProviderMetadataResponse>
samlServiceProviderMetadata(SamlServiceProviderMetadataRequest request)
Generates SAML metadata for the Elastic stack SAML 2.0 Service Providerjava.util.concurrent.CompletableFuture<SamlServiceProviderMetadataResponse>
samlServiceProviderMetadata(java.util.function.Function<SamlServiceProviderMetadataRequest.Builder,ObjectBuilder<SamlServiceProviderMetadataRequest>> fn)
Generates SAML metadata for the Elastic stack SAML 2.0 Service Providerjava.util.concurrent.CompletableFuture<SuggestUserProfilesResponse>
suggestUserProfiles()
Get suggestions for user profiles that match specified search criteria.java.util.concurrent.CompletableFuture<SuggestUserProfilesResponse>
suggestUserProfiles(SuggestUserProfilesRequest request)
Get suggestions for user profiles that match specified search criteria.java.util.concurrent.CompletableFuture<SuggestUserProfilesResponse>
suggestUserProfiles(java.util.function.Function<SuggestUserProfilesRequest.Builder,ObjectBuilder<SuggestUserProfilesRequest>> fn)
Get suggestions for user profiles that match specified search criteria.java.util.concurrent.CompletableFuture<UpdateUserProfileDataResponse>
updateUserProfileData(UpdateUserProfileDataRequest request)
Update application specific data for the user profile of the given unique ID.java.util.concurrent.CompletableFuture<UpdateUserProfileDataResponse>
updateUserProfileData(java.util.function.Function<UpdateUserProfileDataRequest.Builder,ObjectBuilder<UpdateUserProfileDataRequest>> fn)
Update application specific data for the user profile of the given unique ID.ElasticsearchSecurityAsyncClient
withTransportOptions(TransportOptions transportOptions)
Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchSecurityAsyncClient
-
ElasticsearchSecurityAsyncClient
public ElasticsearchSecurityAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchSecurityAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions)Description copied from class:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,ElasticsearchSecurityAsyncClient>
-
activateUserProfile
public java.util.concurrent.CompletableFuture<ActivateUserProfileResponse> activateUserProfile(ActivateUserProfileRequest request)Creates or updates the user profile on behalf of another user.- See Also:
- Documentation on elastic.co
-
activateUserProfile
public final java.util.concurrent.CompletableFuture<ActivateUserProfileResponse> activateUserProfile(java.util.function.Function<ActivateUserProfileRequest.Builder,ObjectBuilder<ActivateUserProfileRequest>> fn)Creates or updates the user profile on behalf of another user.- Parameters:
fn
- a function that initializes a builder to create theActivateUserProfileRequest
- See Also:
- Documentation on elastic.co
-
authenticate
Enables authentication as a user and retrieve information about the authenticated user.- See Also:
- Documentation on elastic.co
-
changePassword
public java.util.concurrent.CompletableFuture<ChangePasswordResponse> changePassword(ChangePasswordRequest request)Changes the passwords of users in the native realm and built-in users.- See Also:
- Documentation on elastic.co
-
changePassword
public final java.util.concurrent.CompletableFuture<ChangePasswordResponse> changePassword(java.util.function.Function<ChangePasswordRequest.Builder,ObjectBuilder<ChangePasswordRequest>> fn)Changes the passwords of users in the native realm and built-in users.- Parameters:
fn
- a function that initializes a builder to create theChangePasswordRequest
- See Also:
- Documentation on elastic.co
-
changePassword
Changes the passwords of users in the native realm and built-in users.- See Also:
- Documentation on elastic.co
-
clearApiKeyCache
public java.util.concurrent.CompletableFuture<ClearApiKeyCacheResponse> clearApiKeyCache(ClearApiKeyCacheRequest request)Clear a subset or all entries from the API key cache.- See Also:
- Documentation on elastic.co
-
clearApiKeyCache
public final java.util.concurrent.CompletableFuture<ClearApiKeyCacheResponse> clearApiKeyCache(java.util.function.Function<ClearApiKeyCacheRequest.Builder,ObjectBuilder<ClearApiKeyCacheRequest>> fn)Clear a subset or all entries from the API key cache.- Parameters:
fn
- a function that initializes a builder to create theClearApiKeyCacheRequest
- See Also:
- Documentation on elastic.co
-
clearCachedPrivileges
public java.util.concurrent.CompletableFuture<ClearCachedPrivilegesResponse> clearCachedPrivileges(ClearCachedPrivilegesRequest request)Evicts application privileges from the native application privileges cache.- See Also:
- Documentation on elastic.co
-
clearCachedPrivileges
public final java.util.concurrent.CompletableFuture<ClearCachedPrivilegesResponse> clearCachedPrivileges(java.util.function.Function<ClearCachedPrivilegesRequest.Builder,ObjectBuilder<ClearCachedPrivilegesRequest>> fn)Evicts application privileges from the native application privileges cache.- Parameters:
fn
- a function that initializes a builder to create theClearCachedPrivilegesRequest
- See Also:
- Documentation on elastic.co
-
clearCachedRealms
public java.util.concurrent.CompletableFuture<ClearCachedRealmsResponse> clearCachedRealms(ClearCachedRealmsRequest request)Evicts users from the user cache. Can completely clear the cache or evict specific users.- See Also:
- Documentation on elastic.co
-
clearCachedRealms
public final java.util.concurrent.CompletableFuture<ClearCachedRealmsResponse> clearCachedRealms(java.util.function.Function<ClearCachedRealmsRequest.Builder,ObjectBuilder<ClearCachedRealmsRequest>> fn)Evicts users from the user cache. Can completely clear the cache or evict specific users.- Parameters:
fn
- a function that initializes a builder to create theClearCachedRealmsRequest
- See Also:
- Documentation on elastic.co
-
clearCachedRoles
public java.util.concurrent.CompletableFuture<ClearCachedRolesResponse> clearCachedRoles(ClearCachedRolesRequest request)Evicts roles from the native role cache.- See Also:
- Documentation on elastic.co
-
clearCachedRoles
public final java.util.concurrent.CompletableFuture<ClearCachedRolesResponse> clearCachedRoles(java.util.function.Function<ClearCachedRolesRequest.Builder,ObjectBuilder<ClearCachedRolesRequest>> fn)Evicts roles from the native role cache.- Parameters:
fn
- a function that initializes a builder to create theClearCachedRolesRequest
- See Also:
- Documentation on elastic.co
-
clearCachedServiceTokens
public java.util.concurrent.CompletableFuture<ClearCachedServiceTokensResponse> clearCachedServiceTokens(ClearCachedServiceTokensRequest request)Evicts tokens from the service account token caches.- See Also:
- Documentation on elastic.co
-
clearCachedServiceTokens
public final java.util.concurrent.CompletableFuture<ClearCachedServiceTokensResponse> clearCachedServiceTokens(java.util.function.Function<ClearCachedServiceTokensRequest.Builder,ObjectBuilder<ClearCachedServiceTokensRequest>> fn)Evicts tokens from the service account token caches.- Parameters:
fn
- a function that initializes a builder to create theClearCachedServiceTokensRequest
- See Also:
- Documentation on elastic.co
-
createApiKey
public java.util.concurrent.CompletableFuture<CreateApiKeyResponse> createApiKey(CreateApiKeyRequest request)Creates an API key for access without requiring basic authentication.- See Also:
- Documentation on elastic.co
-
createApiKey
public final java.util.concurrent.CompletableFuture<CreateApiKeyResponse> createApiKey(java.util.function.Function<CreateApiKeyRequest.Builder,ObjectBuilder<CreateApiKeyRequest>> fn)Creates an API key for access without requiring basic authentication.- Parameters:
fn
- a function that initializes a builder to create theCreateApiKeyRequest
- See Also:
- Documentation on elastic.co
-
createApiKey
Creates an API key for access without requiring basic authentication.- See Also:
- Documentation on elastic.co
-
createServiceToken
public java.util.concurrent.CompletableFuture<CreateServiceTokenResponse> createServiceToken(CreateServiceTokenRequest request)Creates a service account token for access without requiring basic authentication.- See Also:
- Documentation on elastic.co
-
createServiceToken
public final java.util.concurrent.CompletableFuture<CreateServiceTokenResponse> createServiceToken(java.util.function.Function<CreateServiceTokenRequest.Builder,ObjectBuilder<CreateServiceTokenRequest>> fn)Creates a service account token for access without requiring basic authentication.- Parameters:
fn
- a function that initializes a builder to create theCreateServiceTokenRequest
- See Also:
- Documentation on elastic.co
-
deletePrivileges
public java.util.concurrent.CompletableFuture<DeletePrivilegesResponse> deletePrivileges(DeletePrivilegesRequest request)Removes application privileges.- See Also:
- Documentation on elastic.co
-
deletePrivileges
public final java.util.concurrent.CompletableFuture<DeletePrivilegesResponse> deletePrivileges(java.util.function.Function<DeletePrivilegesRequest.Builder,ObjectBuilder<DeletePrivilegesRequest>> fn)Removes application privileges.- Parameters:
fn
- a function that initializes a builder to create theDeletePrivilegesRequest
- See Also:
- Documentation on elastic.co
-
deleteRole
public java.util.concurrent.CompletableFuture<DeleteRoleResponse> deleteRole(DeleteRoleRequest request)Removes roles in the native realm.- See Also:
- Documentation on elastic.co
-
deleteRole
public final java.util.concurrent.CompletableFuture<DeleteRoleResponse> deleteRole(java.util.function.Function<DeleteRoleRequest.Builder,ObjectBuilder<DeleteRoleRequest>> fn)Removes roles in the native realm.- Parameters:
fn
- a function that initializes a builder to create theDeleteRoleRequest
- See Also:
- Documentation on elastic.co
-
deleteRoleMapping
public java.util.concurrent.CompletableFuture<DeleteRoleMappingResponse> deleteRoleMapping(DeleteRoleMappingRequest request)Removes role mappings.- See Also:
- Documentation on elastic.co
-
deleteRoleMapping
public final java.util.concurrent.CompletableFuture<DeleteRoleMappingResponse> deleteRoleMapping(java.util.function.Function<DeleteRoleMappingRequest.Builder,ObjectBuilder<DeleteRoleMappingRequest>> fn)Removes role mappings.- Parameters:
fn
- a function that initializes a builder to create theDeleteRoleMappingRequest
- See Also:
- Documentation on elastic.co
-
deleteServiceToken
public java.util.concurrent.CompletableFuture<DeleteServiceTokenResponse> deleteServiceToken(DeleteServiceTokenRequest request)Deletes a service account token.- See Also:
- Documentation on elastic.co
-
deleteServiceToken
public final java.util.concurrent.CompletableFuture<DeleteServiceTokenResponse> deleteServiceToken(java.util.function.Function<DeleteServiceTokenRequest.Builder,ObjectBuilder<DeleteServiceTokenRequest>> fn)Deletes a service account token.- Parameters:
fn
- a function that initializes a builder to create theDeleteServiceTokenRequest
- See Also:
- Documentation on elastic.co
-
deleteUser
public java.util.concurrent.CompletableFuture<DeleteUserResponse> deleteUser(DeleteUserRequest request)Deletes users from the native realm.- See Also:
- Documentation on elastic.co
-
deleteUser
public final java.util.concurrent.CompletableFuture<DeleteUserResponse> deleteUser(java.util.function.Function<DeleteUserRequest.Builder,ObjectBuilder<DeleteUserRequest>> fn)Deletes users from the native realm.- Parameters:
fn
- a function that initializes a builder to create theDeleteUserRequest
- See Also:
- Documentation on elastic.co
-
disableUser
public java.util.concurrent.CompletableFuture<DisableUserResponse> disableUser(DisableUserRequest request)Disables users in the native realm.- See Also:
- Documentation on elastic.co
-
disableUser
public final java.util.concurrent.CompletableFuture<DisableUserResponse> disableUser(java.util.function.Function<DisableUserRequest.Builder,ObjectBuilder<DisableUserRequest>> fn)Disables users in the native realm.- Parameters:
fn
- a function that initializes a builder to create theDisableUserRequest
- See Also:
- Documentation on elastic.co
-
disableUserProfile
public java.util.concurrent.CompletableFuture<DisableUserProfileResponse> disableUserProfile(DisableUserProfileRequest request)Disables a user profile so it's not visible in user profile searches.- See Also:
- Documentation on elastic.co
-
disableUserProfile
public final java.util.concurrent.CompletableFuture<DisableUserProfileResponse> disableUserProfile(java.util.function.Function<DisableUserProfileRequest.Builder,ObjectBuilder<DisableUserProfileRequest>> fn)Disables a user profile so it's not visible in user profile searches.- Parameters:
fn
- a function that initializes a builder to create theDisableUserProfileRequest
- See Also:
- Documentation on elastic.co
-
enableUser
public java.util.concurrent.CompletableFuture<EnableUserResponse> enableUser(EnableUserRequest request)Enables users in the native realm.- See Also:
- Documentation on elastic.co
-
enableUser
public final java.util.concurrent.CompletableFuture<EnableUserResponse> enableUser(java.util.function.Function<EnableUserRequest.Builder,ObjectBuilder<EnableUserRequest>> fn)Enables users in the native realm.- Parameters:
fn
- a function that initializes a builder to create theEnableUserRequest
- See Also:
- Documentation on elastic.co
-
enableUserProfile
public java.util.concurrent.CompletableFuture<EnableUserProfileResponse> enableUserProfile(EnableUserProfileRequest request)Enables a user profile so it's visible in user profile searches.- See Also:
- Documentation on elastic.co
-
enableUserProfile
public final java.util.concurrent.CompletableFuture<EnableUserProfileResponse> enableUserProfile(java.util.function.Function<EnableUserProfileRequest.Builder,ObjectBuilder<EnableUserProfileRequest>> fn)Enables a user profile so it's visible in user profile searches.- Parameters:
fn
- a function that initializes a builder to create theEnableUserProfileRequest
- See Also:
- Documentation on elastic.co
-
enrollKibana
Allows a kibana instance to configure itself to communicate with a secured elasticsearch cluster.- See Also:
- Documentation on elastic.co
-
enrollNode
Allows a new node to enroll to an existing cluster with security enabled.- See Also:
- Documentation on elastic.co
-
getApiKey
public java.util.concurrent.CompletableFuture<GetApiKeyResponse> getApiKey(GetApiKeyRequest request)Retrieves information for one or more API keys.- See Also:
- Documentation on elastic.co
-
getApiKey
public final java.util.concurrent.CompletableFuture<GetApiKeyResponse> getApiKey(java.util.function.Function<GetApiKeyRequest.Builder,ObjectBuilder<GetApiKeyRequest>> fn)Retrieves information for one or more API keys.- Parameters:
fn
- a function that initializes a builder to create theGetApiKeyRequest
- See Also:
- Documentation on elastic.co
-
getApiKey
Retrieves information for one or more API keys.- See Also:
- Documentation on elastic.co
-
getBuiltinPrivileges
Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.- See Also:
- Documentation on elastic.co
-
getPrivileges
public java.util.concurrent.CompletableFuture<GetPrivilegesResponse> getPrivileges(GetPrivilegesRequest request)Retrieves application privileges.- See Also:
- Documentation on elastic.co
-
getPrivileges
public final java.util.concurrent.CompletableFuture<GetPrivilegesResponse> getPrivileges(java.util.function.Function<GetPrivilegesRequest.Builder,ObjectBuilder<GetPrivilegesRequest>> fn)Retrieves application privileges.- Parameters:
fn
- a function that initializes a builder to create theGetPrivilegesRequest
- See Also:
- Documentation on elastic.co
-
getPrivileges
Retrieves application privileges.- See Also:
- Documentation on elastic.co
-
getRole
Retrieves roles in the native realm.- See Also:
- Documentation on elastic.co
-
getRole
public final java.util.concurrent.CompletableFuture<GetRoleResponse> getRole(java.util.function.Function<GetRoleRequest.Builder,ObjectBuilder<GetRoleRequest>> fn)Retrieves roles in the native realm.- Parameters:
fn
- a function that initializes a builder to create theGetRoleRequest
- See Also:
- Documentation on elastic.co
-
getRole
Retrieves roles in the native realm.- See Also:
- Documentation on elastic.co
-
getRoleMapping
public java.util.concurrent.CompletableFuture<GetRoleMappingResponse> getRoleMapping(GetRoleMappingRequest request)Retrieves role mappings.- See Also:
- Documentation on elastic.co
-
getRoleMapping
public final java.util.concurrent.CompletableFuture<GetRoleMappingResponse> getRoleMapping(java.util.function.Function<GetRoleMappingRequest.Builder,ObjectBuilder<GetRoleMappingRequest>> fn)Retrieves role mappings.- Parameters:
fn
- a function that initializes a builder to create theGetRoleMappingRequest
- See Also:
- Documentation on elastic.co
-
getRoleMapping
Retrieves role mappings.- See Also:
- Documentation on elastic.co
-
getServiceAccounts
public java.util.concurrent.CompletableFuture<GetServiceAccountsResponse> getServiceAccounts(GetServiceAccountsRequest request)Retrieves information about service accounts.- See Also:
- Documentation on elastic.co
-
getServiceAccounts
public final java.util.concurrent.CompletableFuture<GetServiceAccountsResponse> getServiceAccounts(java.util.function.Function<GetServiceAccountsRequest.Builder,ObjectBuilder<GetServiceAccountsRequest>> fn)Retrieves information about service accounts.- Parameters:
fn
- a function that initializes a builder to create theGetServiceAccountsRequest
- See Also:
- Documentation on elastic.co
-
getServiceAccounts
Retrieves information about service accounts.- See Also:
- Documentation on elastic.co
-
getServiceCredentials
public java.util.concurrent.CompletableFuture<GetServiceCredentialsResponse> getServiceCredentials(GetServiceCredentialsRequest request)Retrieves information of all service credentials for a service account.- See Also:
- Documentation on elastic.co
-
getServiceCredentials
public final java.util.concurrent.CompletableFuture<GetServiceCredentialsResponse> getServiceCredentials(java.util.function.Function<GetServiceCredentialsRequest.Builder,ObjectBuilder<GetServiceCredentialsRequest>> fn)Retrieves information of all service credentials for a service account.- Parameters:
fn
- a function that initializes a builder to create theGetServiceCredentialsRequest
- See Also:
- Documentation on elastic.co
-
getToken
Creates a bearer token for access without requiring basic authentication.- See Also:
- Documentation on elastic.co
-
getToken
public final java.util.concurrent.CompletableFuture<GetTokenResponse> getToken(java.util.function.Function<GetTokenRequest.Builder,ObjectBuilder<GetTokenRequest>> fn)Creates a bearer token for access without requiring basic authentication.- Parameters:
fn
- a function that initializes a builder to create theGetTokenRequest
- See Also:
- Documentation on elastic.co
-
getToken
Creates a bearer token for access without requiring basic authentication.- See Also:
- Documentation on elastic.co
-
getUser
Retrieves information about users in the native realm and built-in users.- See Also:
- Documentation on elastic.co
-
getUser
public final java.util.concurrent.CompletableFuture<GetUserResponse> getUser(java.util.function.Function<GetUserRequest.Builder,ObjectBuilder<GetUserRequest>> fn)Retrieves information about users in the native realm and built-in users.- Parameters:
fn
- a function that initializes a builder to create theGetUserRequest
- See Also:
- Documentation on elastic.co
-
getUser
Retrieves information about users in the native realm and built-in users.- See Also:
- Documentation on elastic.co
-
getUserPrivileges
public java.util.concurrent.CompletableFuture<GetUserPrivilegesResponse> getUserPrivileges(GetUserPrivilegesRequest request)Retrieves security privileges for the logged in user.- See Also:
- Documentation on elastic.co
-
getUserPrivileges
public final java.util.concurrent.CompletableFuture<GetUserPrivilegesResponse> getUserPrivileges(java.util.function.Function<GetUserPrivilegesRequest.Builder,ObjectBuilder<GetUserPrivilegesRequest>> fn)Retrieves security privileges for the logged in user.- Parameters:
fn
- a function that initializes a builder to create theGetUserPrivilegesRequest
- See Also:
- Documentation on elastic.co
-
getUserPrivileges
Retrieves security privileges for the logged in user.- See Also:
- Documentation on elastic.co
-
getUserProfile
public java.util.concurrent.CompletableFuture<GetUserProfileResponse> getUserProfile(GetUserProfileRequest request)Retrieves user profile for the given unique ID.- See Also:
- Documentation on elastic.co
-
getUserProfile
public final java.util.concurrent.CompletableFuture<GetUserProfileResponse> getUserProfile(java.util.function.Function<GetUserProfileRequest.Builder,ObjectBuilder<GetUserProfileRequest>> fn)Retrieves user profile for the given unique ID.- Parameters:
fn
- a function that initializes a builder to create theGetUserProfileRequest
- See Also:
- Documentation on elastic.co
-
grantApiKey
public java.util.concurrent.CompletableFuture<GrantApiKeyResponse> grantApiKey(GrantApiKeyRequest request)Creates an API key on behalf of another user.- See Also:
- Documentation on elastic.co
-
grantApiKey
public final java.util.concurrent.CompletableFuture<GrantApiKeyResponse> grantApiKey(java.util.function.Function<GrantApiKeyRequest.Builder,ObjectBuilder<GrantApiKeyRequest>> fn)Creates an API key on behalf of another user.- Parameters:
fn
- a function that initializes a builder to create theGrantApiKeyRequest
- See Also:
- Documentation on elastic.co
-
hasPrivileges
public java.util.concurrent.CompletableFuture<HasPrivilegesResponse> hasPrivileges(HasPrivilegesRequest request)Determines whether the specified user has a specified list of privileges.- See Also:
- Documentation on elastic.co
-
hasPrivileges
public final java.util.concurrent.CompletableFuture<HasPrivilegesResponse> hasPrivileges(java.util.function.Function<HasPrivilegesRequest.Builder,ObjectBuilder<HasPrivilegesRequest>> fn)Determines whether the specified user has a specified list of privileges.- Parameters:
fn
- a function that initializes a builder to create theHasPrivilegesRequest
- See Also:
- Documentation on elastic.co
-
hasPrivileges
Determines whether the specified user has a specified list of privileges.- See Also:
- Documentation on elastic.co
-
invalidateApiKey
public java.util.concurrent.CompletableFuture<InvalidateApiKeyResponse> invalidateApiKey(InvalidateApiKeyRequest request)Invalidates one or more API keys.- See Also:
- Documentation on elastic.co
-
invalidateApiKey
public final java.util.concurrent.CompletableFuture<InvalidateApiKeyResponse> invalidateApiKey(java.util.function.Function<InvalidateApiKeyRequest.Builder,ObjectBuilder<InvalidateApiKeyRequest>> fn)Invalidates one or more API keys.- Parameters:
fn
- a function that initializes a builder to create theInvalidateApiKeyRequest
- See Also:
- Documentation on elastic.co
-
invalidateApiKey
Invalidates one or more API keys.- See Also:
- Documentation on elastic.co
-
invalidateToken
public java.util.concurrent.CompletableFuture<InvalidateTokenResponse> invalidateToken(InvalidateTokenRequest request)Invalidates one or more access tokens or refresh tokens.- See Also:
- Documentation on elastic.co
-
invalidateToken
public final java.util.concurrent.CompletableFuture<InvalidateTokenResponse> invalidateToken(java.util.function.Function<InvalidateTokenRequest.Builder,ObjectBuilder<InvalidateTokenRequest>> fn)Invalidates one or more access tokens or refresh tokens.- Parameters:
fn
- a function that initializes a builder to create theInvalidateTokenRequest
- See Also:
- Documentation on elastic.co
-
invalidateToken
Invalidates one or more access tokens or refresh tokens.- See Also:
- Documentation on elastic.co
-
putPrivileges
public java.util.concurrent.CompletableFuture<PutPrivilegesResponse> putPrivileges(PutPrivilegesRequest request)Adds or updates application privileges.- See Also:
- Documentation on elastic.co
-
putPrivileges
public final java.util.concurrent.CompletableFuture<PutPrivilegesResponse> putPrivileges(java.util.function.Function<PutPrivilegesRequest.Builder,ObjectBuilder<PutPrivilegesRequest>> fn)Adds or updates application privileges.- Parameters:
fn
- a function that initializes a builder to create thePutPrivilegesRequest
- See Also:
- Documentation on elastic.co
-
putPrivileges
Adds or updates application privileges.- See Also:
- Documentation on elastic.co
-
putRole
Adds and updates roles in the native realm.- See Also:
- Documentation on elastic.co
-
putRole
public final java.util.concurrent.CompletableFuture<PutRoleResponse> putRole(java.util.function.Function<PutRoleRequest.Builder,ObjectBuilder<PutRoleRequest>> fn)Adds and updates roles in the native realm.- Parameters:
fn
- a function that initializes a builder to create thePutRoleRequest
- See Also:
- Documentation on elastic.co
-
putRoleMapping
public java.util.concurrent.CompletableFuture<PutRoleMappingResponse> putRoleMapping(PutRoleMappingRequest request)Creates and updates role mappings.- See Also:
- Documentation on elastic.co
-
putRoleMapping
public final java.util.concurrent.CompletableFuture<PutRoleMappingResponse> putRoleMapping(java.util.function.Function<PutRoleMappingRequest.Builder,ObjectBuilder<PutRoleMappingRequest>> fn)Creates and updates role mappings.- Parameters:
fn
- a function that initializes a builder to create thePutRoleMappingRequest
- See Also:
- Documentation on elastic.co
-
putUser
Adds and updates users in the native realm. These users are commonly referred to as native users.- See Also:
- Documentation on elastic.co
-
putUser
public final java.util.concurrent.CompletableFuture<PutUserResponse> putUser(java.util.function.Function<PutUserRequest.Builder,ObjectBuilder<PutUserRequest>> fn)Adds and updates users in the native realm. These users are commonly referred to as native users.- Parameters:
fn
- a function that initializes a builder to create thePutUserRequest
- See Also:
- Documentation on elastic.co
-
queryApiKeys
public java.util.concurrent.CompletableFuture<QueryApiKeysResponse> queryApiKeys(QueryApiKeysRequest request)Retrieves information for API keys using a subset of query DSL- See Also:
- Documentation on elastic.co
-
queryApiKeys
public final java.util.concurrent.CompletableFuture<QueryApiKeysResponse> queryApiKeys(java.util.function.Function<QueryApiKeysRequest.Builder,ObjectBuilder<QueryApiKeysRequest>> fn)Retrieves information for API keys using a subset of query DSL- Parameters:
fn
- a function that initializes a builder to create theQueryApiKeysRequest
- See Also:
- Documentation on elastic.co
-
queryApiKeys
Retrieves information for API keys using a subset of query DSL- See Also:
- Documentation on elastic.co
-
samlAuthenticate
public java.util.concurrent.CompletableFuture<SamlAuthenticateResponse> samlAuthenticate(SamlAuthenticateRequest request)Exchanges a SAML Response message for an Elasticsearch access token and refresh token pair- See Also:
- Documentation on elastic.co
-
samlAuthenticate
public final java.util.concurrent.CompletableFuture<SamlAuthenticateResponse> samlAuthenticate(java.util.function.Function<SamlAuthenticateRequest.Builder,ObjectBuilder<SamlAuthenticateRequest>> fn)Exchanges a SAML Response message for an Elasticsearch access token and refresh token pair- Parameters:
fn
- a function that initializes a builder to create theSamlAuthenticateRequest
- See Also:
- Documentation on elastic.co
-
samlCompleteLogout
public java.util.concurrent.CompletableFuture<BooleanResponse> samlCompleteLogout(SamlCompleteLogoutRequest request)Verifies the logout response sent from the SAML IdP- See Also:
- Documentation on elastic.co
-
samlCompleteLogout
public final java.util.concurrent.CompletableFuture<BooleanResponse> samlCompleteLogout(java.util.function.Function<SamlCompleteLogoutRequest.Builder,ObjectBuilder<SamlCompleteLogoutRequest>> fn)Verifies the logout response sent from the SAML IdP- Parameters:
fn
- a function that initializes a builder to create theSamlCompleteLogoutRequest
- See Also:
- Documentation on elastic.co
-
samlInvalidate
public java.util.concurrent.CompletableFuture<SamlInvalidateResponse> samlInvalidate(SamlInvalidateRequest request)Consumes a SAML LogoutRequest- See Also:
- Documentation on elastic.co
-
samlInvalidate
public final java.util.concurrent.CompletableFuture<SamlInvalidateResponse> samlInvalidate(java.util.function.Function<SamlInvalidateRequest.Builder,ObjectBuilder<SamlInvalidateRequest>> fn)Consumes a SAML LogoutRequest- Parameters:
fn
- a function that initializes a builder to create theSamlInvalidateRequest
- See Also:
- Documentation on elastic.co
-
samlLogout
public java.util.concurrent.CompletableFuture<SamlLogoutResponse> samlLogout(SamlLogoutRequest request)Invalidates an access token and a refresh token that were generated via the SAML Authenticate API- See Also:
- Documentation on elastic.co
-
samlLogout
public final java.util.concurrent.CompletableFuture<SamlLogoutResponse> samlLogout(java.util.function.Function<SamlLogoutRequest.Builder,ObjectBuilder<SamlLogoutRequest>> fn)Invalidates an access token and a refresh token that were generated via the SAML Authenticate API- Parameters:
fn
- a function that initializes a builder to create theSamlLogoutRequest
- See Also:
- Documentation on elastic.co
-
samlPrepareAuthentication
public java.util.concurrent.CompletableFuture<SamlPrepareAuthenticationResponse> samlPrepareAuthentication(SamlPrepareAuthenticationRequest request)Creates a SAML authentication request- See Also:
- Documentation on elastic.co
-
samlPrepareAuthentication
public final java.util.concurrent.CompletableFuture<SamlPrepareAuthenticationResponse> samlPrepareAuthentication(java.util.function.Function<SamlPrepareAuthenticationRequest.Builder,ObjectBuilder<SamlPrepareAuthenticationRequest>> fn)Creates a SAML authentication request- Parameters:
fn
- a function that initializes a builder to create theSamlPrepareAuthenticationRequest
- See Also:
- Documentation on elastic.co
-
samlPrepareAuthentication
public java.util.concurrent.CompletableFuture<SamlPrepareAuthenticationResponse> samlPrepareAuthentication()Creates a SAML authentication request- See Also:
- Documentation on elastic.co
-
samlServiceProviderMetadata
public java.util.concurrent.CompletableFuture<SamlServiceProviderMetadataResponse> samlServiceProviderMetadata(SamlServiceProviderMetadataRequest request)Generates SAML metadata for the Elastic stack SAML 2.0 Service Provider- See Also:
- Documentation on elastic.co
-
samlServiceProviderMetadata
public final java.util.concurrent.CompletableFuture<SamlServiceProviderMetadataResponse> samlServiceProviderMetadata(java.util.function.Function<SamlServiceProviderMetadataRequest.Builder,ObjectBuilder<SamlServiceProviderMetadataRequest>> fn)Generates SAML metadata for the Elastic stack SAML 2.0 Service Provider- Parameters:
fn
- a function that initializes a builder to create theSamlServiceProviderMetadataRequest
- See Also:
- Documentation on elastic.co
-
suggestUserProfiles
public java.util.concurrent.CompletableFuture<SuggestUserProfilesResponse> suggestUserProfiles(SuggestUserProfilesRequest request)Get suggestions for user profiles that match specified search criteria.- See Also:
- Documentation on elastic.co
-
suggestUserProfiles
public final java.util.concurrent.CompletableFuture<SuggestUserProfilesResponse> suggestUserProfiles(java.util.function.Function<SuggestUserProfilesRequest.Builder,ObjectBuilder<SuggestUserProfilesRequest>> fn)Get suggestions for user profiles that match specified search criteria.- Parameters:
fn
- a function that initializes a builder to create theSuggestUserProfilesRequest
- See Also:
- Documentation on elastic.co
-
suggestUserProfiles
Get suggestions for user profiles that match specified search criteria.- See Also:
- Documentation on elastic.co
-
updateUserProfileData
public java.util.concurrent.CompletableFuture<UpdateUserProfileDataResponse> updateUserProfileData(UpdateUserProfileDataRequest request)Update application specific data for the user profile of the given unique ID.- See Also:
- Documentation on elastic.co
-
updateUserProfileData
public final java.util.concurrent.CompletableFuture<UpdateUserProfileDataResponse> updateUserProfileData(java.util.function.Function<UpdateUserProfileDataRequest.Builder,ObjectBuilder<UpdateUserProfileDataRequest>> fn)Update application specific data for the user profile of the given unique ID.- Parameters:
fn
- a function that initializes a builder to create theUpdateUserProfileDataRequest
- See Also:
- Documentation on elastic.co
-