diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-23 10:05:50 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-23 10:05:50 -0700 |
commit | ab27c3ba3075583e95bf95d42e69bc5585f2a37e (patch) | |
tree | c23c9219cdb443e8511e17a102a32ef510724a99 /src/DotNetOpenAuth.OAuth2/OAuth2/Messages/UnauthorizedResponse.cs | |
parent | bdaa24667d7e1b04174587143e005bb0fd1f5db1 (diff) | |
download | DotNetOpenAuth-ab27c3ba3075583e95bf95d42e69bc5585f2a37e.zip DotNetOpenAuth-ab27c3ba3075583e95bf95d42e69bc5585f2a37e.tar.gz DotNetOpenAuth-ab27c3ba3075583e95bf95d42e69bc5585f2a37e.tar.bz2 |
Fixed build breaks when targeting .NET 3.5.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2/OAuth2/Messages/UnauthorizedResponse.cs')
-rw-r--r-- | src/DotNetOpenAuth.OAuth2/OAuth2/Messages/UnauthorizedResponse.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.OAuth2/OAuth2/Messages/UnauthorizedResponse.cs b/src/DotNetOpenAuth.OAuth2/OAuth2/Messages/UnauthorizedResponse.cs index e73f3cf..e4a8a48 100644 --- a/src/DotNetOpenAuth.OAuth2/OAuth2/Messages/UnauthorizedResponse.cs +++ b/src/DotNetOpenAuth.OAuth2/OAuth2/Messages/UnauthorizedResponse.cs @@ -90,7 +90,7 @@ namespace DotNetOpenAuth.OAuth2.Messages { /// </summary> /// <value>The scope.</value> [MessagePart(Protocol.BearerTokenUnauthorizedResponseParameters.Scope, Encoder = typeof(ScopeEncoder))] - public ISet<string> Scope { get; set; } + public HashSet<string> Scope { get; set; } /// <summary> /// Gets the scheme to use in the WWW-Authenticate header. @@ -143,7 +143,7 @@ namespace DotNetOpenAuth.OAuth2.Messages { /// <param name="request">The request.</param> /// <param name="requiredScopes">The set of scopes required to perform this operation.</param> /// <returns>The error message.</returns> - internal static UnauthorizedResponse InsufficientScope(IDirectedProtocolMessage request, ISet<string> requiredScopes) { + internal static UnauthorizedResponse InsufficientScope(IDirectedProtocolMessage request, HashSet<string> requiredScopes) { Requires.NotNull(request, "request"); Requires.NotNull(requiredScopes, "requiredScopes"); var message = new UnauthorizedResponse(request) { |