//----------------------------------------------------------------------- // // Copyright (c) Andrew Arnott. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOpenAuth.OAuth { /// /// An OAuth 1.0 access token and secret. /// public struct AccessToken { /// /// Initializes a new instance of the struct. /// /// The token. /// The secret. public AccessToken(string token, string secret) : this() { this.Token = token; this.Secret = secret; } /// /// Gets or sets the token. /// /// /// The token. /// public string Token { get; set; } /// /// Gets or sets the token secret. /// /// /// The secret. /// public string Secret { get; set; } /// /// Returns a that represents this instance. /// /// /// A that represents this instance. /// public override string ToString() { return this.Token; } } }