6 references to ForbidResult
Microsoft.AspNetCore.Mvc.Core (4)
Authorization\AuthorizeFilter.cs (1)
193
context.Result = new
ForbidResult
(effectivePolicy.AuthenticationSchemes.ToArray());
ControllerBase.cs (1)
2401
=> new
ForbidResult
(authenticationSchemes);
ForbidResult.cs (2)
20
:
this
(Array.Empty<string>())
30
:
this
(new[] { authenticationScheme })
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageBase.cs (1)
283
=> new
ForbidResult
(authenticationSchemes);
PageModel.cs (1)
615
=> new
ForbidResult
(authenticationSchemes);