Package org.apereo.cas.ticket.code
Interface OAuth20CodeFactory
-
- All Superinterfaces:
org.apereo.cas.ticket.TicketFactory
public interface OAuth20CodeFactory extends org.apereo.cas.ticket.TicketFactoryFactory to create OAuth codes.- Since:
- 5.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OAuth20Codecreate(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 codeChallenge, java.lang.String codeChallengeMethod, java.lang.String clientId, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> requestClaims, OAuth20ResponseTypes responseType, OAuth20GrantTypes grantType)Create an OAuth code.
-
-
-
Method Detail
-
create
OAuth20Code 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 codeChallenge, java.lang.String codeChallengeMethod, java.lang.String clientId, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> requestClaims, OAuth20ResponseTypes responseType, OAuth20GrantTypes grantType)
Create an OAuth code.- Parameters:
service- the serviceauthentication- the authenticationticketGrantingTicket- the ticket granting ticketscopes- the scopescodeChallenge- the code challengecodeChallengeMethod- the code challenge methodclientId- the client idrequestClaims- the claimsresponseType- the response typegrantType- the grant type- Returns:
- the OAuth code
-
-