diff --git a/src/Ocelot/Authorization/ScopesAuthorizer.cs b/src/Ocelot/Authorization/ScopesAuthorizer.cs index 904b5ea21f..a7a56daeb4 100644 --- a/src/Ocelot/Authorization/ScopesAuthorizer.cs +++ b/src/Ocelot/Authorization/ScopesAuthorizer.cs @@ -7,11 +7,12 @@ namespace Ocelot.Authorization public class ScopesAuthorizer : IScopesAuthorizer { private const string ScopeClaimKey = "scope"; - private readonly IClaimsParser _claimsParser; - - public ScopesAuthorizer(IClaimsParser claimsParser) - { - _claimsParser = claimsParser; + + private readonly IClaimsParser _claimsParser; + + public ScopesAuthorizer(IClaimsParser claimsParser) + { + _claimsParser = claimsParser; } public Response Authorize(ClaimsPrincipal claimsPrincipal, List routeAllowedScopes) @@ -49,4 +50,4 @@ public Response Authorize(ClaimsPrincipal claimsPrincipal, List ro return new OkResponse(true); } } -} +} \ No newline at end of file