TokenReviewSpec

io.k8s.api.authentication.v1.TokenReviewSpec
See theTokenReviewSpec companion object
final case class TokenReviewSpec(audiences: Option[Seq[String]], token: Option[String])

TokenReviewSpec is a description of the token authentication request.

Attributes

Companion
object
Source
TokenReviewSpec.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*): TokenReviewSpec

Appends new values to audiences

Appends new values to audiences

Attributes

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

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

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

Attributes

Source
TokenReviewSpec.scala
def mapToken(f: String => String): TokenReviewSpec

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

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

Attributes

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

Returns a new data with audiences set to new value

Returns a new data with audiences set to new value

Attributes

Source
TokenReviewSpec.scala
def withToken(value: String): TokenReviewSpec

Returns a new data with token set to new value

Returns a new data with token set to new value

Attributes

Source
TokenReviewSpec.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product