2 writes to AuthenticationSchemes
System.Net.HttpListener (2)
System\Net\Managed\ListenerAsyncResult.Managed.cs (2)
118context.AuthenticationSchemes = context._listener!.SelectAuthenticationScheme(context); 122context.AuthenticationSchemes = AuthenticationSchemes.Anonymous;
6 references to AuthenticationSchemes
System.Net.HttpListener (6)
System\Net\Managed\HttpListener.Managed.cs (1)
330context.ParseAuthentication(context.AuthenticationSchemes);
System\Net\Managed\ListenerAsyncResult.Managed.cs (5)
131if (context.AuthenticationSchemes != AuthenticationSchemes.None && 132(context.AuthenticationSchemes & AuthenticationSchemes.Anonymous) != AuthenticationSchemes.Anonymous && 133(context.AuthenticationSchemes & AuthenticationSchemes.Basic) != AuthenticationSchemes.Basic) 138else if (context.AuthenticationSchemes == AuthenticationSchemes.Basic) 151context.Response.Headers["WWW-Authenticate"] = context.AuthenticationSchemes + " realm=\"" + context._listener!.Realm + "\"";