private bool Authenticate() { string id = Request.Headers["userId"]; string password = Request.Headers["userPass"]; return(Authentifier.Authenticate(id, password)); }
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)); }