summaryrefslogtreecommitdiffstats
path: root/samples/OAuthConsumer/App_Code/InMemoryTokenManager.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-07-13 23:51:01 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-07-13 23:51:01 -0700
commit0dd96d279774236cd91244d5b49c941c5987be64 (patch)
tree2486dfccbee8c9ff43494708bec2ac049d28208f /samples/OAuthConsumer/App_Code/InMemoryTokenManager.cs
parentcb50729bf70ed1230e4a6868a758554b2e02d238 (diff)
downloadDotNetOpenAuth-0dd96d279774236cd91244d5b49c941c5987be64.zip
DotNetOpenAuth-0dd96d279774236cd91244d5b49c941c5987be64.tar.gz
DotNetOpenAuth-0dd96d279774236cd91244d5b49c941c5987be64.tar.bz2
Removed unnecessary method from sample InMemoryTokenManager.
Diffstat (limited to 'samples/OAuthConsumer/App_Code/InMemoryTokenManager.cs')
-rw-r--r--samples/OAuthConsumer/App_Code/InMemoryTokenManager.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/samples/OAuthConsumer/App_Code/InMemoryTokenManager.cs b/samples/OAuthConsumer/App_Code/InMemoryTokenManager.cs
index fede300..2ecd045 100644
--- a/samples/OAuthConsumer/App_Code/InMemoryTokenManager.cs
+++ b/samples/OAuthConsumer/App_Code/InMemoryTokenManager.cs
@@ -28,14 +28,6 @@ public class InMemoryTokenManager : IConsumerTokenManager {
#region ITokenManager Members
- public string GetConsumerSecret(string consumerKey) {
- if (consumerKey == this.ConsumerKey) {
- return this.ConsumerSecret;
- } else {
- throw new ArgumentException("Unrecognized consumer key.", "consumerKey");
- }
- }
-
public string GetTokenSecret(string token) {
return this.tokensAndSecrets[token];
}