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