2 writes to InvokeHandlersAfterFailure
Microsoft.AspNetCore.Authorization (1)
AuthorizationBuilder.cs (1)
35
Services.Configure<AuthorizationOptions>(o => o.
InvokeHandlersAfterFailure
= invoke);
Microsoft.AspNetCore.Authorization.Test (1)
PassThroughAuthorizationHandlerTests.cs (1)
34
options.
InvokeHandlersAfterFailure
= invokeAllHandlers;
3 references to InvokeHandlersAfterFailure
Microsoft.AspNetCore.Authorization (2)
DefaultAuthorizationService.cs (1)
71
if (!_options.
InvokeHandlersAfterFailure
&& authContext.HasFailed)
PassThroughAuthorizationHandler.cs (1)
40
if (!_options.
InvokeHandlersAfterFailure
&& context.HasFailed)
Microsoft.AspNetCore.Authorization.Test (1)
AuthorizationBuilderTests.cs (1)
71
Assert.Equal(invoke, options.
InvokeHandlersAfterFailure
);