正在查看: OVO v3.139.0 应用的 kdk.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: OVO v3.139.0 应用的 kdk.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package o.i;
import com.google.android.gms.common.api.Status;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
public final class kdk implements Runnable {
public static final y09 c = new y09("RevokeAccessOperation", new String[0]);
public final String a;
public final ene b;
public kdk(String str) {
njb.e(str);
this.a = str;
this.b = new ene(null);
}
@Override
public final void run() {
y09 y09Var = c;
Status status = Status.g;
try {
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("https://accounts.google.com/o/oauth2/revoke?token=" + this.a).openConnection();
httpURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
int responseCode = httpURLConnection.getResponseCode();
if (responseCode == 200) {
status = Status.f45e;
} else {
y09Var.a("Unable to revoke access!", new Object[0]);
}
String str = "Response Code: " + responseCode;
Object[] objArr = new Object[0];
if (y09Var.c <= 3) {
y09Var.a(str, objArr);
}
} catch (IOException e4) {
y09Var.a("IOException when revoking access: ".concat(String.valueOf(e4.toString())), new Object[0]);
} catch (Exception e5) {
y09Var.a("Exception when revoking access: ".concat(String.valueOf(e5.toString())), new Object[0]);
}
this.b.e(status);
}
}