4 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" />