diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-07 12:31:04 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-07 12:38:28 -0800 |
commit | 6e8f8f47865cf3aed4fdbe6163a6d53539d932d9 (patch) | |
tree | 7d6a21e9b98dba41e5e1cb7ab24994dbdfc0b327 /samples/OAuthConsumerWpf/InMemoryTokenManager.cs | |
parent | df813954db953dd5348de08c922ba866365b0a20 (diff) | |
download | DotNetOpenAuth-6e8f8f47865cf3aed4fdbe6163a6d53539d932d9.zip DotNetOpenAuth-6e8f8f47865cf3aed4fdbe6163a6d53539d932d9.tar.gz DotNetOpenAuth-6e8f8f47865cf3aed4fdbe6163a6d53539d932d9.tar.bz2 |
Moved one method from ITokenManager to IServiceProviderTokenManager, and added code contracts.
Diffstat (limited to 'samples/OAuthConsumerWpf/InMemoryTokenManager.cs')
-rw-r--r-- | samples/OAuthConsumerWpf/InMemoryTokenManager.cs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/samples/OAuthConsumerWpf/InMemoryTokenManager.cs b/samples/OAuthConsumerWpf/InMemoryTokenManager.cs index faa485f..4f70c06 100644 --- a/samples/OAuthConsumerWpf/InMemoryTokenManager.cs +++ b/samples/OAuthConsumerWpf/InMemoryTokenManager.cs @@ -39,20 +39,6 @@ namespace DotNetOpenAuth.Samples.OAuthConsumerWpf { this.tokensAndSecrets[response.Token] = response.TokenSecret; } - /// <summary> - /// Checks whether a given request token has already been authorized - /// by some user for use by the Consumer that requested it. - /// </summary> - /// <param name="requestToken">The Consumer's request token.</param> - /// <returns> - /// True if the request token has already been fully authorized by the user - /// who owns the relevant protected resources. False if the token has not yet - /// been authorized, has expired or does not exist. - /// </returns> - public bool IsRequestTokenAuthorized(string requestToken) { - throw new NotImplementedException(); - } - public void ExpireRequestTokenAndStoreNewAccessToken(string consumerKey, string requestToken, string accessToken, string accessTokenSecret) { this.tokensAndSecrets.Remove(requestToken); this.tokensAndSecrets[accessToken] = accessTokenSecret; |