8 references to Authentication
Microsoft.AspNetCore.Server.HttpSys (8)
HttpSysListener.cs (2)
294if (!Options.Authentication.AllowAnonymous && !requestMemory.CheckAuthenticated()) 297AuthenticationManager.GenerateChallenges(Options.Authentication.Schemes));
HttpSysOptions.cs (1)
292Authentication.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)
141if (Server.Options.Authentication.AutomaticAuthentication)
RequestProcessing\Response.cs (1)
55_authChallenges = RequestContext.Server.Options.Authentication.Schemes;
WebHostBuilderHttpSysExtensions.cs (1)
45IsEnabled = options.Authentication.Schemes != AuthenticationSchemes.None,