Interface OAuth20RefreshTokenFactory
-
- All Superinterfaces:
org.apereo.cas.ticket.TicketFactory
public interface OAuth20RefreshTokenFactory extends org.apereo.cas.ticket.TicketFactoryFactory to create OAuth refresh tokens.- Since:
- 5.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OAuth20RefreshTokencreate(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.ticket.TicketGrantingTicket ticketGrantingTicket, java.util.Collection<java.lang.String> scopes, java.lang.String clientId, java.lang.String accessToken, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> requestClaims, OAuth20ResponseTypes responseType, OAuth20GrantTypes grantType)Create a refresh token.
-
-
-
Method Detail
-
create
OAuth20RefreshToken create(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.ticket.TicketGrantingTicket ticketGrantingTicket, java.util.Collection<java.lang.String> scopes, java.lang.String clientId, java.lang.String accessToken, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> requestClaims, OAuth20ResponseTypes responseType, OAuth20GrantTypes grantType)
Create a refresh token.- Parameters:
service- the serviceauthentication- the authenticationticketGrantingTicket- the ticket granting ticketscopes- the scopesclientId- the client idaccessToken- the access token created with this refresh tokenrequestClaims- the request claimsresponseType- the response typegrantType- the grant type- Returns:
- the refresh token
-
-