//----------------------------------------------------------------------- // // Copyright (c) Outercurve Foundation. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOpenAuth.OAuth.ChannelElements { using System; using System.Collections.Generic; using System.Net.Http; using DotNetOpenAuth.Messaging; using DotNetOpenAuth.Messaging.Bindings; /// /// An interface that OAuth messages implement to support signing. /// public interface ITamperResistantOAuthMessage : IDirectedProtocolMessage, ITamperResistantProtocolMessage, IMessageOriginalPayload { /// /// Gets or sets the method used to sign the message. /// string SignatureMethod { get; set; } /// /// Gets or sets the Token Secret used to sign the message. /// string TokenSecret { get; set; } /// /// Gets or sets the Consumer key. /// string ConsumerKey { get; set; } /// /// Gets or sets the Consumer Secret used to sign the message. /// string ConsumerSecret { get; set; } /// /// Gets or sets the HTTP method that will be used to transmit the message. /// HttpMethod HttpMethod { get; set; } /// /// Gets or sets the URL of the intended receiver of this message. /// new Uri Recipient { get; set; } } }