Interface TokenConfiguration

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

    public interface TokenConfiguration
    extends io.micronaut.core.util.Toggleable
    Defines Security Token Configuration.
    Since:
    1.0
    Author:
    Sergio del Amo
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_ROLES_NAME  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getRolesName()
      The name in the claims object that stores the granted roles.
      • Methods inherited from interface io.micronaut.core.util.Toggleable

        isEnabled
    • Field Detail

    • Method Detail

      • getRolesName

        java.lang.String getRolesName()
        The name in the claims object that stores the granted roles.
        Returns:
        The roles claim name, e.g. roles.