summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth.Consumer/OAuth
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-03-22 06:22:36 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2013-03-22 06:22:36 -0700
commit4c432c1278f301c3c80097866accca679e929fed (patch)
treed21dc94faeca5b600460abac10bd5080935cd12a /src/DotNetOpenAuth.OAuth.Consumer/OAuth
parent579703ee02408e7d3cdd604aa263e95a6f1e49c3 (diff)
downloadDotNetOpenAuth-4c432c1278f301c3c80097866accca679e929fed.zip
DotNetOpenAuth-4c432c1278f301c3c80097866accca679e929fed.tar.gz
DotNetOpenAuth-4c432c1278f301c3c80097866accca679e929fed.tar.bz2
Fixes remaining build breaks.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth.Consumer/OAuth')
-rw-r--r--src/DotNetOpenAuth.OAuth.Consumer/OAuth/Consumer.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/Consumer.cs b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/Consumer.cs
index 560e536..93fbaac 100644
--- a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/Consumer.cs
+++ b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/Consumer.cs
@@ -39,21 +39,24 @@ namespace DotNetOpenAuth.OAuth {
}
/// <summary>
- /// Initializes a new instance of the <see cref="Consumer"/> class.
+ /// Initializes a new instance of the <see cref="Consumer" /> class.
/// </summary>
/// <param name="consumerKey">The consumer key.</param>
/// <param name="consumerSecret">The consumer secret.</param>
/// <param name="serviceProvider">The service provider.</param>
/// <param name="temporaryCredentialStorage">The temporary credential storage.</param>
+ /// <param name="hostFactories">The host factories.</param>
public Consumer(
string consumerKey,
string consumerSecret,
ServiceProviderDescription serviceProvider,
- ITemporaryCredentialStorage temporaryCredentialStorage) {
+ ITemporaryCredentialStorage temporaryCredentialStorage,
+ IHostFactories hostFactories = null) {
this.ConsumerKey = consumerKey;
this.ConsumerSecret = consumerSecret;
this.ServiceProvider = serviceProvider;
this.TemporaryCredentialStorage = temporaryCredentialStorage;
+ this.HostFactories = hostFactories ?? new DefaultOAuthHostFactories();
}
/// <summary>