summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth.Test/Scenarios/AppendixScenarios.cs
diff options
context:
space:
mode:
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 3df9aa7..8d51a04 100644
--- a/src/DotNetOAuth.Test/Scenarios/AppendixScenarios.cs
+++ b/src/DotNetOAuth.Test/Scenarios/AppendixScenarios.cs
@@ -58,7 +58,7 @@ namespace DotNetOAuth.Test {
sp.SendAuthorizationResponse(authRequest);
var accessRequest = sp.ReadAccessTokenRequest();
sp.SendAccessToken(accessRequest, null);
- string accessToken = sp.GetAccessTokenInRequest();
+ string accessToken = sp.GetProtectedResourceAuthorization().AccessToken;
channel.SendDirectRawResponse(new Response {
ResponseStream = new MemoryStream(new byte[] { 0x33, 0x66 }),
Headers = new WebHeaderCollection {