public abstract class AbstractToken
extends java.lang.Object
implements java.io.Serializable
It is highly recommended that implementations be immutable.
Modifier | Constructor and Description |
---|---|
protected |
AbstractToken(java.lang.String tokenValue,
java.time.Instant issuedAt,
java.time.Instant expiresAt) |
Modifier and Type | Method and Description |
---|---|
java.time.Instant |
getExpiresAt() |
java.time.Instant |
getIssuedAt() |
java.lang.String |
getTokenValue() |