ForbidResult ForbidResult ForbidResult Class

Definition

An ActionResult that on execution invokes AuthenticationManager.ForbidAsync.

public class ForbidResult : Microsoft.AspNetCore.Mvc.ActionResult
type ForbidResult = class
    inherit ActionResult
Public Class ForbidResult
Inherits ActionResult
Inheritance
ForbidResultForbidResultForbidResult

Constructors

ForbidResult() ForbidResult() ForbidResult()

Initializes a new instance of ForbidResult.

ForbidResult(AuthenticationProperties) ForbidResult(AuthenticationProperties) ForbidResult(AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified properties.

ForbidResult(AuthenticationProperties) ForbidResult(AuthenticationProperties) ForbidResult(AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified properties.

ForbidResult(IList<String>) ForbidResult(IList<String>) ForbidResult(IList<String>)

Initializes a new instance of ForbidResult with the specified authentication schemes.

ForbidResult(IList<String>, AuthenticationProperties) ForbidResult(IList<String>, AuthenticationProperties) ForbidResult(IList<String>, AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified authentication schemes and properties.

ForbidResult(IList<String>, AuthenticationProperties) ForbidResult(IList<String>, AuthenticationProperties) ForbidResult(IList<String>, AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified authentication schemes and properties.

ForbidResult(String) ForbidResult(String) ForbidResult(String)

Initializes a new instance of ForbidResult with the specified authentication scheme.

ForbidResult(String, AuthenticationProperties) ForbidResult(String, AuthenticationProperties) ForbidResult(String, AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified authentication scheme and properties.

ForbidResult(String, AuthenticationProperties) ForbidResult(String, AuthenticationProperties) ForbidResult(String, AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified authentication scheme and properties.

Properties

AuthenticationSchemes AuthenticationSchemes AuthenticationSchemes

Gets or sets the authentication schemes that are challenged.

Properties Properties Properties

Gets or sets the AuthenticationProperties used to perform the authentication challenge.

Methods

ExecuteResult(ActionContext) ExecuteResult(ActionContext) ExecuteResult(ActionContext)

Executes the result operation of the action method synchronously. This method is called by MVC to process the result of an action method.

(Inherited from ActionResult)
ExecuteResultAsync(ActionContext) ExecuteResultAsync(ActionContext) ExecuteResultAsync(ActionContext)

Applies to