what-the-bank/sources/com/huawei/hms/support/account/result/GetAssistTokenResult.java

27 lines
816 B
Java

package com.huawei.hms.support.account.result;
import android.text.TextUtils;
import com.huawei.hms.support.feature.result.AbstractAuthResult;
import com.huawei.hms.support.feature.result.CommonConstant;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public class GetAssistTokenResult extends AbstractAuthResult {
private String assistToken;
public GetAssistTokenResult fromJson(String str) throws JSONException {
if (TextUtils.isEmpty(str)) {
return this;
}
JSONObject jSONObject = new JSONObject(str);
this.assistToken = jSONObject.getString(CommonConstant.KEY_ASSIST_TOKEN);
jsonToSuper(jSONObject);
return this;
}
public String getAssistToken() {
return this.assistToken;
}
}