5 instantiations of CustomRequirement
Microsoft.AspNetCore.Authorization.Test (5)
DefaultAuthorizationServiceTests.cs (5)
103
services.AddAuthorizationBuilder().AddPolicy("Custom", policy => policy.Requirements.Add(new
CustomRequirement
()));
129
.AddPolicy("Custom", policy => policy.Requirements.Add(new
CustomRequirement
()))
181
services.AddAuthorizationBuilder().AddPolicy("Custom", policy => policy.Requirements.Add(new
CustomRequirement
()));
643
options.AddPolicy("Custom", policy => policy.Requirements.Add(new
CustomRequirement
()));
664
options.AddPolicy("Custom", policy => policy.Requirements.Add(new
CustomRequirement
()));
2 references to CustomRequirement
Microsoft.AspNetCore.Authorization.Test (2)
DefaultAuthorizationServiceTests.cs (2)
623
public class CustomHandler : AuthorizationHandler<
CustomRequirement
>
627
protected override Task HandleRequirementAsync(AuthorizationHandlerContext context,
CustomRequirement
requirement)