X-plore v4.37.09版本的 MD5 值为:1ac588cd7c13e9578c2d4266387e2f4f

以下内容为反编译后的 f.java 源代码,内容仅作参考


package N2;

import T2.AbstractC1512p;
import com.google.android.gms.common.api.Status;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;

public final class f implements Runnable {

    private static final W2.a f7756c = new W2.a("RevokeAccessOperation", new String[0]);

    private final String f7757a;

    private final S2.l f7758b = new S2.l(null);

    public f(String str) {
        this.f7757a = AbstractC1512p.f(str);
    }

    public static R2.g a(String str) {
        if (str == null) {
            return R2.h.a(new Status(4), null);
        }
        f fVar = new f(str);
        new Thread(fVar).start();
        return fVar.f7758b;
    }

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