diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-10-09 14:27:05 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-10-09 14:27:05 -0700 |
commit | 7ba9649126a7b802e348fbe210383fabc2898659 (patch) | |
tree | 044d6b2b744b765da0fcab39086eadd35e6f3bd3 /src/DotNetOAuth.Test/Mocks/InMemoryTokenManager.cs | |
parent | 8b4b94a24edb82609e45b10d32744a2b436d79c6 (diff) | |
download | DotNetOpenAuth-7ba9649126a7b802e348fbe210383fabc2898659.zip DotNetOpenAuth-7ba9649126a7b802e348fbe210383fabc2898659.tar.gz DotNetOpenAuth-7ba9649126a7b802e348fbe210383fabc2898659.tar.bz2 |
Refactored messages to try to simplify their uses and try to hide information from areas that don't need it.
Diffstat (limited to 'src/DotNetOAuth.Test/Mocks/InMemoryTokenManager.cs')
-rw-r--r-- | src/DotNetOAuth.Test/Mocks/InMemoryTokenManager.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DotNetOAuth.Test/Mocks/InMemoryTokenManager.cs b/src/DotNetOAuth.Test/Mocks/InMemoryTokenManager.cs index c00e181..5713707 100644 --- a/src/DotNetOAuth.Test/Mocks/InMemoryTokenManager.cs +++ b/src/DotNetOAuth.Test/Mocks/InMemoryTokenManager.cs @@ -35,9 +35,9 @@ namespace DotNetOAuth.Test.Mocks { return this.tokensAndSecrets[token];
}
- public void StoreNewRequestToken(GetRequestTokenMessage request, GrantRequestTokenMessage response) {
- this.tokensAndSecrets[response.RequestToken] = response.TokenSecret;
- this.requestTokens.Add(response.RequestToken, false);
+ public void StoreNewRequestToken(GetRequestTokenMessage request, ITokenSecretContainingMessage response) {
+ this.tokensAndSecrets[response.Token] = response.TokenSecret;
+ this.requestTokens.Add(response.Token, false);
}
/// <summary>
|