//----------------------------------------------------------------------- // // Copyright (c) Microsoft. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOpenAuth.AspNet.Clients { using System.Runtime.Serialization; /// /// Captures the result of an access token request, including an optional refresh token. /// [DataContract] public class OAuth2AccessTokenData { #region Public Properties /// /// Gets or sets the access token. /// /// The access token. [DataMember(Name = "access_token")] public string AccessToken { get; set; } /// /// Gets or sets the refresh token. /// /// The refresh token. [DataMember(Name = "refresh_token")] public string RefreshToken { get; set; } /// /// Gets or sets the scope. /// /// The scope. [DataMember(Name = "scope")] public string Scope { get; set; } /// /// Gets or sets the type of the token. /// /// The type of the token. [DataMember(Name = "token_type")] public string TokenType { get; set; } #endregion } }