CookieAuthenticationOptions.TicketDataFormat 屬性

定義

TicketDataFormat 用來保護且取消保護識別,以及其他儲存在 cookie 值中的屬性。 如果未提供,則會使用 DataProtectionProvider 建立一個 。

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)

屬性值

適用於