@Requires(property="micronaut.security.endpoints.keys.enabled", value="true") @Controller(value="${micronaut.security.endpoints.keys.path:/keys}") @Secured(value="isAnonymous()") public class KeysController extends Object
JwkProvider
beans.Constructor and Description |
---|
KeysController(Collection<JwkProvider> jwkProviders,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Instantiates a
KeysController . |
public KeysController(Collection<JwkProvider> jwkProviders, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
KeysController
.jwkProviders
- a collection of JSON Web Key providers.objectMapper
- Jackson ObjectMapper used to do serialization.