summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-04-01 07:10:53 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-04-01 08:14:47 -0700
commit3dc6c8214242cecadaa9d6c63f083f68c58597fd (patch)
tree91ae359a52fe863cf5851b77faaa45ff43566ca2
parentefae8ebd730873ce485d07638513be86d8a0a9d2 (diff)
downloadDotNetOpenAuth-3dc6c8214242cecadaa9d6c63f083f68c58597fd.zip
DotNetOpenAuth-3dc6c8214242cecadaa9d6c63f083f68c58597fd.tar.gz
DotNetOpenAuth-3dc6c8214242cecadaa9d6c63f083f68c58597fd.tar.bz2
Corrected old name of nonce store property.
-rw-r--r--projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs2
-rw-r--r--samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs2
-rw-r--r--src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/AuthorizationCode.cs2
-rw-r--r--src/DotNetOpenAuth.OAuth2.ClientAuthorization/OAuth2/IAuthorizationServer.cs4
4 files changed, 5 insertions, 5 deletions
diff --git a/projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs b/projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs
index 27c1e0c..77348ec 100644
--- a/projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs
+++ b/projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs
@@ -40,7 +40,7 @@ namespace RelyingPartyLogic {
/// Gets the authorization code nonce store to use to ensure that authorization codes can only be used once.
/// </summary>
/// <value>The authorization code nonce store.</value>
- public INonceStore VerificationCodeNonceStore {
+ public INonceStore NonceStore {
get { return this.nonceStore; }
}
diff --git a/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs b/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
index 61f9e9d..59e66ba 100644
--- a/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
+++ b/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
@@ -35,7 +35,7 @@
get { return MvcApplication.KeyNonceStore; }
}
- public INonceStore VerificationCodeNonceStore {
+ public INonceStore NonceStore {
get { return MvcApplication.KeyNonceStore; }
}
diff --git a/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/AuthorizationCode.cs b/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/AuthorizationCode.cs
index f5f25b2..a62403b 100644
--- a/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/AuthorizationCode.cs
+++ b/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/AuthorizationCode.cs
@@ -79,7 +79,7 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements {
encrypted: true,
compressed: false,
maximumAge: MaximumMessageAge,
- decodeOnceOnly: authorizationServer.VerificationCodeNonceStore);
+ decodeOnceOnly: authorizationServer.NonceStore);
}
/// <summary>
diff --git a/src/DotNetOpenAuth.OAuth2.ClientAuthorization/OAuth2/IAuthorizationServer.cs b/src/DotNetOpenAuth.OAuth2.ClientAuthorization/OAuth2/IAuthorizationServer.cs
index 292cba6..605d007 100644
--- a/src/DotNetOpenAuth.OAuth2.ClientAuthorization/OAuth2/IAuthorizationServer.cs
+++ b/src/DotNetOpenAuth.OAuth2.ClientAuthorization/OAuth2/IAuthorizationServer.cs
@@ -35,7 +35,7 @@ namespace DotNetOpenAuth.OAuth2 {
/// Gets the authorization code nonce store to use to ensure that authorization codes can only be used once.
/// </summary>
/// <value>The authorization code nonce store.</value>
- INonceStore VerificationCodeNonceStore { get; }
+ INonceStore NonceStore { get; }
/// <summary>
/// Obtains parameters to go into the formulation of an access token.
@@ -116,7 +116,7 @@ namespace DotNetOpenAuth.OAuth2 {
/// Gets the authorization code nonce store to use to ensure that authorization codes can only be used once.
/// </summary>
/// <value>The authorization code nonce store.</value>
- INonceStore IAuthorizationServer.VerificationCodeNonceStore {
+ INonceStore IAuthorizationServer.NonceStore {
get {
Contract.Ensures(Contract.Result<INonceStore>() != null);
throw new NotImplementedException();