com.twitter.clientlib.auth.RetryingOAuth Maven / Gradle / Ivy
package com.twitter.clientlib.auth;
import com.twitter.clientlib.ApiException;
import com.twitter.clientlib.Pair;
import okhttp3.Interceptor;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import org.apache.oltu.oauth2.client.OAuthClient;
import org.apache.oltu.oauth2.client.request.OAuthBearerClientRequest;
import org.apache.oltu.oauth2.client.request.OAuthClientRequest;
import org.apache.oltu.oauth2.client.request.OAuthClientRequest.TokenRequestBuilder;
import org.apache.oltu.oauth2.client.response.OAuthJSONAccessTokenResponse;
import org.apache.oltu.oauth2.common.exception.OAuthProblemException;
import org.apache.oltu.oauth2.common.exception.OAuthSystemException;
import org.apache.oltu.oauth2.common.message.types.GrantType;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URI;
import java.util.Map;
import java.util.List;
// This file is required for OAuth2 refresh token when using the Interceptor.
// The file is generated automatically by openapi-generator and causes compilation errors.
// Creating this empty class to fix these errors.
// TODO - what are the options to avoid this class.
public class RetryingOAuth {
}