forked from kidgrow-microservices-platform

zhaoxiaohao
2020-10-30 2e109492d152e08bfca445b54f15c91a2334f21c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.kidgrow.authclient.properties;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
 
/**
 * 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020<br>
 *
 * @Description: Security 配置,读取yml文件<br>
 * @Project: <br>
 * @CreateDate: Created in 2020/2/13 10:41 <br>
 * @Author: <a href="4345453@kidgrow.com">liuke</a>
 */
@Data
@ConfigurationProperties(prefix = "kidgrow.security")
@RefreshScope
public class SecurityProperties {
    private AuthProperties auth = new AuthProperties();
 
    private PermitProperties ignore = new PermitProperties();
 
    private ValidateCodeProperties code = new ValidateCodeProperties();
}