summaryrefslogtreecommitdiffstats
path: root/samples/OAuthServiceProvider/App_Code/TokenAuthorizationState.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-03-26 14:17:05 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-03-26 14:17:05 -0700
commit1bfeae7973d31f3e69a83793d95904abf4f653bc (patch)
tree50938143aae7a17001c68c99ffc3bcdb5bac6f1f /samples/OAuthServiceProvider/App_Code/TokenAuthorizationState.cs
parent00f1f6baf79d6f42bcaaf24b1e43f3c86f540b2a (diff)
downloadDotNetOpenAuth-1bfeae7973d31f3e69a83793d95904abf4f653bc.zip
DotNetOpenAuth-1bfeae7973d31f3e69a83793d95904abf4f653bc.tar.gz
DotNetOpenAuth-1bfeae7973d31f3e69a83793d95904abf4f653bc.tar.bz2
Renamed OAuth sample sites.
Diffstat (limited to 'samples/OAuthServiceProvider/App_Code/TokenAuthorizationState.cs')
-rw-r--r--samples/OAuthServiceProvider/App_Code/TokenAuthorizationState.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/samples/OAuthServiceProvider/App_Code/TokenAuthorizationState.cs b/samples/OAuthServiceProvider/App_Code/TokenAuthorizationState.cs
new file mode 100644
index 0000000..8d3c8ac
--- /dev/null
+++ b/samples/OAuthServiceProvider/App_Code/TokenAuthorizationState.cs
@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+
+/// <summary>
+/// Various states an OAuth token can be in.
+/// </summary>
+public enum TokenAuthorizationState : int {
+ /// <summary>
+ /// An unauthorized request token.
+ /// </summary>
+ UnauthorizedRequestToken = 0,
+
+ /// <summary>
+ /// An authorized request token.
+ /// </summary>
+ AuthorizedRequestToken = 1,
+
+ /// <summary>
+ /// An authorized access token.
+ /// </summary>
+ AccessToken = 2,
+}