package com.google.android.gms.internal.p002firebaseauthapi; import android.text.TextUtils; import com.google.android.gms.common.Scopes; import java.util.List; import org.json.JSONException; import org.json.JSONObject; /* loaded from: classes.dex */ public final class zzacy implements zzabd { private static final String zza = "zzacy"; private String zzb; private String zzc; private String zzd; private String zze; private boolean zzf; private long zzg; private List zzh; private String zzi; @Override // com.google.android.gms.internal.p002firebaseauthapi.zzabd public final /* bridge */ /* synthetic */ zzabd zza(String str) { try { JSONObject jSONObject = new JSONObject(str); this.zzb = jSONObject.optString("localId", null); this.zzc = jSONObject.optString(Scopes.EMAIL, null); this.zzd = jSONObject.optString("idToken", null); this.zze = jSONObject.optString("refreshToken", null); this.zzf = jSONObject.optBoolean("isNewUser", false); this.zzg = jSONObject.optLong("expiresIn", 0L); this.zzh = zzady.zzg(jSONObject.optJSONArray("mfaInfo")); this.zzi = jSONObject.optString("mfaPendingCredential", null); return this; } catch (NullPointerException | JSONException e10) { throw zzafg.zza(e10, zza, str); } } public final long zzb() { return this.zzg; } public final String zzc() { return this.zzd; } public final String zzd() { return this.zzi; } public final String zze() { return this.zze; } public final List zzf() { return this.zzh; } public final boolean zzg() { return !TextUtils.isEmpty(this.zzi); } public final boolean zzh() { return this.zzf; } }