diff options
Diffstat (limited to 'src/DotNetOpenAuth/OAuth2/ChannelElements/IAuthorizationDescription.cs')
-rw-r--r-- | src/DotNetOpenAuth/OAuth2/ChannelElements/IAuthorizationDescription.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth/OAuth2/ChannelElements/IAuthorizationDescription.cs b/src/DotNetOpenAuth/OAuth2/ChannelElements/IAuthorizationDescription.cs index a4aba57..2b3a9ce 100644 --- a/src/DotNetOpenAuth/OAuth2/ChannelElements/IAuthorizationDescription.cs +++ b/src/DotNetOpenAuth/OAuth2/ChannelElements/IAuthorizationDescription.cs @@ -35,7 +35,7 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements { /// <summary> /// Gets the scope of operations the client is allowed to invoke. /// </summary> - string Scope { get; } + HashSet<string> Scope { get; } } /// <summary> @@ -80,8 +80,11 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements { /// <summary> /// Gets the scope of operations the client is allowed to invoke. /// </summary> - string IAuthorizationDescription.Scope { - get { throw new NotImplementedException(); } + HashSet<string> IAuthorizationDescription.Scope { + get { + Contract.Ensures(Contract.Result<HashSet<string>>() != null); + throw new NotImplementedException(); + } } } } |