diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-10-08 09:52:48 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-10-08 09:52:48 -0700 |
commit | 2276413c733f6a26e9b366214bdfb5677e711c75 (patch) | |
tree | 0047f172fa2a7f115baf243c0a8cf5a3e5fb4e92 /src/DotNetOAuth/ServiceProviderDescription.cs | |
parent | 29d897769f3e7a9568fa668836807d9a31b5fabc (diff) | |
download | DotNetOpenAuth-2276413c733f6a26e9b366214bdfb5677e711c75.zip DotNetOpenAuth-2276413c733f6a26e9b366214bdfb5677e711c75.tar.gz DotNetOpenAuth-2276413c733f6a26e9b366214bdfb5677e711c75.tar.bz2 |
Moved SigningVerificationCallback handling to the OAuthChannel.
Diffstat (limited to 'src/DotNetOAuth/ServiceProviderDescription.cs')
-rw-r--r-- | src/DotNetOAuth/ServiceProviderDescription.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DotNetOAuth/ServiceProviderDescription.cs b/src/DotNetOAuth/ServiceProviderDescription.cs index 0ade8d4..56e5378 100644 --- a/src/DotNetOAuth/ServiceProviderDescription.cs +++ b/src/DotNetOAuth/ServiceProviderDescription.cs @@ -7,6 +7,7 @@ namespace DotNetOAuth {
using System;
using System.Diagnostics;
+ using System.Linq;
using DotNetOAuth.ChannelElements;
using DotNetOAuth.Messaging;
@@ -78,7 +79,7 @@ namespace DotNetOAuth { /// </summary>
/// <returns>The created signing element.</returns>
internal ITamperProtectionChannelBindingElement CreateTamperProtectionElement() {
- return new SigningBindingElementChain(this.TamperProtectionElements);
+ return new SigningBindingElementChain(this.TamperProtectionElements.Select(el => (ITamperProtectionChannelBindingElement)el.Clone()).ToArray());
}
}
}
|