¶Ô±ÈÐÂÎļþ |
| | |
| | | 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; |
| | | |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * Social é
ç½®å±æ§ |
| | | * @author thiszhc |
| | | */ |
| | | @Data |
| | | @Component |
| | | @ConfigurationProperties(prefix = "justauth") |
| | | public class SocialProperties { |
| | | |
| | | /** |
| | | * æ¯å¦å¯ç¨ |
| | | */ |
| | | private boolean enabled; |
| | | |
| | | /** |
| | | * ææç±»å |
| | | */ |
| | | private Map<String, SocialLoginConfigProperties> type; |
| | | |
| | | /** |
| | | * ææè¿ææ¶é´ |
| | | */ |
| | | private long timeout; |
| | | |
| | | /** |
| | | * ææç¼åé
ç½® |
| | | */ |
| | | private CacheProperties cache = new CacheProperties(); |
| | | |
| | | } |