@Requires(property="micronaut.security.endpoints.keys.enabled",notEquals="false",defaultValue="true") @Requires(beans=JwkProvider.class) @Controller(value="${micronaut.security.endpoints.keys.path:/keys}") @Secured(value="isAnonymous()") public class KeysController extends java.lang.Object
JwkProvider
beans.Constructor and Description |
---|
KeysController(java.util.Collection<JwkProvider> jwkProviders,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Instantiates a
KeysController . |
Modifier and Type | Method and Description |
---|---|
io.reactivex.Single<java.lang.String> |
keys() |
public KeysController(java.util.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.