com.healthy.common.security.properties.SecurityProperties Maven / Gradle / Ivy
package com.healthy.common.security.properties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* 安全模块配置项
*/
@Data
@ConfigurationProperties(prefix = "healthy.security")
public class SecurityProperties {
/**
* 浏览器环境配置
*/
private BrowserProperties browser = new BrowserProperties();
/**
* 验证码配置
*/
private ValidateCodeProperties code = new ValidateCodeProperties();
/**
* 社交登录配置
*/
private SocialProperties social = new SocialProperties();
/**
* OAuth2认证服务器配置
*/
private OAuth2Properties oauth2 = new OAuth2Properties();
}