40 lines
1.6 KiB
Java
40 lines
1.6 KiB
Java
package com.google.android.gms.internal.p002firebaseauthapi;
|
|
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
import com.google.android.gms.tasks.TaskCompletionSource;
|
|
import com.google.firebase.auth.EmailAuthCredential;
|
|
import com.google.firebase.auth.internal.zzg;
|
|
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 zzvq extends zzyb {
|
|
private final EmailAuthCredential zza;
|
|
|
|
public zzvq(EmailAuthCredential emailAuthCredential) {
|
|
super(2);
|
|
this.zza = (EmailAuthCredential) Preconditions.checkNotNull(emailAuthCredential, "credential cannot be null");
|
|
Preconditions.checkNotEmpty(emailAuthCredential.zzd(), "email cannot be null");
|
|
Preconditions.checkNotEmpty(emailAuthCredential.zze(), "password cannot be null");
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzyb
|
|
public final void zzb() {
|
|
zzx zzN = zzwy.zzN(this.zzd, this.zzk);
|
|
((zzg) this.zzf).zza(this.zzj, zzN);
|
|
zzm(new zzr(zzN));
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzyd
|
|
public final void zzc(TaskCompletionSource taskCompletionSource, zzxb zzxbVar) {
|
|
this.zzv = new zzya(this, taskCompletionSource);
|
|
zzxbVar.zzl(new zzru(this.zza.zzd(), Preconditions.checkNotEmpty(this.zza.zze()), this.zze.zzf()), this.zzc);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzyd
|
|
public final String zza() {
|
|
return "linkEmailAuthCredential";
|
|
}
|
|
}
|