diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-15 18:04:41 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-15 18:04:41 -0700 |
commit | eca38cd0d1d360d6d5ee3afbe3759a6efb6a5acf (patch) | |
tree | f0f3e84986b87d6302ce3e4de06a229d2ab835f8 /src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs | |
parent | df342fb180ae32ba8ce3443862b38e02cdea8b8d (diff) | |
download | DotNetOpenAuth-eca38cd0d1d360d6d5ee3afbe3759a6efb6a5acf.zip DotNetOpenAuth-eca38cd0d1d360d6d5ee3afbe3759a6efb6a5acf.tar.gz DotNetOpenAuth-eca38cd0d1d360d6d5ee3afbe3759a6efb6a5acf.tar.bz2 |
Renamed a couple of methods:
PrepareMessageForSending -> ProcessOutgoingMessage
VerifyMessageAfterReceiving -> ProcessIncomingMessage
Diffstat (limited to 'src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs')
-rw-r--r-- | src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs b/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs index 3c0e840..18757ba 100644 --- a/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs +++ b/src/DotNetOpenAuth/OAuth/ChannelElements/SigningBindingElementBase.cs @@ -80,7 +80,7 @@ namespace DotNetOpenAuth.OAuth.ChannelElements { /// The protections (if any) that this binding element applied to the message. /// Null if this binding element did not even apply to this binding element. /// </returns> - public MessageProtections? PrepareMessageForSending(IProtocolMessage message) { + public MessageProtections? ProcessOutgoingMessage(IProtocolMessage message) { var signedMessage = message as ITamperResistantOAuthMessage; if (signedMessage != null && this.IsMessageApplicable(signedMessage)) { if (this.SignatureCallback != null) { @@ -107,7 +107,7 @@ namespace DotNetOpenAuth.OAuth.ChannelElements { /// Null if this binding element did not even apply to this binding element. /// </returns> /// <exception cref="InvalidSignatureException">Thrown if the signature is invalid.</exception> - public MessageProtections? PrepareMessageForReceiving(IProtocolMessage message) { + public MessageProtections? ProcessIncomingMessage(IProtocolMessage message) { var signedMessage = message as ITamperResistantOAuthMessage; if (signedMessage != null && this.IsMessageApplicable(signedMessage)) { Logger.DebugFormat("Verifying incoming {0} message signature of: {1}", message.GetType().Name, signedMessage.Signature); |