Skip to content

Commit 2b10eed

Browse files
committed
fix: fixed ci error
1 parent dad99dc commit 2b10eed

File tree

2 files changed

+19
-40
lines changed

2 files changed

+19
-40
lines changed

simple-jwt-authzero/src/main/java/com/onixbyte/simplejwt/authzero/package-info.java

Lines changed: 19 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -16,43 +16,29 @@
1616
*/
1717

1818
/**
19-
* This package contains classes related to the integration of the {@code
20-
* com.auth0:java-jwt} library in the Simple JWT project. {@code
21-
* com.auth0:java-jwt} is a powerful and widely-used Identity as a Service
22-
* (IDaaS) platform that provides secure authentication and authorisation
23-
* solutions for web and mobile applications. The classes in this package
24-
* provide the necessary functionality to handle JSON Web Tokens (JWTs) using
25-
* the {@code com.auth0:java-jwt} library.
19+
* This package contains classes related to the integration of the {@code com.auth0:java-jwt}
20+
* library in the Simple JWT project. {@code com.auth0:java-jwt} is a powerful and widely-used
21+
* identity as a Service (IDaaS) platform that provides secure authentication and authorisation
22+
* solutions for web and mobile applications. The classes in this package provide the necessary
23+
* functionality to handle JSON Web Tokens (JWTs) using the {@code com.auth0:java-jwt} library.
2624
* <p>
2725
* The main class in this package is the {@link
28-
* com.onixbyte.simplejwt.authzero.AuthzeroTokenResolver}, which
29-
* implements the {@link com.onixbyte.simplejwt.TokenResolver} interface
30-
* and uses the {@code com.auth0:java-jwt} library to handle JWT operations. It
31-
* provides the functionality to create, validate, and extract JWTs using the
32-
* {@code com.auth0:java-jwt} library. Developers can use this class as the
33-
* main token resolver in the Simple JWT project when integrating {@code
34-
* com.auth0:java-jwt} as the JWT management library.
26+
* com.onixbyte.simplejwt.authzero.AuthzeroTokenResolver}, which implements the
27+
* {@link com.onixbyte.simplejwt.TokenResolver} interface and uses the {@code com.auth0:java-jwt}
28+
* library to handle JWT operations. It provides the functionality to create, validate, and extract
29+
* JWTs using the {@code com.auth0:java-jwt} library. Developers can use this class as the main
30+
* token resolver in the Simple JWT project when integrating {@code com.auth0:java-jwt} as the
31+
* JWT management library.
3532
* <p>
36-
* The {@link com.onixbyte.simplejwt.authzero.AuthzeroTokenResolver}
37-
* relies on the {@code com.auth0:java-jwt} library to handle the underlying
38-
* JWT operations, including token creation, validation, and extraction. It
39-
* utilizes the {@code com.auth0:java-jwt} {@link
40-
* com.auth0.jwt.algorithms.Algorithm} class to define and use different
41-
* algorithms for JWT signing and verification.
33+
* The {@link com.onixbyte.simplejwt.authzero.AuthzeroTokenResolver} relies on the
34+
* {@code com.auth0:java-jwt} library to handle the underlying JWT operations, including token
35+
* creation, validation, and extraction. It utilizes the {@code com.auth0:java-jwt}
36+
* {@link com.auth0.jwt.algorithms.Algorithm} class to define and use different algorithms for
37+
* JWT signing and verification.
4238
* <p>
43-
* To use the {@link
44-
* com.onixbyte.simplejwt.authzero.AuthzeroTokenResolver}, developers
45-
* must provide the necessary configurations and dependencies, such as the
46-
* {@link com.onixbyte.guid.GuidCreator} for generating unique JWT IDs
47-
* (JTI), the supported algorithm function, the issuer name, and the secret key
48-
* used for token signing and validation. The {@link
49-
* com.onixbyte.simplejwt.authzero.config.AuthzeroTokenResolverConfig}
50-
* class provides a convenient way to configure these dependencies.
51-
* <p>
52-
* Developers using the {@code com.auth0:java-jwt} integration should be
53-
* familiar with the concepts and usage of the {@code com.auth0:java-jwt}
54-
* library and follow the official {@code com.auth0:java-jwt} documentation for
55-
* best practices and security considerations.
39+
* Developers using the {@code com.auth0:java-jwt} integration should be familiar with the concepts
40+
* and usage of the {@code com.auth0:java-jwt} library and follow the official
41+
* {@code com.auth0:java-jwt} documentation for best practices and security considerations.
5642
*
5743
* @since 1.0.0
5844
*/

simple-jwt-authzero/src/test/java/com/onixbyte/simplejwt/authzero/test/TestAuthzeroTokenResolver.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,4 @@
3030
*/
3131
public class TestAuthzeroTokenResolver {
3232

33-
@Test
34-
public void test01() {
35-
var tokenResolver = new AuthzeroTokenResolver(TokenAlgorithm.HS384, "Test Issuer", "Test Secret");
36-
var testToken = tokenResolver.createToken(Duration.ofMinutes(30), "Test Audience", "User00001");
37-
System.out.println(testToken);
38-
}
39-
4033
}

0 commit comments

Comments
 (0)