RequestTokenSerializer Class

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.Twitter.Messages.RequestTokenSerializer

Namespace:  Microsoft.Owin.Security.Twitter.Messages
Assembly:  Microsoft.Owin.Security.Twitter (in Microsoft.Owin.Security.Twitter.dll)

Syntax

'Declaration
Public Class RequestTokenSerializer _
    Implements IDataSerializer(Of RequestToken)
'Usage
Dim instance As RequestTokenSerializer
public class RequestTokenSerializer : IDataSerializer<RequestToken>
public ref class RequestTokenSerializer : IDataSerializer<RequestToken^>
type RequestTokenSerializer =  
    class 
        interface IDataSerializer<RequestToken>
    end
public class RequestTokenSerializer implements IDataSerializer<RequestToken>

The RequestTokenSerializer type exposes the following members.

Constructors

  Name Description
Public method RequestTokenSerializer

Top

Methods

  Name Description
Public method Deserialize Deserializes a request token
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member Read Reads a Twitter request token from a series of bytes. Used by the Deserialize(array<Byte[]) method.
Public method Serialize Serialize a request token
Public method ToString (Inherited from Object.)
Public methodStatic member Write Writes a Twitter request token as a series of bytes. Used by the Serialize(RequestToken) method.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Owin.Security.Twitter.Messages Namespace