示例#1
0
 protected override void HandleUnauthorizedRequest(HttpActionContext actionContext)
 {
     Fn.AddLog("", "Unauthorized", "", null, HttpContext.Current.Request.Browser.Browser);
     actionContext.Response = new HttpResponseMessage(System.Net.HttpStatusCode.Unauthorized);
 }