42 lines
1.4 KiB
Java
42 lines
1.4 KiB
Java
package com.google.android.gms.internal.p002firebaseauthapi;
|
|
|
|
import com.google.android.gms.common.api.Status;
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
import com.google.android.gms.tasks.TaskCompletionSource;
|
|
import com.google.firebase.auth.internal.zzg;
|
|
import com.google.firebase.auth.internal.zzx;
|
|
|
|
/* loaded from: classes2.dex */
|
|
final class zzvy extends zzyb {
|
|
private final zzsq zza;
|
|
|
|
public zzvy(String str, String str2, String str3) {
|
|
super(2);
|
|
Preconditions.checkNotEmpty(str, "email cannot be null or empty");
|
|
Preconditions.checkNotEmpty(str2, "password cannot be null or empty");
|
|
this.zza = new zzsq(str, str2, str3);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzyb
|
|
public final void zzb() {
|
|
zzx zzN = zzwy.zzN(this.zzd, this.zzk);
|
|
if (this.zze.getUid().equalsIgnoreCase(zzN.getUid())) {
|
|
((zzg) this.zzf).zza(this.zzj, zzN);
|
|
zzm(null);
|
|
} else {
|
|
zzl(new Status(17024));
|
|
}
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzyd
|
|
public final void zzc(TaskCompletionSource taskCompletionSource, zzxb zzxbVar) {
|
|
this.zzv = new zzya(this, taskCompletionSource);
|
|
zzxbVar.zzw(this.zza, this.zzc);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzyd
|
|
public final String zza() {
|
|
return "reauthenticateWithEmailPassword";
|
|
}
|
|
}
|