正在查看: Perplexity v2.48.1 应用的 c.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Perplexity v2.48.1 应用的 c.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package Ec;
import D5.A;
import Hc.C0030p;
import Ic.D;
import android.util.Log;
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 A y = new A("RevokeAccessOperation", new String[0]);
public final String w;
public final C0030p x;
public c(String str) {
D.e(str);
this.w = str;
this.x = new C0030p(null);
}
@Override
public final void run() {
A a = y;
Status status = Status.Z;
try {
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("https://accounts.google.com/o/oauth2/revoke?token=" + this.w).openConnection();
httpURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
int responseCode = httpURLConnection.getResponseCode();
if (responseCode == 200) {
status = Status.X;
} else {
a.getClass();
Log.e((String) a.y, ((String) a.z).concat("Unable to revoke access!"));
}
a.o("Response Code: " + responseCode, new Object[0]);
} catch (IOException e) {
String concat = "IOException when revoking access: ".concat(String.valueOf(e.toString()));
a.getClass();
Log.e((String) a.y, ((String) a.z).concat(concat));
} catch (Exception e2) {
String concat2 = "Exception when revoking access: ".concat(String.valueOf(e2.toString()));
a.getClass();
Log.e((String) a.y, ((String) a.z).concat(concat2));
}
this.x.P(status);
}
}