Removed unused method from OAuth2HttpAdapter.