星辰影院解锁vip v1.0.4版本的 MD5 值为:3d99bbcbb0d5d5e568b9f6134424c24e
以下内容为反编译后的 WbAuthActivity.java 源代码,内容仅作参考
package com.iqiyi.pui.login.third;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import com.sensorsdata.analytics.android.sdk.SensorsDataInstrumented;
import com.sensorsdata.analytics.android.sdk.aop.push.PushAutoTrackHelper;
import com.sina.weibo.sdk.auth.AuthInfo;
import com.sina.weibo.sdk.auth.WbAuthListener;
import com.sina.weibo.sdk.openapi.IWBAPI;
import com.sina.weibo.sdk.openapi.WBAPIFactory;
public class WbAuthActivity extends Activity {
private IWBAPI a;
public class b implements WbAuthListener {
private b() {
}
}
private void a() {
AuthInfo authInfo = new AuthInfo(this, com.iqiyi.psdk.base.c.b().a().f6791h, "https://api.weibo.com/oauth2/default.html", "email,direct_messages_read,direct_messages_write,friendships_groups_read,friendships_groups_write,statuses_to_me_read,follow_app_official_microblog,invitation_write");
IWBAPI createWBAPI = WBAPIFactory.createWBAPI(this);
this.a = createWBAPI;
createWBAPI.registerApp(this, authInfo);
this.a.authorizeClient(new b());
}
@Override
protected void onActivityResult(int i2, int i3, Intent intent) {
super.onActivityResult(i2, i3, intent);
IWBAPI iwbapi = this.a;
if (iwbapi != null) {
iwbapi.authorizeCallback(i2, i3, intent);
}
}
@Override
protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
a();
}
@Override
@SensorsDataInstrumented
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);
PushAutoTrackHelper.onNewIntent(this, intent);
}
}