diff options
Diffstat (limited to 'samples/OAuthClient/WindowsLive.aspx.cs')
-rw-r--r-- | samples/OAuthClient/WindowsLive.aspx.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/OAuthClient/WindowsLive.aspx.cs b/samples/OAuthClient/WindowsLive.aspx.cs index b9e094a..cd7f5b4 100644 --- a/samples/OAuthClient/WindowsLive.aspx.cs +++ b/samples/OAuthClient/WindowsLive.aspx.cs @@ -30,7 +30,7 @@ if (authorization == null) { // Kick off authorization request var request = await client.PrepareRequestUserAuthorizationAsync(scopes: new[] { WindowsLiveClient.Scopes.Basic }); // this scope isn't even required just to log in - await request.SendAsync(new HttpResponseWrapper(Response), Response.ClientDisconnectedToken); + await request.SendAsync(new HttpContextWrapper(this.Context), Response.ClientDisconnectedToken); } else { var request = WebRequest.Create("https://apis.live.net/v5.0/me?access_token=" + Uri.EscapeDataString(authorization.AccessToken)); |