what-the-bank/sources/com/google/android/gms/internal/p002firebaseauthapi/zzabj.java

34 lines
1.1 KiB
Java

package com.google.android.gms.internal.p002firebaseauthapi;
import com.google.android.gms.common.util.Strings;
import com.huawei.hms.support.feature.result.CommonConstant;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public final class zzabj implements zzxn {
private static final String zza = "zzabj";
private String zzb;
private String zzc;
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzxn
public final /* synthetic */ zzxn zza(String str) throws zzvg {
try {
JSONObject jSONObject = new JSONObject(str);
this.zzb = Strings.emptyToNull(jSONObject.optString(CommonConstant.KEY_ID_TOKEN, null));
this.zzc = Strings.emptyToNull(jSONObject.optString("refreshToken", null));
return this;
} catch (NullPointerException | JSONException e) {
throw zzabk.zza(e, zza, str);
}
}
public final String zzc() {
return this.zzc;
}
public final String zzb() {
return this.zzb;
}
}