ForbidResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An ActionResult that on execution invokes HttpContext.ForbidAsync.
public ref class ForbidResult : Microsoft::AspNetCore::Mvc::ActionResult
public class ForbidResult : Microsoft.AspNetCore.Mvc.ActionResult
type ForbidResult = class
inherit ActionResult
Public Class ForbidResult
Inherits ActionResult
- Inheritance
Constructors
ForbidResult() |
Initializes a new instance of ForbidResult. |
ForbidResult(AuthenticationProperties) |
Initializes a new instance of ForbidResult with the
specified |
ForbidResult(AuthenticationProperties) |
Initializes a new instance of ForbidResult with the
specified |
ForbidResult(IList<String>, AuthenticationProperties) |
Initializes a new instance of ForbidResult with the
specified authentication schemes and |
ForbidResult(IList<String>, AuthenticationProperties) |
Initializes a new instance of ForbidResult with the
specified authentication schemes and |
ForbidResult(IList<String>) |
Initializes a new instance of ForbidResult with the specified authentication schemes. |
ForbidResult(String, AuthenticationProperties) |
Initializes a new instance of ForbidResult with the
specified authentication scheme and |
ForbidResult(String, AuthenticationProperties) |
Initializes a new instance of ForbidResult with the
specified authentication scheme and |
ForbidResult(String) |
Initializes a new instance of ForbidResult with the specified authentication scheme. |
Properties
AuthenticationSchemes |
Gets or sets the authentication schemes that are challenged. |
Properties |
Gets or sets the AuthenticationProperties used to perform the authentication challenge. |
Methods
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) |
Executes the result operation of the action method asynchronously. This method is called by MVC to process the result of an action method. The default implementation of this method calls the ExecuteResult(ActionContext) method and returns a completed task. |