c
com.digitalasset.canton.ledger.client.services.admin
UserManagementClient
Companion object UserManagementClient
final class UserManagementClient extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- UserManagementClient
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new UserManagementClient(service: UserManagementServiceStub)(implicit ec: ExecutionContext)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def createUser(user: User, initialRights: Seq[UserRight] = List.empty, token: Option[String] = None): Future[User]
- def deleteUser(userId: UserId, token: Option[String] = None): Future[Unit]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getAuthenticatedUser(token: Option[String] = None): Future[User]
Retrieve the User information for the user authenticated by the token(s) on the call .
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getUser(userId: UserId, token: Option[String] = None): Future[User]
- def grantUserRights(userId: UserId, rights: Seq[UserRight], token: Option[String] = None): Future[Seq[UserRight]]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listAuthenticatedUserRights(token: Option[String] = None): Future[Seq[UserRight]]
Retrieve the rights of the user authenticated by the token(s) on the call .
Retrieve the rights of the user authenticated by the token(s) on the call . Unknown rights are ignored.
- def listUserRights(userId: UserId, token: Option[String] = None): Future[Seq[UserRight]]
List the rights of the given user.
List the rights of the given user. Unknown rights are ignored.
- def listUsers(token: Option[String] = None, pageToken: String, pageSize: Int): Future[(Seq[User], String)]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def revokeUserRights(userId: UserId, rights: Seq[UserRight], token: Option[String] = None): Future[Seq[UserRight]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])