Interface TenantServiceAsync
-
- All Implemented Interfaces:
public interface TenantServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTenantServiceAsync.WithRawResponseA view of TenantServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract TenantServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract TenantServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
CompletableFuture<TenantListResponse> list(String userId)
Returns a paginated list of user tenant associations.
-
list
CompletableFuture<TenantListResponse> list(String userId, TenantListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<TenantListResponse> list(String userId, TenantListParams params)
-
list
abstract CompletableFuture<TenantListResponse> list(TenantListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<TenantListResponse> list(TenantListParams params)
-
list
CompletableFuture<TenantListResponse> list(String userId, RequestOptions requestOptions)
-
addMultiple
CompletableFuture<Void> addMultiple(String userId, TenantAddMultipleParams params)
This endpoint is used to add a user to multiple tenants in one call. A custom profile can also be supplied for each tenant. This profile will be merged with the user's main profile when sending to the user with that tenant.
-
addMultiple
CompletableFuture<Void> addMultiple(String userId, TenantAddMultipleParams params, RequestOptions requestOptions)
-
addMultiple
CompletableFuture<Void> addMultiple(TenantAddMultipleParams params)
-
addMultiple
abstract CompletableFuture<Void> addMultiple(TenantAddMultipleParams params, RequestOptions requestOptions)
-
addSingle
CompletableFuture<Void> addSingle(String tenantId, TenantAddSingleParams params)
This endpoint is used to add a single tenant.
A custom profile can also be supplied with the tenant. This profile will be merged with the user's main profile when sending to the user with that tenant.
-
addSingle
CompletableFuture<Void> addSingle(String tenantId, TenantAddSingleParams params, RequestOptions requestOptions)
-
addSingle
CompletableFuture<Void> addSingle(TenantAddSingleParams params)
-
addSingle
abstract CompletableFuture<Void> addSingle(TenantAddSingleParams params, RequestOptions requestOptions)
-
removeAll
CompletableFuture<Void> removeAll(String userId)
Removes a user from any tenants they may have been associated with.
-
removeAll
CompletableFuture<Void> removeAll(String userId, TenantRemoveAllParams params, RequestOptions requestOptions)
-
removeAll
CompletableFuture<Void> removeAll(String userId, TenantRemoveAllParams params)
-
removeAll
abstract CompletableFuture<Void> removeAll(TenantRemoveAllParams params, RequestOptions requestOptions)
-
removeAll
CompletableFuture<Void> removeAll(TenantRemoveAllParams params)
-
removeAll
CompletableFuture<Void> removeAll(String userId, RequestOptions requestOptions)
-
removeSingle
CompletableFuture<Void> removeSingle(String tenantId, TenantRemoveSingleParams params)
Removes a user from the supplied tenant.
-
removeSingle
CompletableFuture<Void> removeSingle(String tenantId, TenantRemoveSingleParams params, RequestOptions requestOptions)
-
removeSingle
CompletableFuture<Void> removeSingle(TenantRemoveSingleParams params)
-
removeSingle
abstract CompletableFuture<Void> removeSingle(TenantRemoveSingleParams params, RequestOptions requestOptions)
-
-
-
-