summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth/OAuth2/Messages/AccessTokenRequestBase.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2011-04-08 07:02:52 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2011-04-08 08:01:20 -0700
commit0ba60cef6b56d1df6430a9a34e4285150e6985b5 (patch)
treea1d19d31e71631c508b7e0b756414d8b2eef6913 /src/DotNetOpenAuth/OAuth2/Messages/AccessTokenRequestBase.cs
parentd73fef358931d9f35818d2c0373f814b3bd9f91d (diff)
downloadDotNetOpenAuth-0ba60cef6b56d1df6430a9a34e4285150e6985b5.zip
DotNetOpenAuth-0ba60cef6b56d1df6430a9a34e4285150e6985b5.tar.gz
DotNetOpenAuth-0ba60cef6b56d1df6430a9a34e4285150e6985b5.tar.bz2
Removed all the AllowEmpty attribute parameters in OAuth 2.0 messages because the spec says empty parameters should be dropped and therefore are irrelevant.
Diffstat (limited to 'src/DotNetOpenAuth/OAuth2/Messages/AccessTokenRequestBase.cs')
-rw-r--r--src/DotNetOpenAuth/OAuth2/Messages/AccessTokenRequestBase.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth/OAuth2/Messages/AccessTokenRequestBase.cs b/src/DotNetOpenAuth/OAuth2/Messages/AccessTokenRequestBase.cs
index 0783ba2..55387a6 100644
--- a/src/DotNetOpenAuth/OAuth2/Messages/AccessTokenRequestBase.cs
+++ b/src/DotNetOpenAuth/OAuth2/Messages/AccessTokenRequestBase.cs
@@ -32,14 +32,14 @@ namespace DotNetOpenAuth.OAuth2.Messages {
/// Gets the type of the grant.
/// </summary>
/// <value>The type of the grant.</value>
- [MessagePart(Protocol.grant_type, IsRequired = true, AllowEmpty = false, Encoder = typeof(GrantTypeEncoder))]
+ [MessagePart(Protocol.grant_type, IsRequired = true, Encoder = typeof(GrantTypeEncoder))]
internal abstract GrantType GrantType { get; }
/// <summary>
/// Gets the set of scopes the Client would like the access token to provide access to.
/// </summary>
/// <value>A set of scopes. Never null.</value>
- [MessagePart(Protocol.scope, IsRequired = false, AllowEmpty = true, Encoder = typeof(ScopeEncoder))]
+ [MessagePart(Protocol.scope, IsRequired = false, Encoder = typeof(ScopeEncoder))]
internal HashSet<string> Scope { get; private set; }
/// <summary>