diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2011-06-23 20:25:32 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2011-06-23 20:25:32 -0700 |
commit | 23cb348e7eab957e39a5a80d23f097c15595db84 (patch) | |
tree | 506daee6d1d7cc41bf9fca7fa09bef7c0b5d7e4e /samples/OAuthAuthorizationServer | |
parent | 3769a926805bb896187c1a4f8848949c57dee819 (diff) | |
download | DotNetOpenAuth-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.cs | 4 |
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. |