Class ResourceRetrieverJwksClient
java.lang.Object
io.micronaut.security.token.jwt.signature.jwks.ResourceRetrieverJwksClient
- All Implemented Interfaces:
JwksClient
Implementation of
JwksClient
that uses the Nimbus library's built-in com.nimbusds.jose.util.ResourceRetriever
interface.- Since:
- 4.5.0
- Author:
- Jeremy Grelle
-
Constructor Summary
ConstructorDescriptionResourceRetrieverJwksClient
(ExecutorService executorService) ResourceRetrieverJwksClient
(reactor.core.scheduler.Scheduler scheduler) -
Method Summary
-
Constructor Details
-
ResourceRetrieverJwksClient
-
ResourceRetrieverJwksClient
public ResourceRetrieverJwksClient(reactor.core.scheduler.Scheduler scheduler)
-
-
Method Details
-
load
Description copied from interface:JwksClient
Loads remote Json Web Key Set content over http.- Specified by:
load
in interfaceJwksClient
- Parameters:
providerName
- The jwks provider nameurl
- The URL for loading the remote JWK Set- Returns:
- The JWK Set response body content
-