diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-10-09 14:27:05 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-10-09 14:27:05 -0700 |
commit | 7ba9649126a7b802e348fbe210383fabc2898659 (patch) | |
tree | 044d6b2b744b765da0fcab39086eadd35e6f3bd3 /samples/ServiceProvider/App_Code/Global.cs | |
parent | 8b4b94a24edb82609e45b10d32744a2b436d79c6 (diff) | |
download | DotNetOpenAuth-7ba9649126a7b802e348fbe210383fabc2898659.zip DotNetOpenAuth-7ba9649126a7b802e348fbe210383fabc2898659.tar.gz DotNetOpenAuth-7ba9649126a7b802e348fbe210383fabc2898659.tar.bz2 |
Refactored messages to try to simplify their uses and try to hide information from areas that don't need it.
Diffstat (limited to 'samples/ServiceProvider/App_Code/Global.cs')
-rw-r--r-- | samples/ServiceProvider/App_Code/Global.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/ServiceProvider/App_Code/Global.cs b/samples/ServiceProvider/App_Code/Global.cs index 311d415..7e8d92d 100644 --- a/samples/ServiceProvider/App_Code/Global.cs +++ b/samples/ServiceProvider/App_Code/Global.cs @@ -75,7 +75,8 @@ public class Global : HttpApplication { }
public static void AuthorizePendingRequestToken() {
- TokenManager.AuthorizeRequestToken(PendingOAuthAuthorization.RequestToken, LoggedInUser);
+ ITokenContainingMessage tokenMessage = PendingOAuthAuthorization;
+ TokenManager.AuthorizeRequestToken(tokenMessage.Token, LoggedInUser);
PendingOAuthAuthorization = null;
}
|