diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-18 20:25:57 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-18 20:38:59 -0700 |
commit | 1cefb24fd021a0292c13d6bfd61bd81543d4dfce (patch) | |
tree | f3aa9d1cc18b7d2a37a8cc81454dffea2457b763 /src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientCredentialApplicator.cs | |
parent | 5cd3b789f3966dc386cf91aa5c988ad0155fdd5d (diff) | |
download | DotNetOpenAuth-1cefb24fd021a0292c13d6bfd61bd81543d4dfce.zip DotNetOpenAuth-1cefb24fd021a0292c13d6bfd61bd81543d4dfce.tar.gz DotNetOpenAuth-1cefb24fd021a0292c13d6bfd61bd81543d4dfce.tar.bz2 |
Renamed a client credential applicator.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientCredentialApplicator.cs')
-rw-r--r-- | src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientCredentialApplicator.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientCredentialApplicator.cs b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientCredentialApplicator.cs index 67e7234..a95f3d0 100644 --- a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientCredentialApplicator.cs +++ b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientCredentialApplicator.cs @@ -28,9 +28,9 @@ namespace DotNetOpenAuth.OAuth2 { /// </summary> /// <param name="clientSecret">The secret the client shares with the authorization server.</param> /// <returns>The credential applicator to provide to the <see cref="ClientBase"/> instance.</returns> - public static ClientCredentialApplicator SecretParameter(string clientSecret) { + public static ClientCredentialApplicator PostParameter(string clientSecret) { Requires.NotNullOrEmpty(clientSecret, "clientSecret"); - return new SecretParameterApplicator(clientSecret); + return new PostParameterApplicator(clientSecret); } /// <summary> @@ -92,17 +92,17 @@ namespace DotNetOpenAuth.OAuth2 { /// <summary> /// Authenticates the client via a client_secret parameter in the message. /// </summary> - private class SecretParameterApplicator : ClientCredentialApplicator { + private class PostParameterApplicator : ClientCredentialApplicator { /// <summary> /// The client secret. /// </summary> private readonly string secret; /// <summary> - /// Initializes a new instance of the <see cref="SecretParameterApplicator"/> class. + /// Initializes a new instance of the <see cref="PostParameterApplicator"/> class. /// </summary> /// <param name="clientSecret">The client secret.</param> - internal SecretParameterApplicator(string clientSecret) { + internal PostParameterApplicator(string clientSecret) { Requires.NotNullOrEmpty(clientSecret, "clientSecret"); this.secret = clientSecret; } |