public interface Auth extends CloseableClient
closeCompletableFuture<AuthEnableResponse> authEnable()
CompletableFuture<AuthDisableResponse> authDisable()
CompletableFuture<AuthUserAddResponse> userAdd(ByteSequence user, ByteSequence password)
user - the userpassword - the passwordCompletableFuture<AuthUserDeleteResponse> userDelete(ByteSequence user)
user - the userCompletableFuture<AuthUserChangePasswordResponse> userChangePassword(ByteSequence user, ByteSequence password)
user - the userpassword - the passwordCompletableFuture<AuthUserGetResponse> userGet(ByteSequence user)
user - the userCompletableFuture<AuthUserListResponse> userList()
CompletableFuture<AuthUserGrantRoleResponse> userGrantRole(ByteSequence user, ByteSequence role)
user - the userrole - the role to grantCompletableFuture<AuthUserRevokeRoleResponse> userRevokeRole(ByteSequence user, ByteSequence role)
user - the userrole - the role to revokeCompletableFuture<AuthRoleAddResponse> roleAdd(ByteSequence role)
role - the role to addCompletableFuture<AuthRoleGrantPermissionResponse> roleGrantPermission(ByteSequence role, ByteSequence key, ByteSequence rangeEnd, Permission.Type permType)
role - the rolekey - the keyrangeEnd - the range endpermType - the typeCompletableFuture<AuthRoleGetResponse> roleGet(ByteSequence role)
role - the role to getCompletableFuture<AuthRoleListResponse> roleList()
CompletableFuture<AuthRoleRevokePermissionResponse> roleRevokePermission(ByteSequence role, ByteSequence key, ByteSequence rangeEnd)
role - the rolekey - the keyrangeEnd - the range endCompletableFuture<AuthRoleDeleteResponse> roleDelete(ByteSequence role)
role - the role to delete.Copyright © 2021. All rights reserved.