final case class TokenRequestSpec(audiences: Seq[String], boundObjectRef: Option[BoundObjectReference] = None, expirationSeconds: Option[Int] = None) extends Product with Serializable
TokenRequestSpec contains client provided parameters of a token request.
- Source
- TokenRequestSpec.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TokenRequestSpec
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new TokenRequestSpec(audiences: Seq[String], boundObjectRef: Option[BoundObjectReference] = None, expirationSeconds: Option[Int] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAudiences(newValues: String*): TokenRequestSpec
Appends new values to audiences
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val audiences: Seq[String]
- val boundObjectRef: Option[BoundObjectReference]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expirationSeconds: Option[Int]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapAudiences(f: (Seq[String]) => Seq[String]): TokenRequestSpec
transforms audiences to result of function
- def mapBoundObjectRef(f: (BoundObjectReference) => BoundObjectReference): TokenRequestSpec
if boundObjectRef has a value, transforms to the result of function
- def mapExpirationSeconds(f: (Int) => Int): TokenRequestSpec
if expirationSeconds has a value, transforms to the result of function
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withAudiences(value: Seq[String]): TokenRequestSpec
Returns a new data with audiences set to new value
- def withBoundObjectRef(value: BoundObjectReference): TokenRequestSpec
Returns a new data with boundObjectRef set to new value
- def withExpirationSeconds(value: Int): TokenRequestSpec
Returns a new data with expirationSeconds set to new value