1 instantiation of ForbidHttpResult
Microsoft.AspNetCore.Http.Results (1)
TypedResults.cs (1)
60
=>
new
(authenticationSchemes: authenticationSchemes ?? Array.Empty<string>(), properties);
8 references to ForbidHttpResult
Microsoft.AspNetCore.Http.Results (8)
ForbidHttpResult.cs (5)
17
/// Initializes a new instance of <see cref="
ForbidHttpResult
"/>.
25
/// Initializes a new instance of <see cref="
ForbidHttpResult
"/> with the
35
/// Initializes a new instance of <see cref="
ForbidHttpResult
"/> with the
46
/// Initializes a new instance of <see cref="
ForbidHttpResult
"/> with the
58
/// Initializes a new instance of <see cref="
ForbidHttpResult
"/> with the
TypedResults.cs (3)
45
/// Creates a <see cref="
ForbidHttpResult
"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.ForbidAsync(HttpContext, string?, AuthenticationProperties?)"/>.
58
/// <returns>The created <see cref="
ForbidHttpResult
"/> for the response.</returns>
59
public static
ForbidHttpResult
Forbid(AuthenticationProperties? properties = null, IList<string>? authenticationSchemes = null)