Interface JwksSignatureConfiguration

All Superinterfaces:
io.micronaut.core.naming.Named
All Known Implementing Classes:
JwksSignatureConfigurationProperties

public interface JwksSignatureConfiguration extends io.micronaut.core.naming.Named
JSON Web Key Set Configuration.
Since:
1.1.0
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull Integer
    Deprecated, for removal: This API element is subject to removal in a future version.
    Not used.
    @Nullable com.nimbusds.jose.jwk.KeyType
    Representation the KeyType for this JWKS signature configuration.
    @NonNull String
    Json Web Key Set endpoint url.

    Methods inherited from interface io.micronaut.core.naming.Named

    getName
  • Method Details

    • getUrl

      @NonNull @NonNull String getUrl()
      Json Web Key Set endpoint url.
      Returns:
      returns a url where a JWKS is exposed.
    • getKeyType

      @Nullable @Nullable com.nimbusds.jose.jwk.KeyType getKeyType()
      Representation the KeyType for this JWKS signature configuration. KeyType is the kty parameter in a JSON Web Key (JWK).
      Returns:
      The KeyType for the JWKS signature configuration.
    • getCacheExpiration

      @NonNull @Deprecated(forRemoval=true, since="4.11.0") @NonNull Integer getCacheExpiration()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Not used. JWKS is cached via Micronaut Cache. You need an implementation of Micronaut Cache and the cache configuration micronaut.caches.jwks.expire-after-write
      Returns:
      The number of seconds to cache the JWKS.