导航菜单

页面标题

页面副标题

多多分期 v4.1.2 - f.java 源代码

正在查看: 多多分期 v4.1.2 应用的 f.java JAVA 源代码文件

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


package d.l.a.c.a.a.e.c;

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 {

    public static final d.l.a.c.c.l.a f7180e = new d.l.a.c.c.l.a("RevokeAccessOperation", new String[0]);

    public final String f7181c;

    public final d.l.a.c.c.j.l.p f7182d;

    public f(String str) {
        d.l.a.c.c.k.p.e(str);
        this.f7181c = str;
        this.f7182d = new d.l.a.c.c.j.l.p(null);
    }

    public static d.l.a.c.c.j.f a(String str) {
        if (str == null) {
            return d.l.a.c.c.j.g.a(new Status(4), null);
        }
        f fVar = new f(str);
        new Thread(fVar).start();
        return fVar.f7182d;
    }

    @Override
    public final void run() {
        Status status = Status.f4502j;
        try {
            String valueOf = String.valueOf(this.f7181c);
            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.f4500h;
            } else {
                f7180e.b("Unable to revoke access!", new Object[0]);
            }
            d.l.a.c.c.l.a aVar = f7180e;
            StringBuilder sb = new StringBuilder(26);
            sb.append("Response Code: ");
            sb.append(responseCode);
            aVar.a(sb.toString(), new Object[0]);
        } catch (IOException e2) {
            d.l.a.c.c.l.a aVar2 = f7180e;
            String valueOf2 = String.valueOf(e2.toString());
            aVar2.b(valueOf2.length() != 0 ? "IOException when revoking access: ".concat(valueOf2) : new String("IOException when revoking access: "), new Object[0]);
        } catch (Exception e3) {
            d.l.a.c.c.l.a aVar3 = f7180e;
            String valueOf3 = String.valueOf(e3.toString());
            aVar3.b(valueOf3.length() != 0 ? "Exception when revoking access: ".concat(valueOf3) : new String("Exception when revoking access: "), new Object[0]);
        }
        this.f7182d.f(status);
    }
}