default OAuth20Code create(final Service service,
                               final Authentication authentication,
                               final Ticket ticketGrantingTicket,
                               final Collection<String> scopes,
                               final String clientId,
                               final OAuth20ResponseTypes responseType,
                               final OAuth20GrantTypes grantType) throws Throwable {
        return create(service, authentication, ticketGrantingTicket, scopes,
            null, null, clientId, new HashMap<>(), responseType, grantType);
    }
Create OAuth code without code challenge or method.

@param service              the service
@param authentication       the authentication
@param ticketGrantingTicket the ticket granting ticket
@param scopes               the scopes
@param clientId             the client id
@param responseType         the response type
@param grantType            the grant type
@return the oauth code
@throws Throwable the throwable
support/cas-server-support-oauth-api/src/main/java/org/apereo/cas/ticket/code/OAuth20CodeFactory.java