Example #1
0
        /// <summary>
        /// Users open ID account. NOTE should only be called if returned from
        /// a successful OpenId validation
        /// </summary>
        /// <param name="providerKey"></param>
        /// <returns></returns>
        public UserBO ValidateUserWithExternalLogin(string providerKey)
        {
            UserBO objUserBO = null;

            //SetError();
            //if (string.IsNullOrEmpty(providerKey))
            //{
            //    SetError("Invalid login.");
            //    return null;
            //}

            //User user = LoadBase(usr => usr.OpenId == providerKey || usr.OpenIdClaim == providerKey);
            //if (user == null)
            //{
            //    SetError("OpenId Login is not associated with an account.");
            //    return null;
            //}

            //Entity = user;

            return(objUserBO);
        }
Example #2
0
        public UserBO LoadUserByUserId(string strUserId)
        {
            UserBO objUserBO = null;

            return(objUserBO);
        }
Example #3
0
        /// <summary>
        /// Loads a user from the email address
        /// </summary>
        /// <param name="Email"></param>
        /// <returns></returns>
        public UserBO LoadUserByEmail(string email)
        {
            UserBO objUserBO = null;

            return(objUserBO);
        }