36 lines
1.2 KiB
Java
36 lines
1.2 KiB
Java
package com.google.android.gms.internal.p002firebaseauthapi;
|
|
|
|
import android.text.TextUtils;
|
|
import com.google.android.gms.common.api.Status;
|
|
import com.google.firebase.auth.PhoneAuthCredential;
|
|
|
|
/* loaded from: classes2.dex */
|
|
final class zzud implements zzyg {
|
|
final zzyg zza;
|
|
final zzue zzb;
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzyf
|
|
public final void zza(String str) {
|
|
this.zza.zza(str);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzyg
|
|
public final /* synthetic */ void zzb(Object obj) {
|
|
zzabh zzabhVar = (zzabh) obj;
|
|
if (!TextUtils.isEmpty(zzabhVar.zzf())) {
|
|
this.zzb.zzb.zzg(new Status(17025), PhoneAuthCredential.zzd(zzabhVar.zzd(), zzabhVar.zzf()));
|
|
return;
|
|
}
|
|
zzzy zzzyVar = new zzzy(zzabhVar.zze(), zzabhVar.zzc(), Long.valueOf(zzabhVar.zzb()), "Bearer");
|
|
zzvf zzvfVar = this.zzb.zzc;
|
|
boolean zzg = zzabhVar.zzg();
|
|
zzvfVar.zzO(zzzyVar, null, "phone", Boolean.valueOf(zzg), null, this.zzb.zzb, this.zza);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public zzud(zzue zzueVar, zzyg zzygVar) {
|
|
this.zzb = zzueVar;
|
|
this.zza = zzygVar;
|
|
}
|
|
}
|