4 references to AuthenticationTypes
System.Net.HttpListener (4)
System\Net\Managed\HttpListenerContext.Managed.cs (2)
44
_user = ParseBasicAuthentication(header.Substring(
AuthenticationTypes
.Basic.Length + 1));
56
string.Compare(header, 0,
AuthenticationTypes
.Basic, 0, 5, StringComparison.OrdinalIgnoreCase) == 0;
System\Net\Managed\ListenerAsyncResult.Managed.cs (2)
144
authHeader.Length <
AuthenticationTypes
.Basic.Length + 2 ||
145
!HttpListenerContext.TryParseBasicAuth(authHeader.Substring(
AuthenticationTypes
.Basic.Length + 1), out errorCode, out _, out _))