Class/Object

tsec.jwt

JWTClaims

Related Docs: object JWTClaims | package jwt

Permalink

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def as[A](implicit arg0: Decoder[A]): Result[A]

    Permalink
  5. def asF[F[_], A](implicit arg0: Decoder[A], F: Sync[F]): F[A]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val audience: Option[JWTAudience]

    Permalink

    The audience Case-sensitive.

    The audience Case-sensitive. Can be either a list or a single string

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. val expiration: Option[Instant]

    Permalink

    The token expiration time

  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getCustom[A](key: String)(implicit arg0: Decoder[A]): Result[A]

    Permalink
  14. def getCustomF[F[_], A](key: String)(implicit arg0: Decoder[A], F: Sync[F]): F[A]

    Permalink
  15. def isAfterNBF(now: Instant): Boolean

    Permalink
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isNotExpired(now: Instant): Boolean

    Permalink
  18. def isValidIssued(now: Instant): Boolean

    Permalink
  19. val issuedAt: Option[Instant]

    Permalink

    identifies the time at which the JWT was issued

  20. val issuer: Option[String]

    Permalink

    Issuer claim, Case insensitive

  21. val jwtId: Option[String]

    Permalink

    provides a unique identifier for the JWT

  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. val notBefore: Option[Instant]

    Permalink

    identifies the time before which the JWT MUST NOT be accepted for processing.

  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. val subject: Option[String]

    Permalink

    Subject, Case-sensitive string

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def withCustomField[A](key: String, value: A)(implicit e: Encoder[A]): Either[InvalidField, JWTClaims]

    Permalink
  32. def withCustomFieldF[F[_], A](key: String, value: A)(implicit F: Sync[F], e: Encoder[A]): F[JWTClaims]

    Permalink
  33. def withExpiry(duration: Instant): JWTClaims

    Permalink
  34. def withIAT(duration: Instant): JWTClaims

    Permalink
  35. def withIATOption(duration: Option[Instant]): JWTClaims

    Permalink
  36. def withIssuer(isr: String): JWTClaims

    Permalink
  37. def withJwtID(jwtId: String): JWTClaims

    Permalink
  38. def withNBF(duration: Instant): JWTClaims

    Permalink
  39. def withSubject(subj: String): JWTClaims

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped