Delen via


SignInResult Class

Definition

An ActionResult that on execution invokes HttpContext.SignInAsync.

public ref class SignInResult : Microsoft::AspNetCore::Mvc::ActionResult
public class SignInResult : Microsoft.AspNetCore.Mvc.ActionResult
type SignInResult = class
    inherit ActionResult
Public Class SignInResult
Inherits ActionResult
Inheritance
SignInResult

Constructors

SignInResult(ClaimsPrincipal, AuthenticationProperties)

Initializes a new instance of SignInResult with the default authentication scheme and properties.

SignInResult(ClaimsPrincipal)

Initializes a new instance of SignInResult with the default authentication scheme.

SignInResult(String, ClaimsPrincipal, AuthenticationProperties)

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

SignInResult(String, ClaimsPrincipal, AuthenticationProperties)

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

SignInResult(String, ClaimsPrincipal)

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

Properties

AuthenticationScheme

Gets or sets the authentication scheme that is used to perform the sign-in operation.

Principal

Gets or sets the ClaimsPrincipal containing the user claims.

Properties

Gets or sets the AuthenticationProperties used to perform the sign-in operation.

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.

Applies to