Implemented interface member:
property
AuthenticationSchemes
Microsoft.AspNetCore.Authorization.IAuthorizeData.AuthenticationSchemes
12 writes to AuthenticationSchemes
Microsoft.AspNetCore.Authorization.Test (8)
AuthorizationMiddlewareTests.cs (1)
158var context = GetHttpContext(endpoint: CreateEndpoint(new AuthorizeAttribute() { AuthenticationSchemes = "whatever" }), authenticationService: authenticationService);
AuthorizationPolicyFacts.cs (6)
23new AuthorizeAttribute("1") { AuthenticationSchemes = "dupe" }, 24new AuthorizeAttribute("2") { AuthenticationSchemes = "dupe" }, 25new AuthorizeAttribute { Roles = "r1,r2", AuthenticationSchemes = "roles" }, 75new AuthorizeAttribute("2") { AuthenticationSchemes = "dupe" } 121new AuthorizeAttribute() { AuthenticationSchemes = "a1 , a2" } 141new AuthorizeAttribute() { AuthenticationSchemes = "a1 , , ,,, a2" }
MetadataTest.cs (1)
29metadata.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)
49return DebuggerHelpers.GetDebugText(nameof(Policy), Policy, nameof(Roles), Roles, nameof(AuthenticationSchemes), AuthenticationSchemes, includeNullValues: false, prefix: "Authorize");