Joi Chat v2.0.4版本的 MD5 值为:a2be861183b8d7b3c0099889dd61911f
以下内容为反编译后的 c.java 源代码,内容仅作参考
package a1;
import com.google.android.gms.common.api.Status;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
public final class c implements Runnable {
public static final f1.a f12f = new f1.a("RevokeAccessOperation", new String[0]);
public final String c;
public final c1.k f13e;
public c(String str) {
j1.a.i(str);
this.c = str;
this.f13e = new c1.k(null);
}
@Override
public final void run() {
f1.a aVar = f12f;
Status status = Status.f1112q;
try {
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("https://accounts.google.com/o/oauth2/revoke?token=" + this.c).openConnection();
httpURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
int responseCode = httpURLConnection.getResponseCode();
if (responseCode == 200) {
status = Status.f1110o;
} else {
aVar.b("Unable to revoke access!", new Object[0]);
}
aVar.a("Response Code: " + responseCode, new Object[0]);
} catch (IOException e5) {
aVar.b("IOException when revoking access: ".concat(String.valueOf(e5.toString())), new Object[0]);
} catch (Exception e6) {
aVar.b("Exception when revoking access: ".concat(String.valueOf(e6.toString())), new Object[0]);
}
this.f13e.w(status);
}
}