TokenReviewStatus

io.k8s.api.authentication.v1.TokenReviewStatus
See theTokenReviewStatus companion object
final case class TokenReviewStatus(audiences: Option[Seq[String]], authenticated: Option[Boolean], error: Option[String], user: Option[UserInfo])

TokenReviewStatus is the result of the token authentication request.

Attributes

Companion
object
Source
TokenReviewStatus.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addAudiences(newValues: String*): TokenReviewStatus

Appends new values to audiences

Appends new values to audiences

Attributes

Source
TokenReviewStatus.scala
def mapAudiences(f: Seq[String] => Seq[String]): TokenReviewStatus

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

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

Attributes

Source
TokenReviewStatus.scala
def mapAuthenticated(f: Boolean => Boolean): TokenReviewStatus

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

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

Attributes

Source
TokenReviewStatus.scala
def mapError(f: String => String): TokenReviewStatus

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

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

Attributes

Source
TokenReviewStatus.scala

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

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

Attributes

Source
TokenReviewStatus.scala
def withAudiences(value: Seq[String]): TokenReviewStatus

Returns a new data with audiences set to new value

Returns a new data with audiences set to new value

Attributes

Source
TokenReviewStatus.scala
def withAuthenticated(value: Boolean): TokenReviewStatus

Returns a new data with authenticated set to new value

Returns a new data with authenticated set to new value

Attributes

Source
TokenReviewStatus.scala
def withError(value: String): TokenReviewStatus

Returns a new data with error set to new value

Returns a new data with error set to new value

Attributes

Source
TokenReviewStatus.scala

Returns a new data with user set to new value

Returns a new data with user set to new value

Attributes

Source
TokenReviewStatus.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product