15 references to Unauthorized
System (10)
net\System\Net\_AuthenticationState.cs (1)
82return IsProxyAuth ? HttpStatusCode.ProxyAuthenticationRequired : HttpStatusCode.Unauthorized;
net\System\Net\HttpListener.cs (7)
1512httpError = HttpStatusCode.Unauthorized; 1579httpError = HttpStatusCode.Unauthorized; 1593httpError = HttpStatusCode.Unauthorized; 1679httpError = HttpStatusCode.Unauthorized; 1818if (httpError != HttpStatusCode.Unauthorized) 1896SendError(requestId, challenges != null && challenges.Count > 0 ? HttpStatusCode.Unauthorized : HttpStatusCode.Forbidden, challenges); 2522return HttpStatusCode.Unauthorized;
net\System\Net\HttpListenerResponse.cs (1)
481if (StatusCode == (int)HttpStatusCode.Unauthorized) { // User set 401
net\System\Net\HttpWebRequest.cs (1)
5641if (ResponseStatusCode==HttpStatusCode.Unauthorized || // 401
System.ServiceModel (4)
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3780if (response.StatusCode == HttpStatusCode.Unauthorized)
System\ServiceModel\Channels\HttpChannelListener.cs (3)
672string message = SR.GetString(SR.HttpAuthenticationFailed, this.AuthenticationScheme, HttpStatusCode.Unauthorized); 677return HttpStatusCode.Unauthorized; 701result = HttpStatusCode.Unauthorized;
System.Web.Extensions (1)
Handlers\ScriptModule.cs (1)
160RestHandler.WriteExceptionJsonString(context, new InvalidOperationException(AtlasWeb.WebService_RedirectError), (int)HttpStatusCode.Unauthorized);