Interface OAuth20RefreshToken
- All Superinterfaces:
org.apereo.cas.ticket.AuthenticationAwareTicket,Comparable<org.apereo.cas.ticket.Ticket>,OAuth20Token,Serializable,org.apereo.cas.ticket.ServiceTicket,org.apereo.cas.ticket.Ticket,org.apereo.cas.ticket.TicketGrantingTicketAwareTicket
A refresh token is an OAuth token which can be used multiple times and has a very long lifetime.
It is used to create new access tokens.
- Since:
- 5.0.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets descendant OAuth access tokens.Methods inherited from interface org.apereo.cas.ticket.AuthenticationAwareTicket
getAuthenticationMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.apereo.cas.ticket.OAuth20Token
getClaims, getClientId, getGrantType, getResponseType, getScopes, isCodeMethods inherited from interface org.apereo.cas.ticket.ServiceTicket
getServiceMethods inherited from interface org.apereo.cas.ticket.Ticket
getCountOfUses, getCreationTime, getExpirationPolicy, getId, getLastTimeUsed, getPrefix, getPreviousTimeUsed, isExpired, markTicketExpired, updateMethods inherited from interface org.apereo.cas.ticket.TicketGrantingTicketAwareTicket
getTicketGrantingTicket
-
Field Details
-
PREFIX
The prefix for refresh tokens.- See Also:
-
-
Method Details
-
getAccessTokens
Gets descendant OAuth access tokens. The revocation of a refresh token may cause the revocation of related tokens and the underlying authorization grant. If a refresh token is revoked, the authorization server SHOULD also invalidate all access tokens based on the same authorization grant. Here, we track the access tokens.- Returns:
- the access tokens
- Since:
- 6.2
-