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/StandardScopeSatisfiedCheck.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/StandardScopeSatisfiedCheck.cs')
-rw-r--r-- | src/DotNetOpenAuth.OAuth2/OAuth2/StandardScopeSatisfiedCheck.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OAuth2/OAuth2/StandardScopeSatisfiedCheck.cs b/src/DotNetOpenAuth.OAuth2/OAuth2/StandardScopeSatisfiedCheck.cs index 1370057..684e4a8 100644 --- a/src/DotNetOpenAuth.OAuth2/OAuth2/StandardScopeSatisfiedCheck.cs +++ b/src/DotNetOpenAuth.OAuth2/OAuth2/StandardScopeSatisfiedCheck.cs @@ -28,7 +28,7 @@ namespace DotNetOpenAuth.OAuth2 { /// </para> /// <para>Great care should be taken in implementing this method as this is a critical security module for the authorization and resource servers.</para> /// </remarks> - public bool IsScopeSatisfied(ISet<string> requiredScope, ISet<string> grantedScope) { + public bool IsScopeSatisfied(HashSet<string> requiredScope, HashSet<string> grantedScope) { Requires.NotNull(requiredScope, "requiredScope"); Requires.NotNull(grantedScope, "grantedScope"); return grantedScope.IsSupersetOf(requiredScope); |