summaryrefslogtreecommitdiffstats
path: root/samples/ServiceProvider/App_Code/TokenAuthorizationState.cs
diff options
context:
space:
mode:
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,
+}