docs: Optimised docs.

This commit is contained in:
Zihlu Wang
2024-03-12 10:59:36 +08:00
parent 5b2e96c938
commit 1018c22248
2 changed files with 10 additions and 9 deletions
@@ -17,8 +17,8 @@
import java.net.URI import java.net.URI
val sGroupId: String by project val buildGroupId: String by project
val sVersion: String by project val buildVersion: String by project
val projectUrl: String by project val projectUrl: String by project
val projectGithubUrl: String by project val projectGithubUrl: String by project
val licenseName: String by project val licenseName: String by project
@@ -26,8 +26,8 @@ val licenseUrl: String by project
val springBootVersion: String by project val springBootVersion: String by project
group = sGroupId group = buildGroupId
version = sVersion version = buildVersion
dependencies { dependencies {
implementation(project(":devkit-utils")) implementation(project(":devkit-utils"))
@@ -51,9 +51,9 @@ tasks.test {
publishing { publishing {
publications { publications {
create<MavenPublication>("propertyGuardSpringBootStarter") { create<MavenPublication>("propertyGuardSpringBootStarter") {
groupId = sGroupId groupId = buildGroupId
artifactId = "property-guard-spring-boot-starter" artifactId = "property-guard-spring-boot-starter"
version = sVersion version = buildVersion
pom { pom {
name = "Property Guard Spring Boot Starter" name = "Property Guard Spring Boot Starter"
@@ -111,9 +111,10 @@ public class JjwtTokenResolver implements TokenResolver<Jws<Claims>> {
/** /**
* Create a resolver with specified algorithm, issuer, secret and guid strategy. * Create a resolver with specified algorithm, issuer, secret and guid strategy.
* *
* @param algorithm specified algorithm * @param jtiCreator jwt id creator
* @param issuer specified issuer * @param algorithm specified algorithm
* @param secret specified secret * @param issuer specified issuer
* @param secret specified secret
*/ */
public JjwtTokenResolver(GuidCreator<?> jtiCreator, TokenAlgorithm algorithm, String issuer, String secret) { public JjwtTokenResolver(GuidCreator<?> jtiCreator, TokenAlgorithm algorithm, String issuer, String secret) {
if (Objects.isNull(secret) || secret.isBlank()) { if (Objects.isNull(secret) || secret.isBlank()) {