case class UserInfo(extra: Optional[Map[String, Vector[String]]] = Optional.Absent, groups: Optional[Vector[String]] = Optional.Absent, uid: Optional[String] = Optional.Absent, username: Optional[String] = Optional.Absent) extends Product with Serializable
UserInfo holds the information about the user needed to implement the user.Info interface.
- extra
Any additional information provided by the authenticator.
- groups
The names of groups this user is a part of.
- uid
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
- username
The name that uniquely identifies this user among all active users.
- Alphabetic
- By Inheritance
- UserInfo
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
UserInfo(extra: Optional[Map[String, Vector[String]]] = Optional.Absent, groups: Optional[Vector[String]] = Optional.Absent, uid: Optional[String] = Optional.Absent, username: Optional[String] = Optional.Absent)
- extra
Any additional information provided by the authenticator.
- groups
The names of groups this user is a part of.
- uid
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
- username
The name that uniquely identifies this user among all active users.
Value Members
- val extra: Optional[Map[String, Vector[String]]]
-
def
getExtra: IO[K8sFailure, Map[String, Vector[String]]]
Any additional information provided by the authenticator.
Any additional information provided by the authenticator.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getGroups: IO[K8sFailure, Vector[String]]
The names of groups this user is a part of.
The names of groups this user is a part of.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getUid: IO[K8sFailure, String]
A unique value that identifies this user across time.
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getUsername: IO[K8sFailure, String]
The name that uniquely identifies this user among all active users.
The name that uniquely identifies this user among all active users.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val groups: Optional[Vector[String]]
- val uid: Optional[String]
- val username: Optional[String]