正在查看: Minits v4.9.3.32 应用的 RunnableC3707f.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Minits v4.9.3.32 应用的 RunnableC3707f.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package n3;
import com.google.android.gms.common.api.Status;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import r3.AbstractC4092h;
import r3.AbstractC4093i;
import s3.C4229s;
import u3.AbstractC4419t;
import x3.C4768a;
public final class RunnableC3707f implements Runnable {
public static final C4768a f33850n = new C4768a("RevokeAccessOperation", new String[0]);
public final String f33851l;
public final C4229s f33852m = new C4229s(null);
public RunnableC3707f(String str) {
this.f33851l = AbstractC4419t.f(str);
}
public static AbstractC4092h a(String str) {
if (str == null) {
return AbstractC4093i.a(new Status(4), null);
}
RunnableC3707f runnableC3707f = new RunnableC3707f(str);
new Thread(runnableC3707f).start();
return runnableC3707f.f33852m;
}
@Override
public final void run() {
Status status = Status.f21487s;
try {
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("https://accounts.google.com/o/oauth2/revoke?token=" + this.f33851l).openConnection();
httpURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
int responseCode = httpURLConnection.getResponseCode();
if (responseCode == 200) {
status = Status.f21485q;
} else {
f33850n.b("Unable to revoke access!", new Object[0]);
}
f33850n.a("Response Code: " + responseCode, new Object[0]);
} catch (IOException e10) {
f33850n.b("IOException when revoking access: ".concat(String.valueOf(e10.toString())), new Object[0]);
} catch (Exception e11) {
f33850n.b("Exception when revoking access: ".concat(String.valueOf(e11.toString())), new Object[0]);
}
this.f33852m.g(status);
}
}