导航菜单

页面标题

页面副标题

CashVia v1.6.02 - b.java 源代码

正在查看: CashVia v1.6.02 应用的 b.java JAVA 源代码文件

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


package E0;

import H0.l;
import J0.t;
import android.util.Log;
import com.google.android.gms.common.api.Status;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;

public final class b implements Runnable {

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

    public final String f138a;

    public final l f139b;

    public b(String str) {
        t.e(str);
        this.f138a = str;
        this.f139b = new l(null);
    }

    @Override
    public final void run() {
        M0.a aVar = f137c;
        Status status = Status.f2403g;
        try {
            String valueOf = String.valueOf(this.f138a);
            HttpURLConnection httpURLConnection = (HttpURLConnection) new URL(valueOf.length() != 0 ? "https://accounts.google.com/o/oauth2/revoke?token=".concat(valueOf) : new String("https://accounts.google.com/o/oauth2/revoke?token=")).openConnection();
            httpURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
            int responseCode = httpURLConnection.getResponseCode();
            if (responseCode == 200) {
                status = Status.f2401e;
            } else {
                aVar.getClass();
                Log.e((String) aVar.f681b, ((String) aVar.f683d).concat("Unable to revoke access!"));
            }
            StringBuilder sb = new StringBuilder(26);
            sb.append("Response Code: ");
            sb.append(responseCode);
            String sb2 = sb.toString();
            if (aVar.f682c <= 3) {
                Log.d((String) aVar.f681b, ((String) aVar.f683d).concat(sb2));
            }
        } catch (IOException e2) {
            String valueOf2 = String.valueOf(e2.toString());
            String concat = valueOf2.length() != 0 ? "IOException when revoking access: ".concat(valueOf2) : new String("IOException when revoking access: ");
            aVar.getClass();
            Log.e((String) aVar.f681b, ((String) aVar.f683d).concat(concat));
        } catch (Exception e3) {
            String valueOf3 = String.valueOf(e3.toString());
            String concat2 = valueOf3.length() != 0 ? "Exception when revoking access: ".concat(valueOf3) : new String("Exception when revoking access: ");
            aVar.getClass();
            Log.e((String) aVar.f681b, ((String) aVar.f683d).concat(concat2));
        }
        this.f139b.J(status);
    }
}