Joi Chat v2.1.3版本的 MD5 值为:58ea59fdad6b082c42108185d2ef342d
以下内容为反编译后的 c.java 源代码,内容仅作参考
package z0;
import com.google.android.gms.common.api.Status;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
public final class c implements Runnable {
public static final a1.j f5521f = new a1.j("RevokeAccessOperation", new String[0]);
public final String c;
public final c1.k f5522e;
public c(String str) {
q.a.f(str);
this.c = str;
this.f5522e = new c1.k(null);
}
@Override
public final void run() {
a1.j jVar = f5521f;
Status status = Status.f1169q;
try {
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("https://accounts.google.com/o/oauth2/revoke?token=" + this.c).openConnection();
httpURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
int responseCode = httpURLConnection.getResponseCode();
if (responseCode == 200) {
status = Status.f1167o;
} else {
jVar.b("Unable to revoke access!", new Object[0]);
}
jVar.a("Response Code: " + responseCode, new Object[0]);
} catch (IOException e6) {
jVar.b("IOException when revoking access: ".concat(String.valueOf(e6.toString())), new Object[0]);
} catch (Exception e7) {
jVar.b("Exception when revoking access: ".concat(String.valueOf(e7.toString())), new Object[0]);
}
this.f5522e.w(status);
}
}