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

namespace DotNetOpenAuth.OAuth2.AuthServer.ChannelElements {
	using DotNetOpenAuth.OAuth2.ChannelElements;

	/// <summary>
	/// A message that carries a refresh token between client and authorization server.
	/// </summary>
	internal interface IRefreshTokenCarryingRequest : IAuthorizationCarryingRequest {
		/// <summary>
		/// Gets or sets the refresh token.
		/// </summary>
		string RefreshToken { get; set; }

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