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