summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-02-21 20:15:42 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2010-02-22 08:36:44 -0800
commit1c322dba546ec95e1836549d34ec84037c4fba44 (patch)
tree2404119314f6cb662ee6fd357ebb2982047775ed
parent0f4d3dcd20b2aaedb9747ed801a82493cbb6f2de (diff)
downloadDotNetOpenAuth-1c322dba546ec95e1836549d34ec84037c4fba44.zip
DotNetOpenAuth-1c322dba546ec95e1836549d34ec84037c4fba44.tar.gz
DotNetOpenAuth-1c322dba546ec95e1836549d34ec84037c4fba44.tar.bz2
Fixed some build issues.
-rw-r--r--src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppFailedResponse.cs2
-rw-r--r--src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppRequest.cs24
-rw-r--r--src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppSuccessResponse.cs20
3 files changed, 23 insertions, 23 deletions
diff --git a/src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppFailedResponse.cs b/src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppFailedResponse.cs
index fd7f546..ea7b0b7 100644
--- a/src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppFailedResponse.cs
+++ b/src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppFailedResponse.cs
@@ -42,6 +42,6 @@ namespace DotNetOpenAuth.OAuthWrap.Messages {
/// If this value is present, the Authorization Server MUST return it to the Client's callback URL.
/// </remarks>
[MessagePart(Protocol.wrap_client_state, IsRequired = false, AllowEmpty = true)]
- internal string ClientState { get; set; }
+ public string ClientState { get; set; }
}
}
diff --git a/src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppRequest.cs b/src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppRequest.cs
index 5166342..c13c839 100644
--- a/src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppRequest.cs
+++ b/src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppRequest.cs
@@ -39,6 +39,18 @@ namespace DotNetOpenAuth.OAuthWrap.Messages {
}
/// <summary>
+ /// Gets or sets state of the client that should be sent back with the authorization response.
+ /// </summary>
+ /// <value>
+ /// An opaque value that Clients can use to maintain state associated with this request.
+ /// </value>
+ /// <remarks>
+ /// If this value is present, the Authorization Server MUST return it to the Client's Callback URL.
+ /// </remarks>
+ [MessagePart(Protocol.wrap_client_state, IsRequired = false, AllowEmpty = true)]
+ public string ClientState { get; set; }
+
+ /// <summary>
/// Gets or sets the identifier by which this client is known to the Authorization Server.
/// </summary>
[MessagePart(Protocol.wrap_client_id, IsRequired = true, AllowEmpty = false)]
@@ -59,18 +71,6 @@ namespace DotNetOpenAuth.OAuthWrap.Messages {
internal Uri Callback { get; set; }
/// <summary>
- /// Gets or sets state of the client that should be sent back with the authorization response.
- /// </summary>
- /// <value>
- /// An opaque value that Clients can use to maintain state associated with this request.
- /// </value>
- /// <remarks>
- /// If this value is present, the Authorization Server MUST return it to the Client's Callback URL.
- /// </remarks>
- [MessagePart(Protocol.wrap_client_state, IsRequired = false, AllowEmpty = true)]
- internal string ClientState { get; set; }
-
- /// <summary>
/// Gets or sets the scope.
/// </summary>
/// <value>The Authorization Server MAY define authorization scope values for the Client to include.</value>
diff --git a/src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppSuccessResponse.cs b/src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppSuccessResponse.cs
index ec13da4..3bbc59e 100644
--- a/src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppSuccessResponse.cs
+++ b/src/DotNetOpenAuth/OAuthWrap/Messages/WebApp/WebAppSuccessResponse.cs
@@ -27,6 +27,16 @@ namespace DotNetOpenAuth.OAuthWrap.Messages {
}
/// <summary>
+ /// Gets or sets some state as provided by the client in the authorization request.
+ /// </summary>
+ /// <value>An opaque value defined by the client.</value>
+ /// <remarks>
+ /// REQUIRED if the Client sent the value in the <see cref="WebAppRequest"/>.
+ /// </remarks>
+ [MessagePart(Protocol.wrap_client_state, IsRequired = false, AllowEmpty = true)]
+ public string ClientState { get; set; }
+
+ /// <summary>
/// Gets or sets the verification code.
/// </summary>
/// <value>
@@ -35,15 +45,5 @@ namespace DotNetOpenAuth.OAuthWrap.Messages {
/// </value>
[MessagePart(Protocol.wrap_verification_code, IsRequired = true, AllowEmpty = true)]
internal string VerificationCode { get; set; }
-
- /// <summary>
- /// Gets or sets some state as provided by the client in the authorization request.
- /// </summary>
- /// <value>An opaque value defined by the client.</value>
- /// <remarks>
- /// REQUIRED if the Client sent the value in the <see cref="WebAppRequest"/>.
- /// </remarks>
- [MessagePart(Protocol.wrap_client_state, IsRequired = false, AllowEmpty = true)]
- internal string ClientState { get; set; }
}
}