//----------------------------------------------------------------------- // // Copyright (c) Andrew Arnott. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOAuth.ChannelElements { using System.Collections.Generic; using DotNetOAuth.Messaging; using DotNetOAuth.Messaging.Bindings; /// /// An interface that OAuth messages implement to support signing. /// internal interface ITamperResistantOAuthMessage : IDirectedProtocolMessage, ITamperResistantProtocolMessage { /// /// 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. /// string HttpMethod { get; set; } /// /// Gets or sets the extra, non-OAuth parameters that will be included in the request. /// Only applicable to Consumer. /// IDictionary AdditionalParametersInHttpRequest { get; set; } } }