diff options
Diffstat (limited to 'src/DotNetOAuth/Messages/AccessProtectedResourcesMessage.cs')
-rw-r--r-- | src/DotNetOAuth/Messages/AccessProtectedResourcesMessage.cs | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/DotNetOAuth/Messages/AccessProtectedResourcesMessage.cs b/src/DotNetOAuth/Messages/AccessProtectedResourcesMessage.cs index 1b145a9..05eba68 100644 --- a/src/DotNetOAuth/Messages/AccessProtectedResourcesMessage.cs +++ b/src/DotNetOAuth/Messages/AccessProtectedResourcesMessage.cs @@ -6,20 +6,19 @@ namespace DotNetOAuth.Messages {
using System;
- using System.Runtime.Serialization;
using DotNetOAuth.Messaging;
/// <summary>
/// A message attached to a request for protected resources that provides the necessary
/// credentials to be granted access to those resources.
/// </summary>
- internal class AccessProtectedResourcesMessage : MessageBase {
+ internal class AccessProtectedResourcesMessage : SignedMessageBase {
/// <summary>
/// Initializes a new instance of the <see cref="AccessProtectedResourcesMessage"/> class.
/// </summary>
/// <param name="serviceProvider">The URI of the Service Provider endpoint to send this message to.</param>
internal AccessProtectedResourcesMessage(Uri serviceProvider)
- : base(MessageProtection.All, MessageTransport.Direct, serviceProvider) {
+ : base(MessageTransport.Direct, serviceProvider) {
}
/// <summary>
@@ -33,14 +32,5 @@ namespace DotNetOAuth.Messages { /// </summary>
[MessagePart(Name = "oauth_token", IsRequired = true)]
public string AccessToken { get; set; }
-
- /// <summary>
- /// Gets or sets the protocol version used in the construction of this message.
- /// </summary>
- [MessagePart(Name = "oauth_version", IsRequired = false)]
- public string Version {
- get { return this.VersionString; }
- set { this.VersionString = value; }
- }
}
}
|