Partager via


CookieAuthenticationOptions.TicketDataFormat Propriété

Définition

TicketDataFormat permet de protéger et de déprotéger l'identité et d'autres propriétés enregistrées dans la valeur du cookie. S’il n’est pas fourni, un gestionnaire de données par défaut est créé à l’aide du service de protection des données contenu dans IApplicationBuilder.Properties. Le service de protection de données par défaut est basé sur une clé ordinateur lors de l'exécution sur ASP.NET, et sur DPAPI lors de l'exécution dans le cadre d'un autre processus.

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)

Valeur de propriété

S’applique à