summaryrefslogtreecommitdiffstats
path: root/samples/OAuthConsumer/App_Code/InMemoryTokenManager.cs
diff options
context:
space:
mode:
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];
}