summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-02-13 08:47:11 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-02-13 08:47:11 -0800
commit07925f482f1cfccdd48939d6dedf5c5521f43294 (patch)
treedbd8b280aa687478ae59309db8bd787c12e59d94 /src/DotNetOpenAuth.OAuth2
parentd292b0269f189720610314340e9580c9ccc53bdc (diff)
downloadDotNetOpenAuth-07925f482f1cfccdd48939d6dedf5c5521f43294.zip
DotNetOpenAuth-07925f482f1cfccdd48939d6dedf5c5521f43294.tar.gz
DotNetOpenAuth-07925f482f1cfccdd48939d6dedf5c5521f43294.tar.bz2
Added a couple of new authorization request response codes.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2')
-rw-r--r--src/DotNetOpenAuth.OAuth2/OAuth2/Protocol.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.OAuth2/OAuth2/Protocol.cs b/src/DotNetOpenAuth.OAuth2/OAuth2/Protocol.cs
index 056042f..19fe845 100644
--- a/src/DotNetOpenAuth.OAuth2/OAuth2/Protocol.cs
+++ b/src/DotNetOpenAuth.OAuth2/OAuth2/Protocol.cs
@@ -340,6 +340,16 @@ namespace DotNetOpenAuth.OAuth2 {
/// The requested scope is invalid, unknown, or malformed.
/// </summary>
internal const string InvalidScope = "invalid_scope";
+
+ /// <summary>
+ /// The authorization server encountered an unexpected condition which prevented it from fulfilling the request.
+ /// </summary>
+ internal const string ServerError = "server_error";
+
+ /// <summary>
+ /// The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
+ /// </summary>
+ internal const string TemporarilyUnavailable = "temporarily_unavailable";
}
/// <summary>