summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements/OAuth2ClientChannel.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-04-18 20:24:55 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-04-18 20:24:55 -0700
commit5cd3b789f3966dc386cf91aa5c988ad0155fdd5d (patch)
tree26bb97deedd9a23e028c44e9552326832b01c65d /src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements/OAuth2ClientChannel.cs
parent2ddd19d9f037bebbbdc80d7de35ce4d899710859 (diff)
downloadDotNetOpenAuth-5cd3b789f3966dc386cf91aa5c988ad0155fdd5d.zip
DotNetOpenAuth-5cd3b789f3966dc386cf91aa5c988ad0155fdd5d.tar.gz
DotNetOpenAuth-5cd3b789f3966dc386cf91aa5c988ad0155fdd5d.tar.bz2
StyleCop cleanup, and reversal of some code changes that were no longer necessary.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements/OAuth2ClientChannel.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements/OAuth2ClientChannel.cs17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements/OAuth2ClientChannel.cs b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements/OAuth2ClientChannel.cs
index 51b1646..10a92e0 100644
--- a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements/OAuth2ClientChannel.cs
+++ b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements/OAuth2ClientChannel.cs
@@ -18,7 +18,7 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements {
/// <summary>
/// The messaging channel used by OAuth 2.0 Clients.
/// </summary>
- internal class OAuth2ClientChannel : OAuth2ChannelBase, IOAuth2ChannelWithClient {
+ internal class OAuth2ClientChannel : OAuth2ChannelBase {
/// <summary>
/// The messages receivable by this channel.
/// </summary>
@@ -39,13 +39,6 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements {
}
/// <summary>
- /// Gets or sets the identifier by which this client is known to the Authorization Server.
- /// </summary>
- public string ClientIdentifier { get; set; }
-
- public ClientCredentialApplicator ClientCredentialApplicator { get; set; }
-
- /// <summary>
/// Prepares an HTTP request that carries a given message.
/// </summary>
/// <param name="request">The message to send.</param>
@@ -139,13 +132,5 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements {
// Clients don't ever send direct responses.
throw new NotImplementedException();
}
-
- protected override IncomingWebResponse GetDirectResponse(HttpWebRequest webRequest) {
- if (this.ClientCredentialApplicator != null) {
- this.ClientCredentialApplicator.ApplyClientCredential(this.ClientIdentifier, webRequest);
- }
-
- return base.GetDirectResponse(webRequest);
- }
}
}