summaryrefslogtreecommitdiffstats
path: root/samples/OAuthAuthorizationServer
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2011-06-23 20:25:32 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2011-06-23 20:25:32 -0700
commit23cb348e7eab957e39a5a80d23f097c15595db84 (patch)
tree506daee6d1d7cc41bf9fca7fa09bef7c0b5d7e4e /samples/OAuthAuthorizationServer
parent3769a926805bb896187c1a4f8848949c57dee819 (diff)
downloadDotNetOpenAuth-23cb348e7eab957e39a5a80d23f097c15595db84.zip
DotNetOpenAuth-23cb348e7eab957e39a5a80d23f097c15595db84.tar.gz
DotNetOpenAuth-23cb348e7eab957e39a5a80d23f097c15595db84.tar.bz2
Fixed StyleCop messages.
Diffstat (limited to 'samples/OAuthAuthorizationServer')
-rw-r--r--samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs b/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
index 3899135..2bee7ba 100644
--- a/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
+++ b/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
@@ -54,7 +54,7 @@
// Also take into account the remaining life of the authorization and artificially shorten the access token's lifetime
// to account for that if necessary.
- // TODO: code here
+ //// TODO: code here
return lifetime;
}
@@ -165,7 +165,7 @@
auth.CreatedOnUtc <= issuedUtc &&
(!auth.ExpirationDateUtc.HasValue || auth.ExpirationDateUtc.Value >= DateTime.UtcNow) &&
auth.User.OpenIDClaimedIdentifier == username
- select auth.Scope;
+ select auth.Scope;
if (!grantedScopeStrings.Any()) {
// No granted authorizations prior to the issuance of this token, so it must have been revoked.