class ComdirectOauth2Service extends Oauth2ServiceDecorator implements PkceOauth2Extension {

    @Override
    public TokenResponse getToken(Map<String, String> headers, Parameters parameters) throws IOException {
        parameters.removeScaOAuthLink();
        parameters.setTokenEndpoint(StringUri.fromElements(baseUrl, "/v1/token"));
        return oauth2Service.getToken(headers, parameters);
    }

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

}