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
     
    @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 @NonNull Integer getCacheExpiration()
      Returns:
      The number of seconds to cache the JWKS.