UserInfo

case class UserInfo(extra: Optional[Map[String, Vector[String]]], groups: Optional[Vector[String]], uid: Optional[String], username: Optional[String])

UserInfo holds the information about the user needed to implement the user.Info interface.

Value Params
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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

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. If this user is deleted and another user by the same name is added, they will have different UIDs.

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.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product