summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth.Test/Scenarios/AppendixScenarios.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-09-30 20:54:55 -0700
committerAndrew <andrewarnott@gmail.com>2008-10-02 07:34:03 -0700
commit8a00ff24f7dab5a27d5c3c9aefb852922e9b069c (patch)
tree6cbffa37bfcf39b1eecb95ca83732b6859d46c53 /src/DotNetOAuth.Test/Scenarios/AppendixScenarios.cs
parentf6b7de466fb084a87c6de7a6d1e7f15db835bf20 (diff)
downloadDotNetOpenAuth-8a00ff24f7dab5a27d5c3c9aefb852922e9b069c.zip
DotNetOpenAuth-8a00ff24f7dab5a27d5c3c9aefb852922e9b069c.tar.gz
DotNetOpenAuth-8a00ff24f7dab5a27d5c3c9aefb852922e9b069c.tar.bz2
More public API work.
Diffstat (limited to 'src/DotNetOAuth.Test/Scenarios/AppendixScenarios.cs')
-rw-r--r--src/DotNetOAuth.Test/Scenarios/AppendixScenarios.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOAuth.Test/Scenarios/AppendixScenarios.cs b/src/DotNetOAuth.Test/Scenarios/AppendixScenarios.cs
index 66e8b5f..3df9aa7 100644
--- a/src/DotNetOAuth.Test/Scenarios/AppendixScenarios.cs
+++ b/src/DotNetOAuth.Test/Scenarios/AppendixScenarios.cs
@@ -40,7 +40,7 @@ namespace DotNetOAuth.Test {
channel => {
consumer.Channel = channel;
consumer.RequestUserAuthorization(new Uri("http://printer.example.com/request_token_ready"), null, null);
- string accessToken = consumer.ProcessUserAuthorization();
+ string accessToken = consumer.ProcessUserAuthorization().AccessToken;
var photoRequest = consumer.CreateAuthorizedRequestInternal(accessPhotoEndpoint, accessToken);
Response protectedPhoto = channel.RequestProtectedResource(photoRequest);
Assert.IsNotNull(protectedPhoto);