Example #1
0
        public static User FindUserBySecret(string key)
        {
            if (Factory == null)
            {
                return(null);
            }

            return(Factory.FindUserBySecret(key));
        }
Example #2
0
        public static User FindUserBySecret(string key)
        {
            var user = FindBySecretCustom(key);

            if (user != null)
            {
                return(user);
            }

            if (Factory == null)
            {
                return(null);
            }

            return(Factory.FindUserBySecret(key));
        }