summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/Messages/IAuthorizationCodeCarryingRequest.cs
blob: 045cb8004318eccbc9ca499353cecdeb9cae45bf (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="IAuthorizationCodeCarryingRequest.cs" company="Outercurve Foundation">
//     Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

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

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