Class ReactiveUserManager

java.lang.Object
com.couchbase.client.java.manager.user.ReactiveUserManager

public class ReactiveUserManager extends Object
  • Constructor Details

  • Method Details

    • getUser

      public reactor.core.publisher.Mono<UserAndMetadata> getUser(AuthDomain domain, String username)
    • getUser

      public reactor.core.publisher.Mono<UserAndMetadata> getUser(AuthDomain domain, String username, GetUserOptions options)
    • getAllUsers

      public reactor.core.publisher.Flux<UserAndMetadata> getAllUsers()
    • getAllUsers

      public reactor.core.publisher.Flux<UserAndMetadata> getAllUsers(GetAllUsersOptions options)
    • getRoles

      public reactor.core.publisher.Flux<RoleAndDescription> getRoles()
    • getRoles

      public reactor.core.publisher.Flux<RoleAndDescription> getRoles(GetRolesOptions options)
    • changePassword

      public reactor.core.publisher.Mono<Void> changePassword(String newPassword, ChangePasswordOptions options)
      Changes the password of the currently authenticated user. SDK must be re-started and a new connection established after running, as the previous credentials will no longer be valid.
      Parameters:
      newPassword - String to replace the previous password with.
      options - Common options (timeout, retry...)
    • changePassword

      public reactor.core.publisher.Mono<Void> changePassword(String newPassword)
      Changes the password of the currently authenticated user. SDK must be re-started and a new connection established after running, as the previous credentials will no longer be valid.
      Parameters:
      newPassword - String to replace the previous password with.
    • upsertUser

      public reactor.core.publisher.Mono<Void> upsertUser(User user)
    • upsertUser

      public reactor.core.publisher.Mono<Void> upsertUser(User user, UpsertUserOptions options)
    • dropUser

      public reactor.core.publisher.Mono<Void> dropUser(String username)
    • dropUser

      public reactor.core.publisher.Mono<Void> dropUser(String username, DropUserOptions options)
    • getGroup

      public reactor.core.publisher.Mono<Group> getGroup(String groupName)
    • getGroup

      public reactor.core.publisher.Mono<Group> getGroup(String groupName, GetGroupOptions options)
    • getAllGroups

      public reactor.core.publisher.Flux<Group> getAllGroups()
    • getAllGroups

      public reactor.core.publisher.Flux<Group> getAllGroups(GetAllGroupsOptions options)
    • upsertGroup

      public reactor.core.publisher.Mono<Void> upsertGroup(Group group)
    • upsertGroup

      public reactor.core.publisher.Mono<Void> upsertGroup(Group group, UpsertGroupOptions options)
    • dropGroup

      public reactor.core.publisher.Mono<Void> dropGroup(String groupName)
    • dropGroup

      public reactor.core.publisher.Mono<Void> dropGroup(String groupName, DropGroupOptions options)