CookieAuthenticationOptions.TicketDataFormat Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für