Compartir a través de


CookieAuthenticationOptions.TicketDataFormat Propiedad

Definición

TicketDataFormat se usa para proteger y desproteger la identidad y otras propiedades almacenadas en el valor de la cookie. Si no se proporciona un controlador de datos predeterminado se crea mediante el servicio de protección de datos incluido en IApplicationBuilder.Properties. El servicio de protección de datos predeterminado se basa en una clave de equipo si se ejecuta en ASP.NET y en DPAPI si se ejecuta en otro proceso.

public:
 property Microsoft::AspNetCore::Authentication::ISecureDataFormat<Microsoft::AspNetCore::Authentication::AuthenticationTicket ^> ^ TicketDataFormat { Microsoft::AspNetCore::Authentication::ISecureDataFormat<Microsoft::AspNetCore::Authentication::AuthenticationTicket ^> ^ get(); void set(Microsoft::AspNetCore::Authentication::ISecureDataFormat<Microsoft::AspNetCore::Authentication::AuthenticationTicket ^> ^ value); };
public Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationTicket> TicketDataFormat { get; set; }
member this.TicketDataFormat : Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationTicket> with get, set
Public Property TicketDataFormat As ISecureDataFormat(Of AuthenticationTicket)

Valor de propiedad

Se aplica a