Making classes public · GJWT/javaOIDCMsg@893b6ba · GitHub
Skip to content

Commit 893b6ba

Browse files
author
Justin Dahmubed
committed
Making classes public
1 parent 1ba7e74 commit 893b6ba

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

lib/src/main/java/com/auth0/jwt/ClockImpl.java

Lines changed: 2 additions & 2 deletions

lib/src/main/java/com/auth0/jwt/JWTDecoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
* The JWTDecoder class holds the decode method to parse a given JWT token into it's JWT representation.
1818
*/
1919
@SuppressWarnings("WeakerAccess")
20-
final class JWTDecoder implements DecodedJWT {
20+
public final class JWTDecoder implements DecodedJWT {
2121

2222
private final String[] parts;
2323
private final Header header;
2424
private final Payload payload;
2525

26-
JWTDecoder(String jwt) throws JWTDecodeException {
26+
public JWTDecoder(String jwt) throws JWTDecodeException {
2727
parts = TokenUtils.splitToken(jwt);
2828
final JWTParser converter = new JWTParser();
2929
String headerJson;

lib/src/main/java/com/auth0/jwt/TokenUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import com.auth0.jwt.exceptions.JWTDecodeException;
44

5-
abstract class TokenUtils {
5+
public abstract class TokenUtils {
66

77
/**
88
* Splits the given token on the "." chars into a String array with 3 parts.
@@ -11,7 +11,7 @@ abstract class TokenUtils {
1111
* @return the array representing the 3 parts of the token.
1212
* @throws JWTDecodeException if the Token doesn't have 3 parts.
1313
*/
14-
static String[] splitToken(String token) throws JWTDecodeException {
14+
public static String[] splitToken(String token) throws JWTDecodeException {
1515
String[] parts = token.split("\\.");
1616
if (parts.length == 2 && token.endsWith(".")) {
1717
//Tokens with alg='none' have empty String as Signature.

lib/src/test/java/com/auth0/jwt/TimeUtil.java

Lines changed: 3 additions & 3 deletions

0 commit comments

Comments
 (0)