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 authentication ticket.
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
The authentication ticket to serialize.
Returns
The serialized representation of ticket.