Rename createJwkSet method typo
Actually, it is creating a claims set, just a typo. Issue: gh-5330
This commit is contained in:
parent
8ef4a5ba92
commit
d7ebe5be86
|
@ -127,7 +127,7 @@ public final class NimbusReactiveJwtDecoder implements ReactiveJwtDecoder {
|
|||
JWKSelector selector = this.jwkSelectorFactory
|
||||
.createSelector(parsedToken.getHeader());
|
||||
return this.reactiveJwkSource.get(selector)
|
||||
.map(jwkList -> createJwkSet(parsedToken, jwkList))
|
||||
.map(jwkList -> createClaimsSet(parsedToken, jwkList))
|
||||
.map(set -> createJwt(parsedToken, set))
|
||||
.onErrorMap(e -> new JwtException("An error occurred while attempting to decode the Jwt: ", e));
|
||||
} catch (RuntimeException ex) {
|
||||
|
@ -135,7 +135,7 @@ public final class NimbusReactiveJwtDecoder implements ReactiveJwtDecoder {
|
|||
}
|
||||
}
|
||||
|
||||
private JWTClaimsSet createJwkSet(JWT parsedToken, List<JWK> jwkList) {
|
||||
private JWTClaimsSet createClaimsSet(JWT parsedToken, List<JWK> jwkList) {
|
||||
try {
|
||||
return this.jwtProcessor.process(parsedToken, new JWKContext(jwkList));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue