1 instantiation of PassThroughRequirement
Microsoft.AspNetCore.Authorization.Test (1)
DefaultAuthorizationServiceTests.cs (1)
705
options.AddPolicy("Passthrough", policy => policy.Requirements.Add(new
PassThroughRequirement
(shouldSucceed)));
2 references to PassThroughRequirement
Microsoft.AspNetCore.Authorization.Test (2)
DefaultAuthorizationServiceTests.cs (2)
676
public class PassThroughRequirement : AuthorizationHandler<
PassThroughRequirement
>, IAuthorizationRequirement
685
protected override Task HandleRequirementAsync(AuthorizationHandlerContext context,
PassThroughRequirement
requirement)