diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2011-08-02 16:17:49 -0600 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2011-08-02 16:17:49 -0600 |
commit | 11bed3db5fbcb73a72944cfafb13f62ad7fab407 (patch) | |
tree | 7238ecbd2e31acf1841d455f440a1fe67b3112cc /src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements | |
parent | c46581d201e7215bb91d9c198222a49111e4bd77 (diff) | |
download | DotNetOpenAuth-11bed3db5fbcb73a72944cfafb13f62ad7fab407.zip DotNetOpenAuth-11bed3db5fbcb73a72944cfafb13f62ad7fab407.tar.gz DotNetOpenAuth-11bed3db5fbcb73a72944cfafb13f62ad7fab407.tar.bz2 |
The test project now builds, so the whole solution does.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements')
-rw-r--r-- | src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements/OAuthConsumerChannel.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements/OAuthConsumerChannel.cs b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements/OAuthConsumerChannel.cs index 9d5e74a..412e322 100644 --- a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements/OAuthConsumerChannel.cs +++ b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/ChannelElements/OAuthConsumerChannel.cs @@ -17,13 +17,13 @@ /// <param name="tokenManager">The token manager instance to use.</param> /// <param name="securitySettings">The security settings.</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) + internal OAuthConsumerChannel(ITamperProtectionChannelBindingElement signingBindingElement, INonceStore store, IConsumerTokenManager tokenManager, ConsumerSecuritySettings securitySettings, IMessageFactory messageFactory = null) : base( signingBindingElement, store, tokenManager, securitySettings, - new OAuthConsumerMessageFactory(), + messageFactory ?? new OAuthConsumerMessageFactory(), InitializeBindingElements(signingBindingElement, store, tokenManager, securitySettings)) { Contract.Requires<ArgumentNullException>(tokenManager != null); Contract.Requires<ArgumentNullException>(securitySettings != null); |