2 implementations of IAuthorizationRequirementData
Microsoft.AspNetCore.Authorization.Test (2)
AuthorizationMiddlewareTests.cs (2)
440
public class ReqAttribute : Attribute,
IAuthorizationRequirementData
450
public class ReqAuthorizeAttribute : AuthorizeAttribute,
IAuthorizationRequirementData
3 references to IAuthorizationRequirementData
Microsoft.AspNetCore.Authorization.Policy (3)
AuthorizationMiddleware.cs (3)
122
var requirementData = endpoint?.Metadata?.GetOrderedMetadata<
IAuthorizationRequirementData
>() ?? Array.Empty<
IAuthorizationRequirementData
>();
126
foreach (
var
rd in requirementData)