feat: Moved package name from cn.org.codecrafters to com.onixbyte

This commit is contained in:
Zihlu Wang
2024-04-26 01:50:46 +08:00
parent 65287d0b24
commit 8dd0dad8d9
66 changed files with 180 additions and 188 deletions
@@ -15,9 +15,9 @@
* limitations under the License.
*/
package cn.org.codecrafters.simplejwt;
package com.onixbyte.simplejwt;
import cn.org.codecrafters.simplejwt.exceptions.WeakSecretException;
import com.onixbyte.simplejwt.exceptions.WeakSecretException;
import java.util.Random;
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.org.codecrafters.simplejwt;
package com.onixbyte.simplejwt;
import java.util.Map;
@@ -15,9 +15,8 @@
* limitations under the License.
*/
package cn.org.codecrafters.simplejwt;
package com.onixbyte.simplejwt;
import java.lang.reflect.InvocationTargetException;
import java.time.Duration;
import java.util.Map;
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.org.codecrafters.simplejwt.annotations;
package com.onixbyte.simplejwt.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
@@ -15,9 +15,9 @@
* limitations under the License.
*/
package cn.org.codecrafters.simplejwt.annotations;
package com.onixbyte.simplejwt.annotations;
import cn.org.codecrafters.simplejwt.constants.TokenDataType;
import com.onixbyte.simplejwt.constants.TokenDataType;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
@@ -24,4 +24,4 @@
*
* @since 1.0.0
*/
package cn.org.codecrafters.simplejwt.annotations;
package com.onixbyte.simplejwt.annotations;
@@ -15,10 +15,10 @@
* limitations under the License.
*/
package cn.org.codecrafters.simplejwt.config;
package com.onixbyte.simplejwt.config;
import cn.org.codecrafters.simplejwt.TokenResolver;
import cn.org.codecrafters.simplejwt.constants.TokenAlgorithm;
import com.onixbyte.simplejwt.TokenResolver;
import com.onixbyte.simplejwt.constants.TokenAlgorithm;
/**
* The {@code TokenResolverConfig} provides a mechanism to configure an
@@ -29,4 +29,4 @@
*
* @since 1.0.0
*/
package cn.org.codecrafters.simplejwt.config;
package com.onixbyte.simplejwt.config;
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.org.codecrafters.simplejwt.constants;
package com.onixbyte.simplejwt.constants;
import java.util.List;
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.org.codecrafters.simplejwt.constants;
package com.onixbyte.simplejwt.constants;
import lombok.Getter;
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.org.codecrafters.simplejwt.constants;
package com.onixbyte.simplejwt.constants;
import lombok.Getter;
@@ -23,4 +23,4 @@
*
* @since 1.0.0
*/
package cn.org.codecrafters.simplejwt.constants;
package com.onixbyte.simplejwt.constants;
@@ -15,12 +15,14 @@
* limitations under the License.
*/
package cn.org.codecrafters.simplejwt.exceptions;
package com.onixbyte.simplejwt.exceptions;
import com.onixbyte.simplejwt.TokenResolver;
/**
* This {@code UnsupportedAlgorithmException} represents the given
* algorithm is not supported by {@link
* cn.org.codecrafters.simplejwt.TokenResolver} yet.
* TokenResolver} yet.
* <p>
* If you want the supports to an unsupported algorithm, you could
* <ul>
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.org.codecrafters.simplejwt.exceptions;
package com.onixbyte.simplejwt.exceptions;
/**
* {@code WeakSecretException} represents that your secret is too weak to be
@@ -36,4 +36,4 @@
*
* @since 1.0.0
*/
package cn.org.codecrafters.simplejwt.exceptions;
package com.onixbyte.simplejwt.exceptions;
@@ -37,4 +37,4 @@
*
* @since 1.0.0
*/
package cn.org.codecrafters.simplejwt;
package com.onixbyte.simplejwt;