@Entity public class RefreshTokenImpl extends OAuthCodeImpl implements RefreshToken
PREFIX
Constructor and Description |
---|
RefreshTokenImpl()
Instantiates a new OAuth refresh token.
|
RefreshTokenImpl(java.lang.String id,
Service service,
Authentication authentication,
ExpirationPolicy expirationPolicy)
Constructs a new refresh token with unique id for a service and authentication.
|
equals, getAuthentication, getGrantingTicket, getService, grantProxyGrantingTicket, isFromNewLogin, isValidFor
compareTo, getCountOfUses, getCreationTime, getExpirationPolicy, getId, getLastTimeUsed, getPreviousTimeUsed, hashCode, isExpired, isExpiredInternal, toString, update
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAuthentication
getService, grantProxyGrantingTicket, isFromNewLogin, isValidFor
getCountOfUses, getCreationTime, getExpirationPolicy, getGrantingTicket, getId, isExpired
public RefreshTokenImpl()
public RefreshTokenImpl(java.lang.String id, Service service, Authentication authentication, ExpirationPolicy expirationPolicy)
id
- the unique identifier for the ticket.service
- the service this ticket is for.authentication
- the authentication.expirationPolicy
- the expiration policy.java.lang.IllegalArgumentException
- if the service or authentication are null.