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