导航菜单

页面标题

页面副标题

Aplazo v2.4.68 - b.java 源代码

正在查看: Aplazo v2.4.68 应用的 b.java JAVA 源代码文件

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


package L9;

import P9.p;
import android.util.Log;
import com.google.android.gms.common.api.Status;
import com.google.android.gms.common.api.internal.o;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;

public final class b implements Runnable {

    public static final S9.a f7906e = new S9.a("RevokeAccessOperation", new String[0]);

    public final String f7907c;

    public final o f7908d;

    public b(String str) {
        p.d(str);
        this.f7907c = str;
        this.f7908d = new o(null);
    }

    @Override
    public final void run() {
        S9.a aVar = f7906e;
        Status status = Status.f21721i;
        try {
            HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("https://accounts.google.com/o/oauth2/revoke?token=" + this.f7907c).openConnection();
            httpURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
            int responseCode = httpURLConnection.getResponseCode();
            if (responseCode == 200) {
                status = Status.f21719g;
            } else {
                aVar.getClass();
                Log.e(aVar.f11291a, aVar.f11292b.concat("Unable to revoke access!"));
            }
            String str = "Response Code: " + responseCode;
            if (aVar.f11293c <= 3) {
                Log.d(aVar.f11291a, aVar.f11292b.concat(str));
            }
        } catch (IOException e10) {
            String concat = "IOException when revoking access: ".concat(String.valueOf(e10.toString()));
            aVar.getClass();
            Log.e(aVar.f11291a, aVar.f11292b.concat(concat));
        } catch (Exception e11) {
            String concat2 = "Exception when revoking access: ".concat(String.valueOf(e11.toString()));
            aVar.getClass();
            Log.e(aVar.f11291a, aVar.f11292b.concat(concat2));
        }
        this.f7908d.f(status);
    }
}