SignInResult Constructors

Definition

Overloads

SignInResult(ClaimsPrincipal)

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

SignInResult(ClaimsPrincipal, AuthenticationProperties)

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

SignInResult(String, ClaimsPrincipal)

Initializes a new instance of SignInResult with the specified 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(ClaimsPrincipal)

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

public:
 SignInResult(System::Security::Claims::ClaimsPrincipal ^ principal);
public SignInResult (System.Security.Claims.ClaimsPrincipal principal);
new Microsoft.AspNetCore.Mvc.SignInResult : System.Security.Claims.ClaimsPrincipal -> Microsoft.AspNetCore.Mvc.SignInResult
Public Sub New (principal As ClaimsPrincipal)

Parameters

principal
ClaimsPrincipal

The claims principal containing the user claims.

Applies to

SignInResult(ClaimsPrincipal, AuthenticationProperties)

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

public:
 SignInResult(System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public SignInResult (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public SignInResult (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
new Microsoft.AspNetCore.Mvc.SignInResult : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.SignInResult
Public Sub New (principal As ClaimsPrincipal, properties As AuthenticationProperties)

Parameters

principal
ClaimsPrincipal

The claims principal containing the user claims.

properties
AuthenticationProperties

AuthenticationProperties used to perform the sign-in operation.

Applies to

SignInResult(String, ClaimsPrincipal)

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

public:
 SignInResult(System::String ^ authenticationScheme, System::Security::Claims::ClaimsPrincipal ^ principal);
public SignInResult (string authenticationScheme, System.Security.Claims.ClaimsPrincipal principal);
public SignInResult (string? authenticationScheme, System.Security.Claims.ClaimsPrincipal principal);
new Microsoft.AspNetCore.Mvc.SignInResult : string * System.Security.Claims.ClaimsPrincipal -> Microsoft.AspNetCore.Mvc.SignInResult
Public Sub New (authenticationScheme As String, principal As ClaimsPrincipal)

Parameters

authenticationScheme
String

The authentication scheme to use when signing in the user.

principal
ClaimsPrincipal

The claims principal containing the user claims.

Applies to

SignInResult(String, ClaimsPrincipal, AuthenticationProperties)

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

public:
 SignInResult(System::String ^ authenticationScheme, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public SignInResult (string authenticationScheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public SignInResult (string? authenticationScheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
new Microsoft.AspNetCore.Mvc.SignInResult : string * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.SignInResult
Public Sub New (authenticationScheme As String, principal As ClaimsPrincipal, properties As AuthenticationProperties)

Parameters

authenticationScheme
String

The authentication schemes to use when signing in the user.

principal
ClaimsPrincipal

The claims principal containing the user claims.

properties
AuthenticationProperties

AuthenticationProperties used to perform the sign-in operation.

Applies to

SignInResult(String, ClaimsPrincipal, AuthenticationProperties)

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

public:
 SignInResult(System::String ^ authenticationScheme, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public SignInResult (string authenticationScheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
new Microsoft.AspNetCore.Mvc.SignInResult : string * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.SignInResult
Public Sub New (authenticationScheme As String, principal As ClaimsPrincipal, properties As AuthenticationProperties)

Parameters

authenticationScheme
String

The authentication schemes to use when signing in the user.

principal
ClaimsPrincipal

The claims principal containing the user claims.

properties
AuthenticationProperties

AuthenticationProperties used to perform the sign-in operation.

Applies to