|
10Duke Java Core
|
JWT claim names that are registered and standard to JWTs.
Static Public Member Functions | |
| static boolean | isSpecDate (final String claim) |
| Checks if the claim should represent a date. | |
Static Public Attributes | |
| static final JwtClaim | AUDIENCE = new JwtClaim("aud") |
| JWT claim for audience. | |
| static final JwtClaim | EXPIRATION = new JwtClaim("exp", Long.class) |
| JWT claim for expiration. | |
| static final JwtClaim | ID = new JwtClaim("jti") |
| JWT claim for token id. | |
| static final JwtClaim | ISSUED_AT = new JwtClaim("iat", Long.class) |
| JWT claim for issued at. | |
| static final JwtClaim | ISSUER = new JwtClaim("iss") |
| JWT claim for issuer. | |
| static final JwtClaim | NOT_BEFORE = new JwtClaim("nbf", Long.class) |
| JWT claim for not before. | |
| static final JwtClaim | SUBJECT = new JwtClaim("sub") |
| JWT claim for subject. | |
Protected Member Functions | |
| StandardJwtClaims () | |
| Class constructor. | |
|
static |
Checks if the claim should represent a date.
| claim | to check. |
|
static |
JWT claim for expiration.
Claim value is expected to be type of Long.
|
static |
JWT claim for issued at.
Claim value is expected to be type of Long.
|
static |
JWT claim for not before.
Claim value is expected to be type of Long.