SignInResult 构造函数

定义

重载

SignInResult(ClaimsPrincipal)

使用默认身份验证方案初始化 的新实例 SignInResult

SignInResult(ClaimsPrincipal, AuthenticationProperties)

使用默认身份验证方案和 properties初始化 的新实例SignInResult

SignInResult(String, ClaimsPrincipal)

使用指定的身份验证方案初始化 的新实例 SignInResult

SignInResult(String, ClaimsPrincipal, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 的新实例SignInResult

SignInResult(String, ClaimsPrincipal, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 的新实例SignInResult

SignInResult(ClaimsPrincipal)

Source:
SignInResult.cs

使用默认身份验证方案初始化 的新实例 SignInResult

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)

参数

principal
ClaimsPrincipal

包含用户声明的声明主体。

适用于

SignInResult(ClaimsPrincipal, AuthenticationProperties)

Source:
SignInResult.cs

使用默认身份验证方案和 properties初始化 的新实例SignInResult

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)

参数

principal
ClaimsPrincipal

包含用户声明的声明主体。

properties
AuthenticationProperties

AuthenticationProperties 用于执行登录操作。

适用于

SignInResult(String, ClaimsPrincipal)

Source:
SignInResult.cs
Source:
SignInResult.cs
Source:
SignInResult.cs

使用指定的身份验证方案初始化 的新实例 SignInResult

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)

参数

authenticationScheme
String

登录用户时使用的身份验证方案。

principal
ClaimsPrincipal

包含用户声明的声明主体。

适用于

SignInResult(String, ClaimsPrincipal, AuthenticationProperties)

Source:
SignInResult.cs
Source:
SignInResult.cs
Source:
SignInResult.cs

使用指定的身份验证方案和 properties初始化 的新实例SignInResult

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)

参数

authenticationScheme
String

登录用户时使用的身份验证方案。

principal
ClaimsPrincipal

包含用户声明的声明主体。

properties
AuthenticationProperties

AuthenticationProperties 用于执行登录操作。

适用于

SignInResult(String, ClaimsPrincipal, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 的新实例SignInResult

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)

参数

authenticationScheme
String

登录用户时使用的身份验证方案。

principal
ClaimsPrincipal

包含用户声明的声明主体。

properties
AuthenticationProperties

AuthenticationProperties 用于执行登录操作。

适用于