diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-10 11:41:47 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-10 11:41:47 -0800 |
commit | abd2769d72e52def7544ac080cee4758bfc8e592 (patch) | |
tree | 34c22abbe6260d387b1a7c851d286c5b50fcbe33 /src/DotNetOpenAuth.AspNet/Clients/OAuth/InMemoryOAuthTokenManager.cs | |
parent | 5bd70111d5740844656aaed12206c9f28dd25923 (diff) | |
download | DotNetOpenAuth-abd2769d72e52def7544ac080cee4758bfc8e592.zip DotNetOpenAuth-abd2769d72e52def7544ac080cee4758bfc8e592.tar.gz DotNetOpenAuth-abd2769d72e52def7544ac080cee4758bfc8e592.tar.bz2 |
StyleCop fixes on AspNet project.
Diffstat (limited to 'src/DotNetOpenAuth.AspNet/Clients/OAuth/InMemoryOAuthTokenManager.cs')
-rw-r--r-- | src/DotNetOpenAuth.AspNet/Clients/OAuth/InMemoryOAuthTokenManager.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/DotNetOpenAuth.AspNet/Clients/OAuth/InMemoryOAuthTokenManager.cs b/src/DotNetOpenAuth.AspNet/Clients/OAuth/InMemoryOAuthTokenManager.cs index b319d55..b45a65b 100644 --- a/src/DotNetOpenAuth.AspNet/Clients/OAuth/InMemoryOAuthTokenManager.cs +++ b/src/DotNetOpenAuth.AspNet/Clients/OAuth/InMemoryOAuthTokenManager.cs @@ -20,7 +20,7 @@ namespace DotNetOpenAuth.AspNet.Clients { /// <summary> /// The _tokens and secrets. /// </summary> - private readonly Dictionary<string, string> _tokensAndSecrets = new Dictionary<string, string>(); + private readonly Dictionary<string, string> tokensAndSecrets = new Dictionary<string, string>(); #endregion @@ -100,8 +100,8 @@ namespace DotNetOpenAuth.AspNet.Clients { /// </remarks> public void ExpireRequestTokenAndStoreNewAccessToken( string consumerKey, string requestToken, string accessToken, string accessTokenSecret) { - this._tokensAndSecrets.Remove(requestToken); - this._tokensAndSecrets[accessToken] = accessTokenSecret; + this.tokensAndSecrets.Remove(requestToken); + this.tokensAndSecrets[accessToken] = accessTokenSecret; } /// <summary> @@ -117,7 +117,7 @@ namespace DotNetOpenAuth.AspNet.Clients { /// Thrown if the secret cannot be found for the given token. /// </exception> public string GetTokenSecret(string token) { - return this._tokensAndSecrets[token]; + return this.tokensAndSecrets[token]; } /// <summary> @@ -149,7 +149,7 @@ namespace DotNetOpenAuth.AspNet.Clients { /// Request tokens stored by this method SHOULD NOT associate any user account with this token. It usually opens up security holes in your application to do so. Instead, you associate a user account with access tokens (not request tokens) in the <see cref="ExpireRequestTokenAndStoreNewAccessToken"/> method. /// </remarks> public void StoreNewRequestToken(UnauthorizedTokenRequest request, ITokenSecretContainingMessage response) { - this._tokensAndSecrets[response.Token] = response.TokenSecret; + this.tokensAndSecrets[response.Token] = response.TokenSecret; } #endregion |