public class OAuthRefreshTokenExpirationPolicy
extends org.apereo.cas.ticket.support.AbstractCasExpirationPolicy
| Modifier and Type | Class and Description |
|---|---|
static class |
OAuthRefreshTokenExpirationPolicy.OAuthRefreshTokenSovereignExpirationPolicy
An expiration policy that is independent from the parent ticket-granting ticket.
|
| Constructor and Description |
|---|
OAuthRefreshTokenExpirationPolicy(long timeToKillInSeconds)
Instantiates a new OAuth refresh token expiration policy.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getTimeToIdle() |
java.lang.Long |
getTimeToLive() |
boolean |
isExpired(org.apereo.cas.ticket.TicketState ticketState) |
protected boolean |
isRefreshTokenExpired(org.apereo.cas.ticket.TicketState ticketState)
Is refresh token expired ?
|
canEqual, equals, getName, hashCode, setNamepublic OAuthRefreshTokenExpirationPolicy(long timeToKillInSeconds)
timeToKillInSeconds - the time to kill in secondspublic boolean isExpired(org.apereo.cas.ticket.TicketState ticketState)
isExpired in interface org.apereo.cas.ticket.ExpirationPolicyisExpired in class org.apereo.cas.ticket.support.AbstractCasExpirationPolicypublic java.lang.Long getTimeToLive()
public java.lang.Long getTimeToIdle()
protected boolean isRefreshTokenExpired(org.apereo.cas.ticket.TicketState ticketState)
ticketState - the ticket state