diff options
Diffstat (limited to 'projecttemplates/RelyingPartyLogic')
-rw-r--r-- | projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs | 2 | ||||
-rw-r--r-- | projecttemplates/RelyingPartyLogic/OAuthResourceServer.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs b/projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs index 85a53c5..b34b8de 100644 --- a/projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs +++ b/projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs @@ -163,7 +163,7 @@ namespace RelyingPartyLogic { auth.CreatedOnUtc <= issuedUtc && (!auth.ExpirationDateUtc.HasValue || auth.ExpirationDateUtc.Value >= DateTime.UtcNow) && auth.User.AuthenticationTokens.Any(token => token.ClaimedIdentifier == 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. diff --git a/projecttemplates/RelyingPartyLogic/OAuthResourceServer.cs b/projecttemplates/RelyingPartyLogic/OAuthResourceServer.cs index d935d56..fe55f8b 100644 --- a/projecttemplates/RelyingPartyLogic/OAuthResourceServer.cs +++ b/projecttemplates/RelyingPartyLogic/OAuthResourceServer.cs @@ -2,8 +2,8 @@ using System; using System.Collections.Generic; using System.Linq; - using System.Text; using System.Security.Cryptography; + using System.Text; public static class OAuthResourceServer { private static readonly RSAParameters ResourceServerKeyPair = CreateRSAKey(); |