summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/IAccessTokenCarryingRequest.cs
blob: 3f5f0f2f1ceb09da7b8548f1928a8c617cb720a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//-----------------------------------------------------------------------
// <copyright file="IAccessTokenCarryingRequest.cs" company="Outercurve Foundation">
//     Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.OAuth2.ChannelElements {
	/// <summary>
	/// A message that carries an access token between client and authorization server.
	/// </summary>
	internal interface IAccessTokenCarryingRequest : IAuthorizationCarryingRequest {
		/// <summary>
		/// Gets or sets the access token.
		/// </summary>
		string AccessToken { get; set; }

		/// <summary>
		/// Gets or sets the authorization that the token describes.
		/// </summary>
		new AccessToken AuthorizationDescription { get; set; }
	}
}