1 instantiation of MinimumAgeRequirement
CustomPolicyProvider (1)
Authorization\MinimumAgePolicyProvider.cs (1)
45
policy.AddRequirements(new
MinimumAgeRequirement
(age));
2 references to MinimumAgeRequirement
CustomPolicyProvider (2)
Authorization\MinimumAgeAuthorizationHandler.cs (2)
15
internal class MinimumAgeAuthorizationHandler : AuthorizationHandler<
MinimumAgeRequirement
>
25
protected override Task HandleRequirementAsync(AuthorizationHandlerContext context,
MinimumAgeRequirement
requirement)