/** * Returns the Expiration time {@code (exp)} claim which identifies the expiration time * on or after which the JWT MUST NOT be accepted for processing. * * @return the Expiration time on or after which the JWT MUST NOT be accepted for processing */ default Instant getExpiresAt() { return this.getClaimAsInstant(JwtClaimNames.EXP); }
/** * Returns the Issued at {@code (iat)} claim which identifies the time at which the JWT was issued. * * @return the Issued at claim which identifies the time at which the JWT was issued */ default Instant getIssuedAt() { return this.getClaimAsInstant(JwtClaimNames.IAT); }
/** * Returns the Not Before {@code (nbf)} claim which identifies the time * before which the JWT MUST NOT be accepted for processing. * * @return the Not Before time before which the JWT MUST NOT be accepted for processing */ default Instant getNotBefore() { return this.getClaimAsInstant(JwtClaimNames.NBF); }
/** * Returns the Expiration time {@code (exp)} claim which identifies the expiration time * on or after which the JWT MUST NOT be accepted for processing. * * @return the Expiration time on or after which the JWT MUST NOT be accepted for processing */ default Instant getExpiresAt() { return this.getClaimAsInstant(JwtClaimNames.EXP); }
/** * Returns the Not Before {@code (nbf)} claim which identifies the time * before which the JWT MUST NOT be accepted for processing. * * @return the Not Before time before which the JWT MUST NOT be accepted for processing */ default Instant getNotBefore() { return this.getClaimAsInstant(JwtClaimNames.NBF); }
/** * Returns the Issued at {@code (iat)} claim which identifies the time at which the JWT was issued. * * @return the Issued at claim which identifies the time at which the JWT was issued */ default Instant getIssuedAt() { return this.getClaimAsInstant(JwtClaimNames.IAT); }