8 references to ForbidAsync
Microsoft.AspNetCore.Authentication (1)
AuthenticationHandler.cs (1)
326await Context.ForbidAsync(target, properties);
Microsoft.AspNetCore.Authentication.Abstractions (3)
AuthenticationHttpContextExtensions.cs (3)
84context.ForbidAsync(scheme, properties: null); 94context.ForbidAsync(scheme: null, properties: null); 105context.ForbidAsync(scheme: null, properties: properties);
Microsoft.AspNetCore.Http.Results (3)
ForbidHttpResult.cs (1)
95await 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)
105await httpContext.ForbidAsync(AuthenticationSchemes[i], Properties);