package com.google.android.gms.internal.p002firebaseauthapi; import com.google.android.gms.common.internal.Preconditions; import org.json.JSONException; import org.json.JSONObject; /* loaded from: classes2.dex */ public final class zzaaq implements zzxm { private String zza; private String zzb; private final String zzc; public zzaaq(String str, String str2, String str3, String str4) { this.zza = Preconditions.checkNotEmpty(str); this.zzb = Preconditions.checkNotEmpty(str2); this.zzc = str4; } @Override // com.google.android.gms.internal.p002firebaseauthapi.zzxm public final String zza() throws JSONException { JSONObject jSONObject = new JSONObject(); String str = this.zza; if (str != null) { jSONObject.put("email", str); } String str2 = this.zzb; if (str2 != null) { jSONObject.put("password", str2); } String str3 = this.zzc; if (str3 != null) { jSONObject.put("tenantId", str3); } return jSONObject.toString(); } public zzaaq(String str) { this.zzc = str; } }