Compartilhar via


AuthenticationTicket Construtores

Definição

Sobrecargas

AuthenticationTicket(ClaimsPrincipal, String)

Inicializa uma nova instância da classe AuthenticationTicket

AuthenticationTicket(ClaimsPrincipal, AuthenticationProperties, String)

Inicializa uma nova instância da classe AuthenticationTicket

AuthenticationTicket(ClaimsPrincipal, AuthenticationProperties, String)

Inicializa uma nova instância da classe AuthenticationTicket

AuthenticationTicket(ClaimsPrincipal, String)

Origem:
AuthenticationTicket.cs
Origem:
AuthenticationTicket.cs
Origem:
AuthenticationTicket.cs

Inicializa uma nova instância da classe 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)

Parâmetros

principal
ClaimsPrincipal

o ClaimsPrincipal que representa o usuário autenticado.

authenticationScheme
String

o esquema de autenticação responsável por esse tíquete.

Aplica-se a

AuthenticationTicket(ClaimsPrincipal, AuthenticationProperties, String)

Origem:
AuthenticationTicket.cs
Origem:
AuthenticationTicket.cs
Origem:
AuthenticationTicket.cs

Inicializa uma nova instância da classe 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)

Parâmetros

principal
ClaimsPrincipal

o ClaimsPrincipal que representa o usuário autenticado.

properties
AuthenticationProperties

propriedades adicionais que podem ser consumidas pelo usuário ou pelo runtime.

authenticationScheme
String

o esquema de autenticação responsável por esse tíquete.

Aplica-se a

AuthenticationTicket(ClaimsPrincipal, AuthenticationProperties, String)

Inicializa uma nova instância da classe 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)

Parâmetros

principal
ClaimsPrincipal

o ClaimsPrincipal que representa o usuário autenticado.

properties
AuthenticationProperties

propriedades adicionais que podem ser consumidas pelo usuário ou pelo runtime.

authenticationScheme
String

o middleware de autenticação responsável por esse tíquete.

Aplica-se a