| | |
| | | package org.dromara.common.social.config.properties; |
| | | |
| | | import lombok.Data; |
| | | import org.springframework.boot.autoconfigure.cache.CacheProperties; |
| | | import org.springframework.boot.context.properties.ConfigurationProperties; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | |
| | | |
| | | /** |
| | | * Social 配置属性 |
| | | * |
| | | * @author thiszhc |
| | | */ |
| | | @Data |
| | |
| | | /** |
| | | * 是否启用 |
| | | */ |
| | | private boolean enabled; |
| | | private Boolean enabled; |
| | | |
| | | /** |
| | | * 授权类型 |
| | | */ |
| | | private Map<String, ConfigProperties> type; |
| | | private Map<String, SocialLoginConfigProperties> type; |
| | | |
| | | /** |
| | | * 授权过期时间 |
| | | */ |
| | | private long timeout; |
| | | |
| | | /** |
| | | * 授权缓存配置 |
| | | */ |
| | | private CacheProperties cache = new CacheProperties(); |
| | | private Long timeout; |
| | | |
| | | } |