diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-28 15:04:04 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-09-28 15:04:04 -0700 |
commit | ad79dec82e43910db29d1a259155f2cf3f86e731 (patch) | |
tree | 34fc5eab2d77fdd3e6c2aa48f2d056c5e6ba6ff5 /src/DotNetOAuth/Consumer.cs | |
parent | 92ec674bd52330d4847f75150cd34263336219b6 (diff) | |
download | DotNetOpenAuth-ad79dec82e43910db29d1a259155f2cf3f86e731.zip DotNetOpenAuth-ad79dec82e43910db29d1a259155f2cf3f86e731.tar.gz DotNetOpenAuth-ad79dec82e43910db29d1a259155f2cf3f86e731.tar.bz2 |
Appendix scenario test passing (again), this time with HMAC signing of HTTP requests.
Diffstat (limited to 'src/DotNetOAuth/Consumer.cs')
-rw-r--r-- | src/DotNetOAuth/Consumer.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DotNetOAuth/Consumer.cs b/src/DotNetOAuth/Consumer.cs index e45e7f4..c3b34f3 100644 --- a/src/DotNetOAuth/Consumer.cs +++ b/src/DotNetOAuth/Consumer.cs @@ -132,7 +132,7 @@ namespace DotNetOAuth { /// <param name="endpoint">The URL and method on the Service Provider to send the request to.</param>
/// <param name="accessToken">The access token that permits access to the protected resource.</param>
/// <returns>The initialized WebRequest object.</returns>
- public WebRequest CreateAuthorizedRequest(ServiceProviderEndpoint endpoint, string accessToken) {
+ public WebRequest CreateAuthorizedRequest(MessageReceivingEndpoint endpoint, string accessToken) {
IDirectedProtocolMessage message = this.CreateAuthorizedRequestInternal(endpoint, accessToken);
WebRequest wr = this.Channel.InitializeRequest(message);
return wr;
@@ -146,7 +146,7 @@ namespace DotNetOAuth { /// <param name="accessToken">The access token that permits access to the protected resource.</param>
/// <returns>The initialized WebRequest object.</returns>
/// <exception cref="WebException">Thrown if the request fails for any reason after it is sent to the Service Provider.</exception>
- public Response SendAuthorizedRequest(ServiceProviderEndpoint endpoint, string accessToken) {
+ public Response SendAuthorizedRequest(MessageReceivingEndpoint endpoint, string accessToken) {
IDirectedProtocolMessage message = this.CreateAuthorizedRequestInternal(endpoint, accessToken);
HttpWebRequest wr = this.Channel.InitializeRequest(message);
return this.WebRequestHandler.GetResponse(wr);
@@ -159,7 +159,7 @@ namespace DotNetOAuth { /// <param name="endpoint">The URL and method on the Service Provider to send the request to.</param>
/// <param name="accessToken">The access token that permits access to the protected resource.</param>
/// <returns>The initialized WebRequest object.</returns>
- internal AccessProtectedResourcesMessage CreateAuthorizedRequestInternal(ServiceProviderEndpoint endpoint, string accessToken) {
+ internal AccessProtectedResourcesMessage CreateAuthorizedRequestInternal(MessageReceivingEndpoint endpoint, string accessToken) {
if (endpoint == null) {
throw new ArgumentNullException("endpoint");
}
|