package com.google.android.gms.internal.p002firebaseauthapi; import android.text.TextUtils; import com.google.android.gms.common.internal.Preconditions; import org.json.JSONObject; /* loaded from: classes.dex */ public final class zzaeq implements zzaek { private final String zza; private final String zzb; private zzaeq(String str, String str2) { this.zza = Preconditions.checkNotEmpty(str); this.zzb = str2; } public static zzaeq zzb(String str, String str2) { return new zzaeq(str, str2); } @Override // com.google.android.gms.internal.p002firebaseauthapi.zzabc public final String zza() { JSONObject jSONObject = new JSONObject(); jSONObject.put("idToken", this.zza); if (!TextUtils.isEmpty(this.zzb)) { jSONObject.put("tenantId", this.zzb); } jSONObject.put("totpEnrollmentInfo", new JSONObject()); return jSONObject.toString(); } }