8 references to ForbidAsync
Microsoft.AspNetCore.Authentication (1)
AuthenticationHandler.cs (1)
326
await Context.
ForbidAsync
(target, properties);
Microsoft.AspNetCore.Authentication.Abstractions (3)
AuthenticationHttpContextExtensions.cs (3)
84
context.
ForbidAsync
(scheme, properties: null);
94
context.
ForbidAsync
(scheme: null, properties: null);
105
context.
ForbidAsync
(scheme: null, properties: properties);
Microsoft.AspNetCore.Http.Results (3)
ForbidHttpResult.cs (1)
95
await httpContext.
ForbidAsync
(AuthenticationSchemes[i], Properties);
Results.cs (1)
44
/// Creates a <see cref="IResult"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.
ForbidAsync
(HttpContext, string?, AuthenticationProperties?)"/>.
TypedResults.cs (1)
44
/// Creates a <see cref="ForbidHttpResult"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.
ForbidAsync
(HttpContext, string?, AuthenticationProperties?)"/>.
Microsoft.AspNetCore.Mvc.Core (1)
ForbidResult.cs (1)
105
await httpContext.
ForbidAsync
(AuthenticationSchemes[i], Properties);