diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-22 07:17:22 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-09-22 07:17:22 -0700 |
commit | d4e2e55e9a48ffb397d1e095194c64ea726bfaeb (patch) | |
tree | c7ec31e3a6a31f1f1513d39c1515b2aa3d5341b8 /src/DotNetOAuth/Messages/AccessProtectedResourcesMessage.cs | |
parent | f80ac82be5e9432806ce35b7025b007246d74147 (diff) | |
download | DotNetOpenAuth-d4e2e55e9a48ffb397d1e095194c64ea726bfaeb.zip DotNetOpenAuth-d4e2e55e9a48ffb397d1e095194c64ea726bfaeb.tar.gz DotNetOpenAuth-d4e2e55e9a48ffb397d1e095194c64ea726bfaeb.tar.bz2 |
Refactored OAuth signing functionality into a SignedMessageBase class.
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; }
- }
}
}
|