Interface AccessTokenFactory
-
- All Superinterfaces:
org.apereo.cas.ticket.TicketFactory
public interface AccessTokenFactory extends org.apereo.cas.ticket.TicketFactoryFactory to create OAuth access tokens.- Since:
- 5.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessTokencreate(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)Create an access token.
-
-
-
Method Detail
-
create
AccessToken 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)
Create an access token.- Parameters:
service- the serviceauthentication- the authenticationticketGrantingTicket- the ticket granting ticketscopes- the scopes- Returns:
- the access token
-
-