package com.ai.da.common.security.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author: dangweijian
 * @description: JWT配置类
 * @create: 2020-07-09 09:38
 **/
@Data
@ConfigurationProperties(prefix = "spring.security")
public class SecurityProperties {

    private String jwtSecret;

    private String jwtTokenHeader;

    private String jwtTokenPrefix;

    private long jwtExpiration;

    private String[] ignorePaths;

    private String authApi;
}
