summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-02-09 23:35:41 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2013-02-09 23:35:41 -0800
commitbfb7f04a6c71b54b27763eccf69c3d26c0764272 (patch)
tree13fab874e73a1cf753abcbf1e2d2f40a84bfdc82 /src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements
parent9a0f8c7233f2f42653a9d38255a32f79e34fa985 (diff)
downloadDotNetOpenAuth-bfb7f04a6c71b54b27763eccf69c3d26c0764272.zip
DotNetOpenAuth-bfb7f04a6c71b54b27763eccf69c3d26c0764272.tar.gz
DotNetOpenAuth-bfb7f04a6c71b54b27763eccf69c3d26c0764272.tar.bz2
Fixes OAuthConsumer twitter sample.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements')
-rw-r--r--src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements/OAuthConsumerChannel.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements/OAuthConsumerChannel.cs b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements/OAuthConsumerChannel.cs
index 89ce187..3ed05f8 100644
--- a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements/OAuthConsumerChannel.cs
+++ b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements/OAuthConsumerChannel.cs
@@ -27,13 +27,14 @@ namespace DotNetOpenAuth.OAuth.ChannelElements {
/// <param name="securitySettings">The security settings.</param>
/// <param name="messageFactory">The message factory.</param>
[SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "System.Diagnostics.Contracts.__ContractsRuntime.Requires<System.ArgumentNullException>(System.Boolean,System.String,System.String)", Justification = "Code contracts"), SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "securitySettings", Justification = "Code contracts")]
- internal OAuthConsumerChannel(ITamperProtectionChannelBindingElement signingBindingElement, INonceStore store, IConsumerTokenManager tokenManager, ConsumerSecuritySettings securitySettings, IMessageFactory messageFactory = null)
+ internal OAuthConsumerChannel(ITamperProtectionChannelBindingElement signingBindingElement, INonceStore store, IConsumerTokenManager tokenManager, ConsumerSecuritySettings securitySettings, IMessageFactory messageFactory = null, IHostFactories hostFactories = null)
: base(
signingBindingElement,
tokenManager,
securitySettings,
messageFactory ?? new OAuthConsumerMessageFactory(),
- InitializeBindingElements(signingBindingElement, store)) {
+ InitializeBindingElements(signingBindingElement, store),
+ hostFactories) {
Requires.NotNull(tokenManager, "tokenManager");
Requires.NotNull(securitySettings, "securitySettings");
Requires.NotNull(signingBindingElement, "signingBindingElement");