导航菜单

页面标题

页面副标题

Minits v4.9.3.32 - RunnableC2655f.java 源代码

正在查看: Minits v4.9.3.32 应用的 RunnableC2655f.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.AbstractC2905h;
import r3.AbstractC2906i;
import s3.C3034s;
import u3.AbstractC3204t;
import x3.C3459a;

public final class RunnableC2655f implements Runnable {

    public static final C3459a f22406n = new C3459a("RevokeAccessOperation", new String[0]);

    public final String f22407l;

    public final C3034s f22408m = new C3034s(null);

    public RunnableC2655f(String str) {
        this.f22407l = AbstractC3204t.f(str);
    }

    public static AbstractC2905h a(String str) {
        if (str == null) {
            return AbstractC2906i.a(new Status(4), null);
        }
        RunnableC2655f runnableC2655f = new RunnableC2655f(str);
        new Thread(runnableC2655f).start();
        return runnableC2655f.f22408m;
    }

    @Override
    public final void run() {
        Status status = Status.f15132s;
        try {
            HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("https://accounts.google.com/o/oauth2/revoke?token=" + this.f22407l).openConnection();
            httpURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
            int responseCode = httpURLConnection.getResponseCode();
            if (responseCode == 200) {
                status = Status.f15130q;
            } else {
                f22406n.b("Unable to revoke access!", new Object[0]);
            }
            f22406n.a("Response Code: " + responseCode, new Object[0]);
        } catch (IOException e8) {
            f22406n.b("IOException when revoking access: ".concat(String.valueOf(e8.toString())), new Object[0]);
        } catch (Exception e9) {
            f22406n.b("Exception when revoking access: ".concat(String.valueOf(e9.toString())), new Object[0]);
        }
        this.f22408m.g(status);
    }
}