Example #1
0
        public static User LoginUser(string email, string pass)
        {
            FirebaseAuthLink auth = FirebaseFunctions.AttemptLoginUser(email, pass);

            if (auth != null)
            {
                return(auth.User);
            }
            return(null);
        }
Example #2
0
        public static User CreateNewUser(string email, string pass, string displayName, bool verificationEmail)
        {
            FirebaseAuthLink auth = FirebaseFunctions.AttemptCreateNewUser(email, pass, displayName, verificationEmail);

            if (auth != null)
            {
                return(auth.User);
            }
            return(null);
        }
Example #3
0
 public static bool ForgotPassword(string email)
 {
     return(FirebaseFunctions.ResetPassword(email));
 }