CookieAuthenticationOptions.TicketDataFormat Eigenschaft

Definition

TicketDataFormat wird zum Schützen und Aufheben des Schutzes der Identität und anderer Eigenschaften verwendet, die im Cookiewert gespeichert werden. Wenn er nicht bereitgestellt wird, wird ein Standarddatenhandler mithilfe des in IApplicationBuilder.Properties enthaltenen Datenschutzdiensts erstellt. Der Datenschutz-Standarddienst basiert auf dem Computerschlüssel, wenn die Ausführung unter ASP.NET erfolgt, und auf DPAPI, wenn die Ausführung in einem anderen Prozess erfolgt.

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)

Eigenschaftswert

Gilt für: