summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/IAuthorizationCarryingRequest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/IAuthorizationCarryingRequest.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/IAuthorizationCarryingRequest.cs37
1 files changed, 2 insertions, 35 deletions
diff --git a/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/IAuthorizationCarryingRequest.cs b/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/IAuthorizationCarryingRequest.cs
index f47bac1..13a1b24 100644
--- a/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/IAuthorizationCarryingRequest.cs
+++ b/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/IAuthorizationCarryingRequest.cs
@@ -10,45 +10,12 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements {
using Messaging;
/// <summary>
- /// The various types of tokens created by the authorization server.
- /// </summary>
- internal enum CodeOrTokenType {
- /// <summary>
- /// The code issued to the client after the user has approved authorization.
- /// </summary>
- AuthorizationCode,
-
- /// <summary>
- /// The long-lived token issued to the client that enables it to obtain
- /// short-lived access tokens later.
- /// </summary>
- RefreshToken,
-
- /// <summary>
- /// A (typically) short-lived token.
- /// </summary>
- AccessToken,
- }
-
- /// <summary>
/// A message that carries some kind of token from the client to the authorization or resource server.
/// </summary>
internal interface IAuthorizationCarryingRequest : IDirectedProtocolMessage {
/// <summary>
- /// Gets or sets the verification code or refresh/access token.
- /// </summary>
- /// <value>The code or token.</value>
- string CodeOrToken { get; set; }
-
- /// <summary>
- /// Gets the type of the code or token.
- /// </summary>
- /// <value>The type of the code or token.</value>
- CodeOrTokenType CodeOrTokenType { get; }
-
- /// <summary>
- /// Gets or sets the authorization that the token describes.
+ /// Gets the authorization that the code or token describes.
/// </summary>
- IAuthorizationDescription AuthorizationDescription { get; set; }
+ IAuthorizationDescription AuthorizationDescription { get; }
}
}