11 references to AuthenticationScheme
Microsoft.AspNetCore.Server.HttpSys (2)
MessagePump.cs (1)
40
authentication.AddScheme(new AuthenticationScheme(HttpSysDefaults.
AuthenticationScheme
, displayName: _options.Authentication.AuthenticationDisplayName, handlerType: typeof(AuthenticationHandler)));
WebHostBuilderHttpSysExtensions.cs (1)
44
AuthenticationScheme = HttpSysDefaults.
AuthenticationScheme
,
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (9)
AuthenticationTests.cs (9)
208
var authResults = await httpContext.AuthenticateAsync(HttpSysDefaults.
AuthenticationScheme
);
232
var authResults = await httpContext.AuthenticateAsync(HttpSysDefaults.
AuthenticationScheme
);
255
return httpContext.ChallengeAsync(HttpSysDefaults.
AuthenticationScheme
);
278
await httpContext.ChallengeAsync(HttpSysDefaults.
AuthenticationScheme
);
296
return httpContext.ChallengeAsync(HttpSysDefaults.
AuthenticationScheme
);
322
return httpContext.ChallengeAsync(HttpSysDefaults.
AuthenticationScheme
);
340
return httpContext.ForbidAsync(HttpSysDefaults.
AuthenticationScheme
);
361
return httpContext.ChallengeAsync(HttpSysDefaults.
AuthenticationScheme
, null);
391
var authenticateResult = await httpContext.AuthenticateAsync(HttpSysDefaults.
AuthenticationScheme
);