Interface RefreshTokenConfiguration

All Superinterfaces:
io.micronaut.core.util.Toggleable
All Known Implementing Classes:
RefreshTokenConfigurationProperties

public interface RefreshTokenConfiguration extends io.micronaut.core.util.Toggleable
Configuration for the SignedRefreshTokenGenerator.
Since:
2.0.0
Author:
James Kleeh, Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull com.nimbusds.jose.JWSAlgorithm
     
    @NonNull String
     
    boolean
     

    Methods inherited from interface io.micronaut.core.util.Toggleable

    isEnabled
  • Method Details

    • getJwsAlgorithm

      @NonNull @NonNull com.nimbusds.jose.JWSAlgorithm getJwsAlgorithm()
      Returns:
      JWS Algorithm
    • getSecret

      @NonNull @NonNull String getSecret()
      Returns:
      Secret used to sign the refresh token.
    • isBase64

      boolean isBase64()
      Returns:
      true if the secret is Base64 encoded