TokenRequestSpec

io.k8s.api.authentication.v1.TokenRequestSpec
See theTokenRequestSpec companion object
final case class TokenRequestSpec(audiences: Seq[String], boundObjectRef: Option[BoundObjectReference], expirationSeconds: Option[Long])

TokenRequestSpec contains client provided parameters of a token request.

Attributes

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

Appends new values to audiences

Appends new values to audiences

Attributes

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

transforms audiences to result of function

transforms audiences to result of function

Attributes

Source
TokenRequestSpec.scala

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

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

Attributes

Source
TokenRequestSpec.scala
def mapExpirationSeconds(f: Long => Long): TokenRequestSpec

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

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

Attributes

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

Returns a new data with audiences set to new value

Returns a new data with audiences set to new value

Attributes

Source
TokenRequestSpec.scala

Returns a new data with boundObjectRef set to new value

Returns a new data with boundObjectRef set to new value

Attributes

Source
TokenRequestSpec.scala

Returns a new data with expirationSeconds set to new value

Returns a new data with expirationSeconds set to new value

Attributes

Source
TokenRequestSpec.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product