7 references to Fail
Microsoft.AspNetCore.Authorization (4)
AuthorizationFailure.cs (2)
20
/// Failure was due to <see cref="AuthorizationHandlerContext.
Fail
()"/> being called.
35
/// Return a failure due to <see cref="AuthorizationHandlerContext.
Fail
()"/> being called.
AuthorizationHandlerContext.cs (1)
99
Fail
();
DenyAnonymousAuthorizationRequirement.cs (1)
12
/// it never calls <see cref="AuthorizationHandlerContext.
Fail
()"/>. The <see cref="DefaultAuthorizationEvaluator"/> produces a failed <see cref="AuthorizationResult" />
Microsoft.AspNetCore.Authorization.Test (2)
DefaultAuthorizationServiceTests.cs (1)
149
context.
Fail
();
PassThroughAuthorizationHandlerTests.cs (1)
62
context.
Fail
();
Microsoft.AspNetCore.SignalR.Tests (1)
TestAuthHandler.cs (1)
23
context.
Fail
();