Skip to content

Commit b13d747

Browse files
mehyaaraman-m
authored andcommitted
Tiny change
1 parent fe662ef commit b13d747

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/Ocelot/Authorization/ScopesAuthorizer.cs

+7-6
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ namespace Ocelot.Authorization
77
public class ScopesAuthorizer : IScopesAuthorizer
88
{
99
private const string ScopeClaimKey = "scope";
10-
private readonly IClaimsParser _claimsParser;
11-
12-
public ScopesAuthorizer(IClaimsParser claimsParser)
13-
{
14-
_claimsParser = claimsParser;
10+
11+
private readonly IClaimsParser _claimsParser;
12+
13+
public ScopesAuthorizer(IClaimsParser claimsParser)
14+
{
15+
_claimsParser = claimsParser;
1516
}
1617

1718
public Response<bool> Authorize(ClaimsPrincipal claimsPrincipal, List<string> routeAllowedScopes)
@@ -49,4 +50,4 @@ public Response<bool> Authorize(ClaimsPrincipal claimsPrincipal, List<string> ro
4950
return new OkResponse<bool>(true);
5051
}
5152
}
52-
}
53+
}

0 commit comments

Comments
 (0)