summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth.Consumer/OAuth/AccessTokenResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenAuth.OAuth.Consumer/OAuth/AccessTokenResponse.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth.Consumer/OAuth/AccessTokenResponse.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/AccessTokenResponse.cs b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/AccessTokenResponse.cs
index dd35400..69160c0 100644
--- a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/AccessTokenResponse.cs
+++ b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/AccessTokenResponse.cs
@@ -6,14 +6,32 @@
using System.Text;
using System.Threading.Tasks;
+ /// <summary>
+ /// Captures the data that is returned from a request for an access token.
+ /// </summary>
public class AccessTokenResponse {
+ /// <summary>
+ /// Initializes a new instance of the <see cref="AccessTokenResponse"/> class.
+ /// </summary>
+ /// <param name="accessToken">The access token.</param>
+ /// <param name="tokenSecret">The token secret.</param>
+ /// <param name="extraData">Any extra data that came with the response.</param>
public AccessTokenResponse(string accessToken, string tokenSecret, NameValueCollection extraData) {
this.AccessToken = new AccessToken(accessToken, tokenSecret);
this.ExtraData = extraData;
}
+ /// <summary>
+ /// Gets or sets the access token.
+ /// </summary>
+ /// <value>
+ /// The access token.
+ /// </value>
public AccessToken AccessToken { get; set; }
+ /// <summary>
+ /// Gets or sets any extra data that came with the response..
+ /// </summary>
public NameValueCollection ExtraData { get; set; }
}
}