class ComdirectOauth2Service extends Oauth2ServiceDecorator implements PkceOauth2Extension {

    @Override
    public URI getAuthorizationRequestUri(Map<String, String> headers, Parameters parameters) throws IOException {
        requireValid(validateGetAuthorizationRequestUri(headers, parameters));

        parameters.setAuthorizationEndpoint(parameters.removeScaOAuthLink());

        return oauth2Service.getAuthorizationRequestUri(headers, parameters);
    }

    private  ComdirectOauth2Service(Oauth2Service oauth2Service, String baseUrl, Aspsp aspsp);

}