tsec.jwt

package tsec.jwt

Members list

Packages

package tsec.jwt.header
package tsec.jwt.util

Type members

Classlikes

sealed trait JWTAudience

Attributes

Source
package.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed abstract case class JWTClaims(issuer: Option[String], subject: Option[String], audience: Option[JWTAudience], expiration: Option[Instant], notBefore: Option[Instant], issuedAt: Option[Instant], jwtId: Option[String], cachedObj: JsonObject)

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

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

Value parameters

audience

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

expiration

The token expiration time

issuedAt

identifies the time at which the JWT was issued

issuer

Issuer claim, Case insensitive

jwtId

provides a unique identifier for the JWT

notBefore

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

subject

Subject, Case-sensitive string

Attributes

Companion
object
Source
JWTClaims.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Companion
class
Source
JWTClaims.scala
Supertypes
class Object
trait Matchable
class Any
Self type
JWTClaims.type
case class JWTListAudience(values: List[String]) extends JWTAudience

Attributes

Source
package.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait JWTAudience
class Object
trait Matchable
class Any
Show all
case class JWTSingleAudience(value: String) extends JWTAudience

Attributes

Source
package.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait JWTAudience
class Object
trait Matchable
class Any
Show all

Value members

Concrete fields

Attributes

Source
package.scala

Implicits

Implicits

Attributes

Source
package.scala

Attributes

Source
package.scala