@NotExtensible @Mutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class RefreshToken extends Token
Constructor and Description |
---|
RefreshToken(java.lang.String applicationId,
java.util.Date generateTimestamp,
long maxValiditySeconds,
java.util.Set<java.lang.String> scopeIds)
Construct a new refresh token instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this refresh token to the provided
buffer.
|
equals, getApplicationId, getGenerateTimestamp, getMaxValiditySeconds, getScopeIds, getValue, hashCode, isExpired, setValue, toString
public RefreshToken(java.lang.String applicationId, java.util.Date generateTimestamp, long maxValiditySeconds, java.util.Set<java.lang.String> scopeIds)
applicationId
- The application ID with which this token is
associated. Must not be null.generateTimestamp
- The time that this token was generated. Must not
be null.maxValiditySeconds
- The maximum length of time in seconds that this
token will be considered valid. Must not be null
and must not be negative.scopeIds
- The set of scopes for which the client has been authorized.
Must not be null.