类 JwtSecretConfig

java.lang.Object
com.cdkjframework.config.JwtSecretConfig

@Configuration @RefreshScope @ConfigurationProperties(prefix="spring.authority.jwt") public class JwtSecretConfig extends Object
  • 字段详细资料

    • secret

      public String secret
      签名秘钥 自定义
    • expires

      public int expires
      超时毫秒数(默认30分钟)
    • dataKey

      public String dataKey
      用于JWT 加密的密匙 自定义
  • 构造器详细资料

    • JwtSecretConfig

      public JwtSecretConfig()