18 references to Succeed
BasicWebSite (1)
ManagerHandler.cs (1)
15
context.
Succeed
(requirement);
CustomPolicyProvider (1)
Authorization\MinimumAgeAuthorizationHandler.cs (1)
48
context.
Succeed
(requirement);
Microsoft.AspNetCore.Authorization (8)
AssertionRequirement.cs (1)
51
context.
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)
81
context.
Succeed
(requirement);
DenyAnonymousAuthorizationRequirement.cs (2)
11
/// This calls <see cref="AuthorizationHandlerContext.
Succeed
(IAuthorizationRequirement)"/> for authenticated users. Like all built-in requirements,
30
context.
Succeed
(requirement);
NameAuthorizationRequirement.cs (1)
55
context.
Succeed
(requirement);
RolesAuthorizationRequirement.cs (1)
60
context.
Succeed
(requirement);
Microsoft.AspNetCore.Authorization.Test (6)
DefaultAuthorizationServiceTests.cs (5)
630
context.
Succeed
(requirement);
689
context.
Succeed
(requirement);
821
context.
Succeed
(requirement);
833
context.
Succeed
(requirement);
877
context.
Succeed
(requirement);
PassThroughAuthorizationHandlerTests.cs (1)
66
context.
Succeed
(requirement);
Microsoft.AspNetCore.SignalR.Tests (2)
HubConnectionHandlerTests.cs (1)
3716
context.
Succeed
(requirement);
TestAuthHandler.cs (1)
16
context.
Succeed
(req);