summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth.ServiceProvider/OAuth
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-03-28 16:31:42 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2013-03-28 16:33:01 -0700
commit3f01e9b105a551fa7b7f7e54ddabd797328e0a4b (patch)
tree941889ba2ba02bc356582373849563eea2782225 /src/DotNetOpenAuth.OAuth.ServiceProvider/OAuth
parent6877b41cb57087bc6ecefcfc5a0f9534a33b2ba8 (diff)
downloadDotNetOpenAuth-3f01e9b105a551fa7b7f7e54ddabd797328e0a4b.zip
DotNetOpenAuth-3f01e9b105a551fa7b7f7e54ddabd797328e0a4b.tar.gz
DotNetOpenAuth-3f01e9b105a551fa7b7f7e54ddabd797328e0a4b.tar.bz2
Consolidates two OpenID memory app stores
The StandardRelyingPartyApplicationStore and StandardProviderApplicationStore were equivalent, and thus redundant. There was also nothing OpenID specific about them. So this consolidates and renames these types to better reflect their general purpose.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth.ServiceProvider/OAuth')
-rw-r--r--src/DotNetOpenAuth.OAuth.ServiceProvider/OAuth/ServiceProvider.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.OAuth.ServiceProvider/OAuth/ServiceProvider.cs b/src/DotNetOpenAuth.OAuth.ServiceProvider/OAuth/ServiceProvider.cs
index b163d0d..b1deb74 100644
--- a/src/DotNetOpenAuth.OAuth.ServiceProvider/OAuth/ServiceProvider.cs
+++ b/src/DotNetOpenAuth.OAuth.ServiceProvider/OAuth/ServiceProvider.cs
@@ -37,7 +37,7 @@ namespace DotNetOpenAuth.OAuth {
public class ServiceProvider : IDisposable {
/// <summary>
/// The name of the key to use in the HttpApplication cache to store the
- /// instance of <see cref="NonceMemoryStore"/> to use.
+ /// instance of <see cref="MemoryNonceStore"/> to use.
/// </summary>
private const string ApplicationStoreKey = "DotNetOpenAuth.OAuth.ServiceProvider.HttpApplicationStore";
@@ -165,7 +165,7 @@ namespace DotNetOpenAuth.OAuth {
context.Application.Lock();
try {
if ((store = (INonceStore)context.Application[ApplicationStoreKey]) == null) {
- context.Application[ApplicationStoreKey] = store = new NonceMemoryStore(StandardExpirationBindingElement.MaximumMessageAge);
+ context.Application[ApplicationStoreKey] = store = new MemoryNonceStore(StandardExpirationBindingElement.MaximumMessageAge);
}
} finally {
context.Application.UnLock();