tsec.jwt.JWTClaims
See theJWTClaims companion object
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
- Graph
-
- Supertypes
- Self type
Members list
In this article