refactor: rename modules

Closes #75
This commit is contained in:
siujamo
2025-06-17 17:40:21 +08:00
parent 71e7993352
commit c48577544a
45 changed files with 91 additions and 100 deletions
+5 -5
View File
@@ -68,13 +68,13 @@ tasks.test {
publishing {
publications {
create<MavenPublication>("simpleJwtFacade") {
create<MavenPublication>("jwtToolboxFacade") {
groupId = group.toString()
artifactId = "simple-jwt-facade"
artifactId = "jwt-toolbox-facade"
version = artefactVersion
pom {
name = "Simple JWT :: Facade"
name = "OnixByte JWT Toolbox :: Facade"
description = "Declaration of simple JWT module."
url = projectUrl
@@ -111,7 +111,7 @@ publishing {
from(components["java"])
signing {
sign(publishing.publications["simpleJwtFacade"])
sign(publishing.publications["jwtToolboxFacade"])
}
}
@@ -126,4 +126,4 @@ publishing {
}
}
}
}
}
@@ -15,9 +15,9 @@
* limitations under the License.
*/
package com.onixbyte.simplejwt;
package com.onixbyte.jwt;
import com.onixbyte.simplejwt.exceptions.WeakSecretException;
import com.onixbyte.jwt.exceptions.WeakSecretException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package com.onixbyte.simplejwt;
package com.onixbyte.jwt;
/**
* {@code TokenPayload} interface is used to mark a data class as suitable
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package com.onixbyte.simplejwt;
package com.onixbyte.jwt;
import java.time.Duration;
import java.util.Map;
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package com.onixbyte.simplejwt.annotations;
package com.onixbyte.jwt.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
@@ -15,9 +15,9 @@
* limitations under the License.
*/
package com.onixbyte.simplejwt.annotations;
package com.onixbyte.jwt.annotations;
import com.onixbyte.simplejwt.constants.TokenDataType;
import com.onixbyte.jwt.constants.TokenDataType;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package com.onixbyte.simplejwt.constants;
package com.onixbyte.jwt.constants;
import java.util.List;
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package com.onixbyte.simplejwt.constants;
package com.onixbyte.jwt.constants;
import java.util.List;
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package com.onixbyte.simplejwt.constants;
package com.onixbyte.jwt.constants;
/**
* The base data types used to process enum data.
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package com.onixbyte.simplejwt.exceptions;
package com.onixbyte.jwt.exceptions;
/**
* {@link IllegalKeyPairException} indicates an exception that the key pair is invalid.
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package com.onixbyte.simplejwt.exceptions;
package com.onixbyte.jwt.exceptions;
/**
* {@link IllegalKeyPairException} indicates the secret to sign a JWT is illegal.
@@ -15,9 +15,9 @@
* limitations under the License.
*/
package com.onixbyte.simplejwt.exceptions;
package com.onixbyte.jwt.exceptions;
import com.onixbyte.simplejwt.TokenResolver;
import com.onixbyte.jwt.TokenResolver;
/**
* This {@code UnsupportedAlgorithmException} represents the given
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package com.onixbyte.simplejwt.exceptions;
package com.onixbyte.jwt.exceptions;
/**
* {@code WeakSecretException} represents that your secret is too weak to be