Examples use 'new JWKMatcher()' but the constructor is not available
Issue #260
resolved
The example in "JSON Web Key (JWK) selectors" https://connect2id.com/products/nimbus-jose-jwt/examples/jwk-selectors
and the example in the JavaDoc of JWKMatcher.Builder
http://static.javadoc.io/com.nimbusds/nimbus-jose-jwt/5.9/com/nimbusds/jose/jwk/JWKMatcher.Builder.html
use new JWKMatcher()
, but the constructor (with no arguments) is not available in nimbus-jose-jwt:5.9.
Comments (2)
-
-
- changed status to resolved
The example was fixed:
https://connect2id.com/products/nimbus-jose-jwt/examples/jwk-selectors
Happy coding! :)
- Log in to comment
Yep, this will need updating. The matcher uses a builder pattern now - see JWKMatcher.Builder() :
https://static.javadoc.io/com.nimbusds/nimbus-jose-jwt/5.9/com/nimbusds/jose/jwk/JWKMatcher.Builder.html