Package com.daml.ledger.rxjava.grpc
Class UserManagementClientImpl
- java.lang.Object
-
- com.daml.ledger.rxjava.grpc.UserManagementClientImpl
-
- All Implemented Interfaces:
UserManagementClient
public final class UserManagementClientImpl extends java.lang.Object implements UserManagementClient
-
-
Constructor Summary
Constructors Constructor Description UserManagementClientImpl(@NonNull io.grpc.Channel channel, @NonNull com.daml.grpc.adapter.ExecutionSequencerFactory sequencerFactory, @NonNull java.util.Optional<java.lang.String> accessToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.reactivex.Single<CreateUserResponse>
createUser(@NonNull CreateUserRequest request)
io.reactivex.Single<CreateUserResponse>
createUser(@NonNull CreateUserRequest request, @NonNull java.lang.String accessToken)
io.reactivex.Single<DeleteUserResponse>
deleteUser(@NonNull DeleteUserRequest request)
io.reactivex.Single<DeleteUserResponse>
deleteUser(@NonNull DeleteUserRequest request, @NonNull java.lang.String accessToken)
io.reactivex.Single<GetUserResponse>
getUser(@NonNull GetUserRequest request)
io.reactivex.Single<GetUserResponse>
getUser(@NonNull GetUserRequest request, @NonNull java.lang.String accessToken)
io.reactivex.Single<GrantUserRightsResponse>
grantUserRights(@NonNull GrantUserRightsRequest request)
io.reactivex.Single<GrantUserRightsResponse>
grantUserRights(@NonNull GrantUserRightsRequest request, java.lang.String accessToken)
io.reactivex.Single<ListUserRightsResponse>
listUserRights(@NonNull ListUserRightsRequest request)
io.reactivex.Single<ListUserRightsResponse>
listUserRights(@NonNull ListUserRightsRequest request, java.lang.String accessToken)
io.reactivex.Single<ListUsersResponse>
listUsers()
io.reactivex.Single<ListUsersResponse>
listUsers(java.lang.String accessToken)
io.reactivex.Single<RevokeUserRightsResponse>
revokeUserRights(@NonNull RevokeUserRightsRequest request)
io.reactivex.Single<RevokeUserRightsResponse>
revokeUserRights(@NonNull RevokeUserRightsRequest request, java.lang.String accessToken)
-
-
-
Method Detail
-
createUser
public io.reactivex.Single<CreateUserResponse> createUser(@NonNull CreateUserRequest request)
- Specified by:
createUser
in interfaceUserManagementClient
-
createUser
public io.reactivex.Single<CreateUserResponse> createUser(@NonNull CreateUserRequest request, @NonNull java.lang.String accessToken)
- Specified by:
createUser
in interfaceUserManagementClient
-
getUser
public io.reactivex.Single<GetUserResponse> getUser(@NonNull GetUserRequest request)
- Specified by:
getUser
in interfaceUserManagementClient
-
getUser
public io.reactivex.Single<GetUserResponse> getUser(@NonNull GetUserRequest request, @NonNull java.lang.String accessToken)
- Specified by:
getUser
in interfaceUserManagementClient
-
deleteUser
public io.reactivex.Single<DeleteUserResponse> deleteUser(@NonNull DeleteUserRequest request)
- Specified by:
deleteUser
in interfaceUserManagementClient
-
deleteUser
public io.reactivex.Single<DeleteUserResponse> deleteUser(@NonNull DeleteUserRequest request, @NonNull java.lang.String accessToken)
- Specified by:
deleteUser
in interfaceUserManagementClient
-
listUsers
public io.reactivex.Single<ListUsersResponse> listUsers()
- Specified by:
listUsers
in interfaceUserManagementClient
-
listUsers
public io.reactivex.Single<ListUsersResponse> listUsers(java.lang.String accessToken)
- Specified by:
listUsers
in interfaceUserManagementClient
-
grantUserRights
public io.reactivex.Single<GrantUserRightsResponse> grantUserRights(@NonNull GrantUserRightsRequest request)
- Specified by:
grantUserRights
in interfaceUserManagementClient
-
grantUserRights
public io.reactivex.Single<GrantUserRightsResponse> grantUserRights(@NonNull GrantUserRightsRequest request, java.lang.String accessToken)
- Specified by:
grantUserRights
in interfaceUserManagementClient
-
revokeUserRights
public io.reactivex.Single<RevokeUserRightsResponse> revokeUserRights(@NonNull RevokeUserRightsRequest request)
- Specified by:
revokeUserRights
in interfaceUserManagementClient
-
revokeUserRights
public io.reactivex.Single<RevokeUserRightsResponse> revokeUserRights(@NonNull RevokeUserRightsRequest request, java.lang.String accessToken)
- Specified by:
revokeUserRights
in interfaceUserManagementClient
-
listUserRights
public io.reactivex.Single<ListUserRightsResponse> listUserRights(@NonNull ListUserRightsRequest request)
- Specified by:
listUserRights
in interfaceUserManagementClient
-
listUserRights
public io.reactivex.Single<ListUserRightsResponse> listUserRights(@NonNull ListUserRightsRequest request, java.lang.String accessToken)
- Specified by:
listUserRights
in interfaceUserManagementClient
-
-