18 references to Succeed
BasicWebSite (1)
ManagerHandler.cs (1)
15context.Succeed(requirement);
CustomPolicyProvider (1)
Authorization\MinimumAgeAuthorizationHandler.cs (1)
48context.Succeed(requirement);
Microsoft.AspNetCore.Authorization (8)
AssertionRequirement.cs (1)
51context.Succeed(this);
AuthorizationFailure.cs (2)
25/// Failure was due to these requirements not being met via <see cref="AuthorizationHandlerContext.Succeed(IAuthorizationRequirement)"/>. 52/// Return a failure due to some requirements not being met via <see cref="AuthorizationHandlerContext.Succeed(IAuthorizationRequirement)"/>.
ClaimsAuthorizationRequirement.cs (1)
81context.Succeed(requirement);
DenyAnonymousAuthorizationRequirement.cs (2)
11/// This calls <see cref="AuthorizationHandlerContext.Succeed(IAuthorizationRequirement)"/> for authenticated users. Like all built-in requirements, 30context.Succeed(requirement);
NameAuthorizationRequirement.cs (1)
55context.Succeed(requirement);
RolesAuthorizationRequirement.cs (1)
60context.Succeed(requirement);
Microsoft.AspNetCore.Authorization.Test (6)
DefaultAuthorizationServiceTests.cs (5)
630context.Succeed(requirement); 689context.Succeed(requirement); 821context.Succeed(requirement); 833context.Succeed(requirement); 877context.Succeed(requirement);
PassThroughAuthorizationHandlerTests.cs (1)
66context.Succeed(requirement);
Microsoft.AspNetCore.SignalR.Tests (2)
HubConnectionHandlerTests.cs (1)
3716context.Succeed(requirement);
TestAuthHandler.cs (1)
16context.Succeed(req);