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();
|
}
|