Exemplo n.º 1
0
        private bool Authenticate()
        {
            string id       = Request.Headers["userId"];
            string password = Request.Headers["userPass"];

            return(Authentifier.Authenticate(id, password));
        }
Exemplo n.º 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));
        }