protected void Application_AuthenticateRequest() { AuthConfig.ClaimsBasedAuth(); }
// GET api/values public IEnumerable <string> Get() { AuthConfig.ClaimsBasedAuth(); return(new string[] { "value1", "value2" }); }