TicketSerializer Class
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 and deserializes AuthenticationTicket instances.
public ref class TicketSerializer : Microsoft::AspNetCore::Authentication::IDataSerializer<Microsoft::AspNetCore::Authentication::AuthenticationTicket ^>
public class TicketSerializer : Microsoft.AspNetCore.Authentication.IDataSerializer<Microsoft.AspNetCore.Authentication.AuthenticationTicket>
type TicketSerializer = class
interface IDataSerializer<AuthenticationTicket>
Public Class TicketSerializer
Implements IDataSerializer(Of AuthenticationTicket)
- Inheritance
-
TicketSerializer
- Implements
Constructors
TicketSerializer() |
Properties
Default |
Gets the default implementation for TicketSerializer. |
Methods
Deserialize(Byte[]) |
Deserializes the specified |
Read(BinaryReader) |
Reads an AuthenticationTicket. |
ReadClaim(BinaryReader, ClaimsIdentity) |
Reads a Claim and adds it to the specified |
ReadIdentity(BinaryReader) |
Reads a ClaimsIdentity from a BinaryReader. |
Serialize(AuthenticationTicket) |
Serializes the specified |
Write(BinaryWriter, AuthenticationTicket) |
Writes the |
WriteClaim(BinaryWriter, Claim) | System.Object.WriteClaim(System.IO.BinaryWriter,System.Security.Claims.Claim) |
WriteIdentity(BinaryWriter, ClaimsIdentity) |
Writes the specified |