Commit 72b41201 authored by Benjamin Beeker's avatar Benjamin Beeker

oauth-servlet test

parent 31d5cb48
Pipeline #10836143 passed with stages
in 2 minutes and 24 seconds
......@@ -12,7 +12,6 @@ import okhttp3.OkHttpClient;
import okhttp3.RequestBody;
import org.apache.commons.lang3.RandomStringUtils;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Map;
......@@ -65,7 +64,7 @@ public class TwitchAuthenticator {
return targetUrl;
}
public Observable<OAuthResponse> getOAuthToken(String authCode) throws IOException {
public Observable<OAuthResponse> getOAuthToken(String authCode) {
OkHttpClient client = new OkHttpClient.Builder().build();
Map<String, String> postData = newHashMap();
postData.put("client_id", clientInformation.getClientId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment