@Factory
@Internal
public class JwksUriSignatureFactory
extends java.lang.Object
JwksSignature
beans for the OpenIdProviderMetadata.getJwksUri()
of OpenID clients.Constructor and Description |
---|
JwksUriSignatureFactory() |
Modifier and Type | Method and Description |
---|---|
JwksSignature |
createJwksUriSignature(io.micronaut.context.BeanProvider<DefaultOpenIdProviderMetadata> openIdProviderMetadata,
JwkValidator jwkValidator) |
@Requires(property="micronaut.security.authentication", value="idtoken") @EachBean(value=DefaultOpenIdProviderMetadata.class) public JwksSignature createJwksUriSignature(@Parameter io.micronaut.context.BeanProvider<DefaultOpenIdProviderMetadata> openIdProviderMetadata, JwkValidator jwkValidator)
openIdProviderMetadata
- The open id provider metadatajwkValidator
- JWK ValidatorJwksSignature
pointed to the jwks_uri exposed via OpenID configuration