public class DefaultRefreshTokenFactory extends java.lang.Object implements RefreshTokenFactory
| Modifier and Type | Field and Description |
|---|---|
protected org.apereo.cas.ticket.ExpirationPolicy |
expirationPolicy
ExpirationPolicy for refresh tokens.
|
protected org.apereo.cas.ticket.UniqueTicketIdGenerator |
refreshTokenIdGenerator
Default instance for the ticket id generator.
|
| Constructor and Description |
|---|
DefaultRefreshTokenFactory(org.apereo.cas.ticket.ExpirationPolicy expirationPolicy) |
DefaultRefreshTokenFactory(org.apereo.cas.ticket.UniqueTicketIdGenerator refreshTokenIdGenerator,
org.apereo.cas.ticket.ExpirationPolicy expirationPolicy) |
| Modifier and Type | Method and Description |
|---|---|
org.apereo.cas.ticket.refreshtoken.RefreshToken |
create(org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.ticket.TicketGrantingTicket ticketGrantingTicket)
Create a refresh token.
|
<T extends org.apereo.cas.ticket.TicketFactory> |
get(java.lang.Class<? extends org.apereo.cas.ticket.Ticket> clazz) |
protected final org.apereo.cas.ticket.UniqueTicketIdGenerator refreshTokenIdGenerator
protected final org.apereo.cas.ticket.ExpirationPolicy expirationPolicy
public DefaultRefreshTokenFactory(org.apereo.cas.ticket.ExpirationPolicy expirationPolicy)
public DefaultRefreshTokenFactory(org.apereo.cas.ticket.UniqueTicketIdGenerator refreshTokenIdGenerator,
org.apereo.cas.ticket.ExpirationPolicy expirationPolicy)
public org.apereo.cas.ticket.refreshtoken.RefreshToken create(org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.ticket.TicketGrantingTicket ticketGrantingTicket)
RefreshTokenFactorycreate in interface RefreshTokenFactoryservice - the serviceauthentication - the authenticationticketGrantingTicket - the ticket granting ticketpublic <T extends org.apereo.cas.ticket.TicketFactory> T get(java.lang.Class<? extends org.apereo.cas.ticket.Ticket> clazz)
get in interface org.apereo.cas.ticket.TicketFactory