diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-28 16:31:42 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-28 16:33:01 -0700 |
commit | 3f01e9b105a551fa7b7f7e54ddabd797328e0a4b (patch) | |
tree | 941889ba2ba02bc356582373849563eea2782225 /src/DotNetOpenAuth.OAuth.ServiceProvider/OAuth | |
parent | 6877b41cb57087bc6ecefcfc5a0f9534a33b2ba8 (diff) | |
download | DotNetOpenAuth-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.cs | 4 |
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(); |