8 references to Authentication
Microsoft.AspNetCore.Server.HttpSys (8)
HttpSysListener.cs (2)
281if (!Options.Authentication.AllowAnonymous && !requestMemory.CheckAuthenticated()) 284AuthenticationManager.GenerateChallenges(Options.Authentication.Schemes));
HttpSysOptions.cs (1)
277Authentication.SetUrlGroupSecurity(urlGroup);
MessagePump.cs (2)
46if (_options.Authentication.Schemes != AuthenticationSchemes.None) 48authentication.AddScheme(new AuthenticationScheme(HttpSysDefaults.AuthenticationScheme, displayName: _options.Authentication.AuthenticationDisplayName, handlerType: typeof(AuthenticationHandler)));
RequestProcessing\RequestContext.FeatureCollection.cs (1)
140if (Server.Options.Authentication.AutomaticAuthentication)
RequestProcessing\Response.cs (1)
55_authChallenges = RequestContext.Server.Options.Authentication.Schemes;
WebHostBuilderHttpSysExtensions.cs (1)
45IsEnabled = options.Authentication.Schemes != AuthenticationSchemes.None,