You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

OAuthProperties.java 995 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. package com.xkcoding.social.props;
  2. import lombok.Data;
  3. import me.zhyd.oauth.config.AuthConfig;
  4. import org.springframework.boot.context.properties.ConfigurationProperties;
  5. import org.springframework.stereotype.Component;
  6. /**
  7. * <p>
  8. * 第三方登录配置
  9. * </p>
  10. *
  11. * @package: com.xkcoding.oauth.config.props
  12. * @description: 第三方登录配置
  13. * @author: yangkai.shen
  14. * @date: Created in 2019-05-17 15:33
  15. * @copyright: Copyright (c) 2019
  16. * @version: V1.0
  17. * @modified: yangkai.shen
  18. */
  19. @Data
  20. @Component
  21. @ConfigurationProperties(prefix = "oauth")
  22. public class OAuthProperties {
  23. /**
  24. * QQ 配置
  25. */
  26. private AuthConfig qq;
  27. /**
  28. * github 配置
  29. */
  30. private AuthConfig github;
  31. /**
  32. * 微信 配置
  33. */
  34. private AuthConfig wechat;
  35. /**
  36. * Google 配置
  37. */
  38. private AuthConfig google;
  39. /**
  40. * Microsoft 配置
  41. */
  42. private AuthConfig microsoft;
  43. /**
  44. * Mi 配置
  45. */
  46. private AuthConfig mi;
  47. }

一个用来深度学习并实战 spring boot 的项目,目前总共包含 66 个集成demo,已经完成 55 个。

Contributors (1)