Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

Commit

Permalink
Merge branch 'v3.1' into v3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Nov 19, 2009
2 parents 53e675d + e9a2f0c commit 8aa6439
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DotNetOpenAuth.Test/OAuth/OAuthCoordinator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
namespace DotNetOpenAuth.Test {
using System;
using DotNetOpenAuth.Messaging;
using DotNetOpenAuth.Messaging.Bindings;
using DotNetOpenAuth.OAuth;
using DotNetOpenAuth.OAuth.ChannelElements;
using DotNetOpenAuth.Test.Mocks;
Expand Down Expand Up @@ -57,7 +58,7 @@ internal override void Run() {
WebConsumer consumer = new WebConsumer(this.serviceDescription, consumerTokenManager) {
OAuthChannel = consumerChannel,
};
ServiceProvider serviceProvider = new ServiceProvider(this.serviceDescription, serviceTokenManager) {
ServiceProvider serviceProvider = new ServiceProvider(this.serviceDescription, serviceTokenManager, new NonceMemoryStore()) {
OAuthChannel = serviceProviderChannel,
};

Expand Down
7 changes: 7 additions & 0 deletions src/DotNetOpenAuth/Messaging/Bindings/NonceMemoryStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ internal class NonceMemoryStore : INonceStore {
/// </summary>
private int nonceClearingCounter;

/// <summary>
/// Initializes a new instance of the <see cref="NonceMemoryStore"/> class.
/// </summary>
internal NonceMemoryStore()
: this(StandardExpirationBindingElement.DefaultMaximumMessageAge) {
}

/// <summary>
/// Initializes a new instance of the <see cref="NonceMemoryStore"/> class.
/// </summary>
Expand Down

0 comments on commit 8aa6439

Please sign in to comment.