Delen via


RequestTokenSerializer Class

Definition

Serializes and deserializes Twitter request and access tokens so that they can be used by other application components.

public ref class RequestTokenSerializer : Microsoft::AspNetCore::Authentication::IDataSerializer<Microsoft::AspNetCore::Authentication::Twitter::RequestToken ^>
public class RequestTokenSerializer : Microsoft.AspNetCore.Authentication.IDataSerializer<Microsoft.AspNetCore.Authentication.Twitter.RequestToken>
type RequestTokenSerializer = class
    interface IDataSerializer<RequestToken>
Public Class RequestTokenSerializer
Implements IDataSerializer(Of RequestToken)
Inheritance
RequestTokenSerializer
Implements

Constructors

RequestTokenSerializer()

Methods

Deserialize(Byte[])

Deserializes a request token.

Read(BinaryReader)

Reads a Twitter request token from a series of bytes. Used by the Deserialize(Byte[]) method.

Serialize(RequestToken)

Serialize a request token.

Write(BinaryWriter, RequestToken)

Writes a Twitter request token as a series of bytes. Used by the Serialize(RequestToken) method.

Applies to