//-----------------------------------------------------------------------
//
// Copyright (c) Andrew Arnott. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOAuth.Messaging {
using System;
using DotNetOAuth.OAuth.ChannelElements;
///
/// An interface that must be implemented by message transforms/validators in order
/// to be included in the channel stack.
///
public interface ITamperProtectionChannelBindingElement : IChannelBindingElement {
///
/// Gets or sets the delegate that will initialize the non-serialized properties necessary on a
/// signable message so that its signature can be correctly calculated or verified.
///
Action SignatureCallback { get; set; }
///
/// Clones this instance.
///
/// The cloned instance.
ITamperProtectionChannelBindingElement Clone();
}
}