summaryrefslogtreecommitdiffstats
path: root/samples/ServiceProvider/App_Code/TokenAuthorizationState.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-10-06 08:04:30 -0700
committerAndrew <andrewarnott@gmail.com>2008-10-06 08:04:30 -0700
commitf367f68a81e06dcab56348c85f7c09526123c916 (patch)
treec06ead228b7eb588ab783025ed05f816f5af5ee4 /samples/ServiceProvider/App_Code/TokenAuthorizationState.cs
parent5e8d26c757a32e3c0237b447d142a3de071fa992 (diff)
downloadDotNetOpenAuth-f367f68a81e06dcab56348c85f7c09526123c916.zip
DotNetOpenAuth-f367f68a81e06dcab56348c85f7c09526123c916.tar.gz
DotNetOpenAuth-f367f68a81e06dcab56348c85f7c09526123c916.tar.bz2
WCF OAuth sample now has 'real' database and login.
Diffstat (limited to 'samples/ServiceProvider/App_Code/TokenAuthorizationState.cs')
-rw-r--r--samples/ServiceProvider/App_Code/TokenAuthorizationState.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/samples/ServiceProvider/App_Code/TokenAuthorizationState.cs b/samples/ServiceProvider/App_Code/TokenAuthorizationState.cs
new file mode 100644
index 0000000..bb959c6
--- /dev/null
+++ b/samples/ServiceProvider/App_Code/TokenAuthorizationState.cs
@@ -0,0 +1,13 @@
+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 {
+ UnauthorizedRequestToken = 0,
+ AuthorizedRequestToken = 1,
+ AccessToken = 2,
+}