aspnetcore/src/Microsoft.AspNet.Security.T.../Messages/Serializers.cs

24 lines
833 B
C#

// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Security.DataHandler.Serializer;
namespace Microsoft.AspNet.Security.Twitter.Messages
{
/// <summary>
/// Provides access to a request token serializer.
/// </summary>
public static class Serializers
{
static Serializers()
{
RequestToken = new RequestTokenSerializer();
}
/// <summary>
/// Gets or sets a statically-avaliable serializer object. The value for this property will be <see cref="RequestTokenSerializer"/> by default.
/// </summary>
public static IDataSerializer<RequestToken> RequestToken { get; private set; }
}
}