Class JwksUriSignatureFactory
java.lang.Object
io.micronaut.security.oauth2.client.JwksUriSignatureFactory
Factory to create
ReactiveJwksSignature
beans for the OpenIdProviderMetadata.getJwksUri()
of OpenID clients.- Since:
- 1.3.0
- Author:
- Sergio del Amo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateJwksSignatureConfiguration
(io.micronaut.context.BeanProvider<DefaultOpenIdProviderMetadata> openIdProviderMetadata)
-
Constructor Details
-
JwksUriSignatureFactory
public JwksUriSignatureFactory()
-
-
Method Details
-
createJwksSignatureConfiguration
@EachBean(DefaultOpenIdProviderMetadata.class) public JwksSignatureConfiguration createJwksSignatureConfiguration(@Parameter io.micronaut.context.BeanProvider<DefaultOpenIdProviderMetadata> openIdProviderMetadata) - Parameters:
openIdProviderMetadata
- The open id provider metadata- Returns:
- a
JwksSignatureConfiguration
pointed to the jwks_uri exposed via OpenID configuration
-