共用方式為


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)

來源:
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)

來源:
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)

來源:
SignInResult.cs
來源:
SignInResult.cs
來源:
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)

來源:
SignInResult.cs
來源:
SignInResult.cs
來源:
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 用來執行登入作業。

適用於