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