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

47 lines
1.7 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.AuthCredential;
import com.google.firebase.auth.internal.zzg;
import com.google.firebase.auth.internal.zzh;
import com.google.firebase.auth.internal.zzr;
import com.google.firebase.auth.internal.zzx;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes2.dex */
public final class zzvv extends zzyb {
private final zzsm zza;
public zzvv(AuthCredential authCredential, String str) {
super(2);
Preconditions.checkNotNull(authCredential, "credential cannot be null");
zzaay zza = zzh.zza(authCredential, str);
zza.zzb(false);
this.zza = new zzsm(zza);
}
@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(new zzr(zzN));
} 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.zzu(this.zza, this.zzc);
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzyd
public final String zza() {
return "reauthenticateWithCredentialWithData";
}
}