Пример #1
0
 protected void Application_AuthenticateRequest()
 {
     AuthConfig.ClaimsBasedAuth();
 }
Пример #2
0
 // GET api/values
 public IEnumerable <string> Get()
 {
     AuthConfig.ClaimsBasedAuth();
     return(new string[] { "value1", "value2" });
 }