feat: Moved package name from cn.org.codecrafters to com.onixbyte
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package cn.org.codecrafters.simplejwt;
|
||||
package com.onixbyte.simplejwt;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
+1
-2
@@ -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;
|
||||
|
||||
+1
-1
@@ -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;
|
||||
+2
-2
@@ -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;
|
||||
+1
-1
@@ -24,4 +24,4 @@
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
package cn.org.codecrafters.simplejwt.annotations;
|
||||
package com.onixbyte.simplejwt.annotations;
|
||||
+3
-3
@@ -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
|
||||
+1
-1
@@ -29,4 +29,4 @@
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
package cn.org.codecrafters.simplejwt.config;
|
||||
package com.onixbyte.simplejwt.config;
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package cn.org.codecrafters.simplejwt.constants;
|
||||
package com.onixbyte.simplejwt.constants;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package cn.org.codecrafters.simplejwt.constants;
|
||||
package com.onixbyte.simplejwt.constants;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package cn.org.codecrafters.simplejwt.constants;
|
||||
package com.onixbyte.simplejwt.constants;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
+1
-1
@@ -23,4 +23,4 @@
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
package cn.org.codecrafters.simplejwt.constants;
|
||||
package com.onixbyte.simplejwt.constants;
|
||||
+4
-2
@@ -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>
|
||||
+1
-1
@@ -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
|
||||
+1
-1
@@ -36,4 +36,4 @@
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
package cn.org.codecrafters.simplejwt.exceptions;
|
||||
package com.onixbyte.simplejwt.exceptions;
|
||||
+1
-1
@@ -37,4 +37,4 @@
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
package cn.org.codecrafters.simplejwt;
|
||||
package com.onixbyte.simplejwt;
|
||||
Reference in New Issue
Block a user