class Oauth2Controller implements Oauth2Api {

    @Override
    public TokenResponseTO getToken(Map<String, String> headers, Map<String, String> parameters) throws IOException {
        return mapper.map(oauth2Service.getToken(headers, new Parameters(parameters)));
    }

    public  Oauth2Controller(Oauth2Service oauth2Service);

}