diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-26 16:01:37 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-26 16:01:37 -0700 |
commit | fc29aefdf4fe9fb1081ee21c01f5ba3963904be6 (patch) | |
tree | 74e1cb88f7a600f446df513a3a15a0104d7ff7e7 /samples/OAuthServiceProvider/App_Code/TokenAuthorizationState.cs | |
parent | d18ea6028e8c6cadbf99e2c4529350c26224c6ff (diff) | |
parent | ad95a2e4ab219a246a2288c62452b0d920a7cdc2 (diff) | |
download | DotNetOpenAuth-fc29aefdf4fe9fb1081ee21c01f5ba3963904be6.zip DotNetOpenAuth-fc29aefdf4fe9fb1081ee21c01f5ba3963904be6.tar.gz DotNetOpenAuth-fc29aefdf4fe9fb1081ee21c01f5ba3963904be6.tar.bz2 |
Merge branch 'samplerename'
Diffstat (limited to 'samples/OAuthServiceProvider/App_Code/TokenAuthorizationState.cs')
-rw-r--r-- | samples/OAuthServiceProvider/App_Code/TokenAuthorizationState.cs | 24 |
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, +} |