Dela via


ForbidHttpResult Class

Definition

An IResult that on execution invokes HttpContext.ForbidAsync.

public sealed class ForbidHttpResult : Microsoft.AspNetCore.Http.IResult
type ForbidHttpResult = class
    interface IResult
Public NotInheritable Class ForbidHttpResult
Implements IResult
Inheritance
ForbidHttpResult
Implements

Properties

AuthenticationSchemes

Gets the authentication schemes that are challenged.

Properties

Gets the AuthenticationProperties used to perform the authentication challenge.

Methods

ExecuteAsync(HttpContext)

Write an HTTP response reflecting the result.

Applies to