pom.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.unis</groupId>
  8. <artifactId>unis-plugin</artifactId>
  9. <version>1.0.0</version>
  10. </parent>
  11. <artifactId>unis-plugin-auth</artifactId>
  12. <packaging>jar</packaging>
  13. <description>登录鉴权插件</description>
  14. <dependencies>
  15. <!-- 每个插件都要引入自己的对外接口 -->
  16. <dependency>
  17. <groupId>com.unis</groupId>
  18. <artifactId>unis-plugin-auth-api</artifactId>
  19. </dependency>
  20. <!-- 引入开发工具接口,用于获取配置 -->
  21. <dependency>
  22. <groupId>com.unis</groupId>
  23. <artifactId>unis-plugin-dev-api</artifactId>
  24. </dependency>
  25. <!-- sa-token -->
  26. <dependency>
  27. <groupId>cn.dev33</groupId>
  28. <artifactId>sa-token-spring-boot-starter</artifactId>
  29. </dependency>
  30. <!-- sa-token 整合 redis (使用jackson序列化方式) -->
  31. <dependency>
  32. <groupId>cn.dev33</groupId>
  33. <artifactId>sa-token-dao-redis-jackson</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.unis</groupId>
  37. <artifactId>unis-plugin-sys</artifactId>
  38. </dependency>
  39. <!-- Sa-Token插件:权限缓存与业务缓存分离 -->
  40. <dependency>
  41. <groupId>cn.dev33</groupId>
  42. <artifactId>sa-token-alone-redis</artifactId>
  43. </dependency>
  44. <!-- Sa-Token 插件:整合SSO -->
  45. <dependency>
  46. <groupId>cn.dev33</groupId>
  47. <artifactId>sa-token-sso</artifactId>
  48. </dependency>
  49. <!-- JustAuth 第三方登录 -->
  50. <dependency>
  51. <groupId>me.zhyd.oauth</groupId>
  52. <artifactId>JustAuth</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.jsonwebtoken</groupId>
  56. <artifactId>jjwt</artifactId>
  57. <version>0.9.1</version>
  58. </dependency>
  59. </dependencies>
  60. </project>