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 zzzc implements zzxm { private final String zza; private final String zzb = "http://localhost"; private final String zzc; public zzzc(String str, String str2) { this.zza = Preconditions.checkNotEmpty(str); this.zzc = str2; } @Override // com.google.android.gms.internal.p002firebaseauthapi.zzxm public final String zza() throws JSONException { JSONObject jSONObject = new JSONObject(); jSONObject.put("identifier", this.zza); jSONObject.put("continueUri", this.zzb); String str = this.zzc; if (str != null) { jSONObject.put("tenantId", str); } return jSONObject.toString(); } }