Implemented interface member:
property
AuthenticationSchemes
Microsoft.AspNetCore.Authorization.IAuthorizeData.AuthenticationSchemes
12 writes to AuthenticationSchemes
Microsoft.AspNetCore.Authorization.Test (8)
AuthorizationMiddlewareTests.cs (1)
158
var context = GetHttpContext(endpoint: CreateEndpoint(new AuthorizeAttribute() {
AuthenticationSchemes
= "whatever" }), authenticationService: authenticationService);
AuthorizationPolicyFacts.cs (6)
23
new AuthorizeAttribute("1") {
AuthenticationSchemes
= "dupe" },
24
new AuthorizeAttribute("2") {
AuthenticationSchemes
= "dupe" },
25
new AuthorizeAttribute { Roles = "r1,r2",
AuthenticationSchemes
= "roles" },
75
new AuthorizeAttribute("2") {
AuthenticationSchemes
= "dupe" }
121
new AuthorizeAttribute() {
AuthenticationSchemes
= "a1 , a2" }
141
new AuthorizeAttribute() {
AuthenticationSchemes
= "a1 , , ,,, a2" }
MetadataTest.cs (1)
29
metadata.
AuthenticationSchemes
= "Scheme1";
Microsoft.AspNetCore.Components.Authorization.Tests (1)
AuthorizeViewTest.cs (1)
575
=> new[] { new AuthorizeAttribute {
AuthenticationSchemes
= "test scheme" } };
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
3989
[Authorize(
AuthenticationSchemes
= JwtBearerDefaults.AuthenticationScheme)]
SecurityWebSite (2)
Controllers\AdministrationController.cs (1)
22
[Authorize(
AuthenticationSchemes
= "Cookie2")]
Controllers\AuthorizedController.cs (1)
12
[Authorize(
AuthenticationSchemes
= "Bearer")]
2 references to AuthenticationSchemes
Microsoft.AspNetCore.Authorization (2)
AuthorizeAttribute.cs (2)
49
return DebuggerHelpers.GetDebugText(nameof(Policy), Policy, nameof(Roles), Roles, nameof(
AuthenticationSchemes
),
AuthenticationSchemes
, includeNullValues: false, prefix: "Authorize");