UserInfo

io.k8s.api.authentication.v1.UserInfo
See theUserInfo companion object
final case class UserInfo(extra: Option[Map[String, Seq[String]]], groups: Option[Seq[String]], uid: Option[String], username: Option[String])

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

Attributes

Companion:
object
Source:
UserInfo.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def addExtra(newValues: (String, Seq[String])*): UserInfo

Adds new values to extra

Adds new values to extra

Attributes

Source:
UserInfo.scala
def addGroups(newValues: String*): UserInfo

Appends new values to groups

Appends new values to groups

Attributes

Source:
UserInfo.scala

if extra has a value, transforms to the result of function

if extra has a value, transforms to the result of function

Attributes

Source:
UserInfo.scala

if groups has a value, transforms to the result of function

if groups has a value, transforms to the result of function

Attributes

Source:
UserInfo.scala

if uid has a value, transforms to the result of function

if uid has a value, transforms to the result of function

Attributes

Source:
UserInfo.scala

if username has a value, transforms to the result of function

if username has a value, transforms to the result of function

Attributes

Source:
UserInfo.scala

Returns a new data with extra set to new value

Returns a new data with extra set to new value

Attributes

Source:
UserInfo.scala

Returns a new data with groups set to new value

Returns a new data with groups set to new value

Attributes

Source:
UserInfo.scala
def withUid(value: String): UserInfo

Returns a new data with uid set to new value

Returns a new data with uid set to new value

Attributes

Source:
UserInfo.scala

Returns a new data with username set to new value

Returns a new data with username set to new value

Attributes

Source:
UserInfo.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product