Jaa


CookieAuthenticationOptions.TicketDataFormat Property

 

The TicketDataFormat is used to protect and unprotect the identity and other properties which are stored in the cookie value. If it is not provided a default data handler is created using the data protection service contained in the IAppBuilder.Properties. The default data protection service is based on machine key when running on ASP.NET, and on DPAPI when running in a different process.

Namespace:   Microsoft.Owin.Security.Cookies
Assembly:  Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)

Syntax

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

Property Value

Type: Microsoft.Owin.Security.ISecureDataFormat<AuthenticationTicket>

Returns ISecureDataFormat<TData>.

See Also

CookieAuthenticationOptions Class
Microsoft.Owin.Security.Cookies Namespace

Return to top