共用方式為


AuthenticationTicket 建構函式

定義

多載

AuthenticationTicket(ClaimsPrincipal, String)

初始化 AuthenticationTicket 類別的新執行個體

AuthenticationTicket(ClaimsPrincipal, AuthenticationProperties, String)

初始化 AuthenticationTicket 類別的新執行個體

AuthenticationTicket(ClaimsPrincipal, AuthenticationProperties, String)

初始化 AuthenticationTicket 類別的新執行個體

AuthenticationTicket(ClaimsPrincipal, String)

來源:
AuthenticationTicket.cs
來源:
AuthenticationTicket.cs
來源:
AuthenticationTicket.cs

初始化 AuthenticationTicket 類別的新執行個體

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

參數

principal
ClaimsPrincipal

ClaimsPrincipal 表示已驗證的使用者。

authenticationScheme
String

負責此票證的驗證配置。

適用於

AuthenticationTicket(ClaimsPrincipal, AuthenticationProperties, String)

來源:
AuthenticationTicket.cs
來源:
AuthenticationTicket.cs
來源:
AuthenticationTicket.cs

初始化 AuthenticationTicket 類別的新執行個體

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

參數

principal
ClaimsPrincipal

ClaimsPrincipal 表示已驗證的使用者。

properties
AuthenticationProperties

使用者或執行時間可取用的其他屬性。

authenticationScheme
String

負責此票證的驗證配置。

適用於

AuthenticationTicket(ClaimsPrincipal, AuthenticationProperties, String)

初始化 AuthenticationTicket 類別的新執行個體

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

參數

principal
ClaimsPrincipal

ClaimsPrincipal 表示已驗證的使用者。

properties
AuthenticationProperties

使用者或執行時間可取用的其他屬性。

authenticationScheme
String

負責此票證的驗證中介軟體。

適用於