导航菜单

页面标题

页面副标题

Kredinesia v8.3.1 - RunnableC1600c.java 源代码

正在查看: Kredinesia v8.3.1 应用的 RunnableC1600c.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package m3;

import J1.l;
import com.google.android.gms.common.api.Status;
import com.google.api.client.http.UrlEncodedParser;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import r3.C;

public final class RunnableC1600c implements Runnable {

    public static final l f12731c = new l("RevokeAccessOperation", new String[0]);
    public final String a;

    public final q3.l f12732b;

    public RunnableC1600c(String str) {
        C.e(str);
        this.a = str;
        this.f12732b = new q3.l(null);
    }

    @Override
    public final void run() {
        l lVar = f12731c;
        Status status = Status.f7863R;
        try {
            HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("https://accounts.google.com/o/oauth2/revoke?token=" + this.a).openConnection();
            httpURLConnection.setRequestProperty("Content-Type", UrlEncodedParser.CONTENT_TYPE);
            int responseCode = httpURLConnection.getResponseCode();
            if (responseCode == 200) {
                status = Status.f7861P;
            } else {
                lVar.f("Unable to revoke access!", new Object[0]);
            }
            lVar.d("Response Code: " + responseCode, new Object[0]);
        } catch (IOException e10) {
            lVar.f("IOException when revoking access: ".concat(String.valueOf(e10.toString())), new Object[0]);
        } catch (Exception e11) {
            lVar.f("Exception when revoking access: ".concat(String.valueOf(e11.toString())), new Object[0]);
        }
        this.f12732b.e(status);
    }
}