TicketSerializer.Serialize(AuthenticationTicket) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes the specified model
.
public:
virtual cli::array <System::Byte> ^ Serialize(Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket);
public virtual byte[] Serialize (Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket);
abstract member Serialize : Microsoft.AspNetCore.Authentication.AuthenticationTicket -> byte[]
override this.Serialize : Microsoft.AspNetCore.Authentication.AuthenticationTicket -> byte[]
Public Overridable Function Serialize (ticket As AuthenticationTicket) As Byte()
Parameters
- ticket
- AuthenticationTicket
Returns
Byte[]
The serialized data.