疯狂的狮子Li
2023-07-02 06588f3ad4cdc711cd349fbca25e43960bcb8562
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package org.dromara.common.social.config.properties;
 
import lombok.Data;
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;
 
}