docs: removed jjwt and created module 'simple-jwt-spring-boot-starter'

This commit is contained in:
Zihlu Wang
2023-07-31 20:21:16 +08:00
parent fb4e3db86f
commit fc0f3e2289
2 changed files with 50 additions and 17 deletions
+15 -10
View File
@@ -6,22 +6,24 @@ JDevKit is a Java Development Kit that offers a set of convenient tools for writ
The core module for `JDevKit`, by now, this module contains the commonly used classes of the whole `dev-kit`. The core module for `JDevKit`, by now, this module contains the commonly used classes of the whole `dev-kit`.
### `guid` ### `guid`
A module for generating globally unique IDs. It includes a facade interface and an implementation of GUID generation using the Snowflake algorithm. More globally unique ID generation modes will be added in the future. A module for generating globally unique IDs. It includes a facade interface and an implementation of GUID generation
using the Snowflake algorithm. More globally unique ID generation modes will be added in the future.
### `dev-utils` ### `dev-utils`
A collection of common utility classes to simplify Java development. It includes tools for Base64 encoding/decoding of strings, reducing if-else code blocks using Lambda expressions, converting between maps and arbitrary objects, high-precision chained mathematical calculations, and string hashing or message digest calculations. A collection of common utility classes to simplify Java development. It includes tools for Base64 encoding/decoding of
strings, reducing if-else code blocks using Lambda expressions, converting between maps and arbitrary objects,
high-precision chained mathematical calculations, and string hashing or message digest calculations.
### `simple-jwt-facade` ### `simple-jwt-facade`
A facade for Simple JWT (JSON Web Token) implementations in Java. This module provides a unified interface to work with JWTs regardless of the underlying implementation. A facade for Simple JWT (JSON Web Token) implementations in Java. This module provides a unified interface to work with
JWTs regardless of the underlying implementation.
### `simple-jwt-auth0` ### `simple-jwt-auth0`
A Simple JWT implementation using the com.auth0:java-jwt library. A Simple JWT implementation using the com.auth0:java-jwt library.
### `simple-jwt-jjwt`
A Simple JWT implementation using the io.jsonwebtoken:jjwt library.
### `simple-jwt-spring-boot-starter` ### `simple-jwt-spring-boot-starter`
A Spring Boot auto-configuration wrapper for the simple-jwt module, making it easier to integrate JWT functionality into Spring Boot applications. A Spring Boot auto-configuration wrapper for the simple-jwt module, making it easier to integrate JWT functionality into
Spring Boot applications.
### `sms-sender-facade` ### `sms-sender-facade`
A facade for sending SMS messages in Java. This module abstracts the interfaces of various SMS service providers. A facade for sending SMS messages in Java. This module abstracts the interfaces of various SMS service providers.
@@ -33,7 +35,8 @@ An implementation of SMS Sender using the Alibaba Cloud (Aliyun) service.
An implementation of SMS Sender using the Tencent Cloud service. An implementation of SMS Sender using the Tencent Cloud service.
### `sms-sender-spring-boot-starter` ### `sms-sender-spring-boot-starter`
A Spring Boot auto-configuration wrapper for the sms-sender module, simplifying the integration of SMS sending capabilities into Spring Boot applications. A Spring Boot auto-configuration wrapper for the sms-sender module, simplifying the integration of SMS sending
capabilities into Spring Boot applications.
## Installation and Usage ## Installation and Usage
If you are using `maven`, please paste the following codes to `pom.xml` in your project. If you are using `maven`, please paste the following codes to `pom.xml` in your project.
@@ -55,10 +58,12 @@ implementation 'cn.org.codecrafters:$artifactId:$version'
If you want to check the available versions, please check out at our [official site](). If you want to check the available versions, please check out at our [official site]().
## Contribution ## Contribution
Contributions are welcome! If you encounter any issues or want to contribute to the project, please feel free to **[raise an issue](https://github.com/CodeCraftersCN/jdevkit/issues/new)** or **[submit a pull request]()**. Contributions are welcome! If you encounter any issues or want to contribute to the project, please feel free to
**[raise an issue](https://github.com/CodeCraftersCN/jdevkit/issues/new)** or **[submit a pull request]()**.
## License ## License
This project is licensed under the [Apache License 2.0](LICENSE). This project is licensed under the [Apache License 2.0](LICENSE).
## Contact ## Contact
For any questions or feedback, you can [open an issue](https://github.com/CodeCraftersCN/jdevkit/issues/new) on GitHub or join our Discord community at discord.gg/your_discord. For any questions or feedback, you can [open an issue](https://github.com/CodeCraftersCN/jdevkit/issues/new) on GitHub
or join our [Discord community]().
+35 -7
View File
@@ -71,7 +71,9 @@
<slf4j-api.version>2.0.7</slf4j-api.version> <slf4j-api.version>2.0.7</slf4j-api.version>
<lombok.version>1.18.28</lombok.version> <lombok.version>1.18.28</lombok.version>
<auth0-jwt.version>4.4.0</auth0-jwt.version> <auth0-jwt.version>4.4.0</auth0-jwt.version>
<jjwt-jwt.version>0.9.1</jjwt-jwt.version>
<spring.version>x.x.x</spring.version>
<spring-boot.version>3.1.0</spring-boot.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>
@@ -107,12 +109,6 @@
<version>${auth0-jwt.version}</version> <version>${auth0-jwt.version}</version>
</dependency> </dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>${jjwt-jwt.version}</version>
</dependency>
<dependency> <dependency>
<groupId>cn.org.codecrafters</groupId> <groupId>cn.org.codecrafters</groupId>
<artifactId>devkit-core</artifactId> <artifactId>devkit-core</artifactId>
@@ -130,6 +126,38 @@
<artifactId>simple-jwt-facade</artifactId> <artifactId>simple-jwt-facade</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency>
<groupId>cn.org.codecrafters</groupId>
<artifactId>simple-jwt-authzero</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Spring -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<version>${spring-boot.version}</version>
</dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>