示例#1
0
        private bool Authenticate()
        {
            string id       = Request.Headers["userId"];
            string password = Request.Headers["userPass"];

            return(Authentifier.Authenticate(id, password));
        }
示例#2
0
        private bool Authenticate()
        {
            if (Authentifier.context == null)
            {
                Authentifier.context = context;
            }

            string id       = Request.Headers["userId"];
            string password = Request.Headers["userPass"];


            return(Authentifier.Authenticate(id, password));
        }