Packages

sealed abstract case class JWTClaims extends Product with Serializable

Represents the JWT Claims in https://tools.ietf.org/html/rfc7519#section-4

Times are IEEE Std 1003.1, 2013 Edition time in seconds. They are represented in a java.time.Instant objects. At serialization time, they are represented as Long.

Note: When feeding Instant instances directly, milliseconds are discarded

Self Type
JWTClaims
Source
JWTClaims.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JWTClaims
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def as[A](implicit arg0: Decoder[A]): Result[A]
  5. def asF[F[_], A](implicit arg0: Decoder[A], F: Sync[F]): F[A]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val audience: Option[JWTAudience]
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val expiration: Option[Instant]
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getCustom[A](key: String)(implicit arg0: Decoder[A]): Result[A]
  14. def getCustomF[F[_], A](key: String)(implicit arg0: Decoder[A], F: Sync[F]): F[A]
  15. def isAfterNBF(now: Instant): Boolean
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isNotExpired(now: Instant): Boolean
  18. def isValidIssued(now: Instant): Boolean
  19. val issuedAt: Option[Instant]
  20. val issuer: Option[String]
  21. val jwtId: Option[String]
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. val notBefore: Option[Instant]
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. val subject: Option[String]
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  31. def withCustomField[A](key: String, value: A)(implicit e: Encoder[A]): Either[InvalidField, JWTClaims]
  32. def withCustomFieldF[F[_], A](key: String, value: A)(implicit F: Sync[F], e: Encoder[A]): F[JWTClaims]
  33. def withExpiry(duration: Instant): JWTClaims
  34. def withIAT(duration: Instant): JWTClaims
  35. def withIATOption(duration: Option[Instant]): JWTClaims
  36. def withIssuer(isr: String): JWTClaims
  37. def withJwtID(jwtId: String): JWTClaims
  38. def withNBF(duration: Instant): JWTClaims
  39. def withSubject(subj: String): JWTClaims

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped