1 instantiation of SampleFailReasonRequirement
CustomAuthorizationFailureResponse (1)
Startup.cs (1)
42
policy.AddRequirements(new
SampleFailReasonRequirement
()));
2 references to SampleFailReasonRequirement
CustomAuthorizationFailureResponse (2)
Authorization\Handlers\SampleWithFailureReasonRequirementHandler.cs (2)
10
public class SampleWithFailureReasonRequirementHandler : AuthorizationHandler<
SampleFailReasonRequirement
>
12
protected override Task HandleRequirementAsync(AuthorizationHandlerContext context,
SampleFailReasonRequirement
requirement)