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

96 lines
3.0 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.p002firebaseauthapi;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public final class zzaal extends AbstractSafeParcelable implements zzxm {
public static final Parcelable.Creator<zzaal> CREATOR = new zzaam();
private final String zza;
private final long zzb;
private final boolean zzc;
private final String zzd;
private final String zze;
private final String zzf;
private final boolean zzg;
private final String zzh;
private zzza zzi;
public zzaal(String str, long j, boolean z, String str2, String str3, String str4, boolean z2, String str5) {
this.zza = Preconditions.checkNotEmpty(str);
this.zzb = j;
this.zzc = z;
this.zzd = str2;
this.zze = str3;
this.zzf = str4;
this.zzg = z2;
this.zzh = str5;
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeString(parcel, 1, this.zza, false);
SafeParcelWriter.writeLong(parcel, 2, this.zzb);
SafeParcelWriter.writeBoolean(parcel, 3, this.zzc);
SafeParcelWriter.writeString(parcel, 4, this.zzd, false);
SafeParcelWriter.writeString(parcel, 5, this.zze, false);
SafeParcelWriter.writeString(parcel, 6, this.zzf, false);
SafeParcelWriter.writeBoolean(parcel, 7, this.zzg);
SafeParcelWriter.writeString(parcel, 8, this.zzh, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzxm
public final String zza() throws JSONException {
JSONObject jSONObject = new JSONObject();
jSONObject.put("phoneNumber", this.zza);
String str = this.zze;
if (str != null) {
jSONObject.put("tenantId", str);
}
String str2 = this.zzf;
if (str2 != null) {
jSONObject.put("recaptchaToken", str2);
}
zzza zzzaVar = this.zzi;
if (zzzaVar != null) {
jSONObject.put("autoRetrievalInfo", zzzaVar.zza());
}
String str3 = this.zzh;
if (str3 != null) {
jSONObject.put("safetyNetToken", str3);
}
return jSONObject.toString();
}
public final boolean zzg() {
return this.zzg;
}
public final boolean zzf() {
return this.zzc;
}
public final void zze(zzza zzzaVar) {
this.zzi = zzzaVar;
}
public final String zzd() {
return this.zza;
}
public final String zzc() {
return this.zzd;
}
public final long zzb() {
return this.zzb;
}
}