31 references to Authentication
Microsoft.AspNetCore.Server.HttpSys (8)
HttpSysListener.cs (2)
290if (!Options.Authentication.AllowAnonymous && !requestMemory.CheckAuthenticated()) 293AuthenticationManager.GenerateChallenges(Options.Authentication.Schemes));
HttpSysOptions.cs (1)
268Authentication.SetUrlGroupSecurity(urlGroup);
MessagePump.cs (2)
38if (_options.Authentication.Schemes != AuthenticationSchemes.None) 40authentication.AddScheme(new AuthenticationScheme(HttpSysDefaults.AuthenticationScheme, displayName: _options.Authentication.AuthenticationDisplayName, handlerType: typeof(AuthenticationHandler)));
RequestProcessing\RequestContext.FeatureCollection.cs (1)
136if (Server.Options.Authentication.AutomaticAuthentication)
RequestProcessing\Response.cs (1)
54_authChallenges = RequestContext.Server.Options.Authentication.Schemes;
WebHostBuilderHttpSysExtensions.cs (1)
43IsEnabled = options.Authentication.Schemes != AuthenticationSchemes.None,
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (15)
AuthenticationTests.cs (9)
381options.Authentication.AutomaticAuthentication = false; 382options.Authentication.Schemes = authType; 383options.Authentication.AllowAnonymous = DenyAnoymous; 411options.Authentication.Schemes = authType; 412options.Authentication.AllowAnonymous = DenyAnoymous; 413options.Authentication.EnableKerberosCredentialCaching = true; 438options.Authentication.Schemes = authType; 439options.Authentication.AllowAnonymous = DenyAnoymous; 440options.Authentication.CaptureCredentials = true;
Listener\AuthenticationOnExistingQueueTests.cs (2)
210options.Authentication.Schemes = authScheme; 211options.Authentication.AllowAnonymous = allowAnonymos;
Utilities.cs (4)
66options.Authentication.Schemes = authType; 67options.Authentication.AllowAnonymous = allowAnonymous; 75options.Authentication.Schemes = authType; 76options.Authentication.AllowAnonymous = allowAnonymous;
NegotiateAuthSample (2)
Program.cs (2)
23options.Authentication.AllowAnonymous = true; 24options.Authentication.Schemes = AuthenticationSchemes.Negotiate;
SelfHostServer (4)
Program.cs (2)
27options.Authentication.Schemes = AuthenticationSchemes.None; 28options.Authentication.AllowAnonymous = true;
Startup.cs (2)
21options.Authentication.Schemes = AuthenticationSchemes.None; 22options.Authentication.AllowAnonymous = true;
ServerComparison.TestSites (2)
Program.cs (2)
43options.Authentication.AllowAnonymous = true; 44options.Authentication.Schemes = AuthenticationSchemes.Negotiate | AuthenticationSchemes.NTLM;