正在查看: Sandridge Go v2025.2.170190457 应用的 f.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Sandridge Go v2025.2.170190457 应用的 f.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package E3;
import J3.AbstractC0450q;
import com.google.android.gms.common.api.Status;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
public final class f implements Runnable {
private static final M3.a f1431q = new M3.a("RevokeAccessOperation", new String[0]);
private final String f1432o;
private final I3.m f1433p = new I3.m(null);
public f(String str) {
this.f1432o = AbstractC0450q.e(str);
}
public static H3.f a(String str) {
if (str == null) {
return H3.g.a(new Status(4), null);
}
f fVar = new f(str);
new Thread(fVar).start();
return fVar.f1433p;
}
@Override
public final void run() {
Status status = Status.f14245w;
try {
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("https://accounts.google.com/o/oauth2/revoke?token=" + this.f1432o).openConnection();
httpURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
int responseCode = httpURLConnection.getResponseCode();
if (responseCode == 200) {
status = Status.f14243u;
} else {
f1431q.b("Unable to revoke access!", new Object[0]);
}
f1431q.a("Response Code: " + responseCode, new Object[0]);
} catch (IOException e6) {
f1431q.b("IOException when revoking access: ".concat(String.valueOf(e6.toString())), new Object[0]);
} catch (Exception e7) {
f1431q.b("Exception when revoking access: ".concat(String.valueOf(e7.toString())), new Object[0]);
}
this.f1433p.f(status);
}
}