19 references to ForbidAsync
Microsoft.AspNetCore.Authentication.Core.Test (5)
AuthenticationServiceTests.cs (5)
167await context.ForbidAsync(); 187await context.ForbidAsync(); 205await context.ForbidAsync(); 223await context.ForbidAsync(); 240await context.ForbidAsync();
Microsoft.AspNetCore.Authentication.Test (10)
OpenIdConnect\OpenIdConnectConfigurationTests.cs (5)
59await context.ForbidAsync(); 166await context.ForbidAsync(); 292await context.ForbidAsync(); 347await context.ForbidAsync(); 407await context.ForbidAsync();
SharedAuthenticationTests.cs (5)
54await context.ForbidAsync(); 191await context.ForbidAsync(); 354await context.ForbidAsync(); 423await context.ForbidAsync(); 497await context.ForbidAsync();
Microsoft.AspNetCore.Authorization.Policy (1)
AuthorizationMiddlewareResultHandler.cs (1)
51await context.ForbidAsync();
OpenIdConnectSample (1)
Startup.cs (1)
231await context.ForbidAsync();
ServerComparison.TestSites (1)
StartupNtlmAuthentication.cs (1)
69return context.ForbidAsync();
WsFedSample (1)
Startup.cs (1)
112await context.ForbidAsync();