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