DocSpace-client/thirdparty/AppLimit.CloudComputing.SharpBox/Common/Net/oAuth/Token/OAuthToken.cs

32 lines
967 B
C#
Raw Normal View History

2020-03-13 13:40:58 +00:00
using System;
namespace AppLimit.CloudComputing.SharpBox.Common.Net.oAuth.Token
{
/// <summary>
/// The OAuthToken will be generated during the login process in a oauth compliant
/// application and can be used to sign the url
/// </summary>
internal class OAuthToken
{
/// <summary>
/// The key for uri signing
/// </summary>
public string TokenKey { get; protected set; }
/// <summary>
/// The secret for uri signing
/// </summary>
public string TokenSecret { get; protected set; }
/// <summary>
/// The token can only be generated from our API
/// </summary>
/// <param name="tokenKey"></param>
/// <param name="tokenSecret"></param>
internal OAuthToken(string tokenKey, string tokenSecret)
{
TokenKey = tokenKey;
TokenSecret = tokenSecret;
}
}
}