final case class TokenRequestSpec(audiences: Seq[String], boundObjectRef: Option[BoundObjectReference] = None, expirationSeconds: Option[Long] = 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
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TokenRequestSpec(audiences: Seq[String], boundObjectRef: Option[BoundObjectReference] = None, expirationSeconds: Option[Long] = 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( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expirationSeconds: Option[Long]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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: (Long) ⇒ Long): 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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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: Long): TokenRequestSpec
Returns a new data with expirationSeconds set to new value