.class public Lcom/google/firebase/auth/EmailAuthProvider; .super Ljava/lang/Object; .source "com.google.firebase:firebase-auth@@21.0.1" # static fields .field public static final EMAIL_LINK_SIGN_IN_METHOD:Ljava/lang/String; = "emailLink" .annotation build Landroidx/annotation/NonNull; .end annotation .end field .field public static final EMAIL_PASSWORD_SIGN_IN_METHOD:Ljava/lang/String; = "password" .annotation build Landroidx/annotation/NonNull; .end annotation .end field .field public static final PROVIDER_ID:Ljava/lang/String; = "password" .annotation build Landroidx/annotation/NonNull; .end annotation .end field # direct methods .method private constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static getCredential(Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/auth/AuthCredential; .locals 7 .param p0 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p1 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .line 1 invoke-static {p0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotEmpty(Ljava/lang/String;)Ljava/lang/String; .line 2 invoke-static {p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotEmpty(Ljava/lang/String;)Ljava/lang/String; .line 3 new-instance v6, Lcom/google/firebase/auth/EmailAuthCredential; const/4 v3, 0x0 const/4 v4, 0x0 const/4 v5, 0x0 move-object v0, v6 move-object v1, p0 move-object v2, p1 .line 4 invoke-direct/range {v0 .. v5}, Lcom/google/firebase/auth/EmailAuthCredential;->(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V return-object v6 .end method .method public static getCredentialWithLink(Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/auth/AuthCredential; .locals 7 .param p0 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p1 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .line 1 invoke-static {p1}, Lcom/google/firebase/auth/EmailAuthCredential;->zzi(Ljava/lang/String;)Z move-result v0 if-eqz v0, :cond_0 .line 2 new-instance v0, Lcom/google/firebase/auth/EmailAuthCredential; const/4 v3, 0x0 const/4 v5, 0x0 const/4 v6, 0x0 move-object v1, v0 move-object v2, p0 move-object v4, p1 .line 3 invoke-direct/range {v1 .. v6}, Lcom/google/firebase/auth/EmailAuthCredential;->(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V return-object v0 .line 4 :cond_0 new-instance p0, Ljava/lang/IllegalArgumentException; const-string p1, "Given link is not a valid email link. Please use FirebaseAuth#isSignInWithEmailLink(String) to determine this before calling this function" .line 5 invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p0 .end method