TicketSerializer.Serialize Method (AuthenticationTicket)
Serializes a data with a given model.
Namespace: Microsoft.Owin.Security.DataHandler.Serializer
Assembly: Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)
Syntax
public virtual byte[] Serialize(
AuthenticationTicket model
)
public:
virtual array<unsigned char>^ Serialize(
AuthenticationTicket^ model
)
abstract Serialize :
model:AuthenticationTicket -> byte[]
override Serialize :
model:AuthenticationTicket -> byte[]
Public Overridable Function Serialize (
model As AuthenticationTicket
) As Byte()
Parameters
model
Type: Microsoft.Owin.Security.AuthenticationTicketThe data model.
Return Value
Type: System.Byte[]
Implements
IDataSerializer<TModel>.Serialize(TModel)
See Also
TicketSerializer Class
Microsoft.Owin.Security.DataHandler.Serializer Namespace
Return to top