Package com.auth0.jwt
Class TokenUtils
java.lang.Object
com.auth0.jwt.TokenUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static String[]
splitToken
(String token) Splits the given token on the "." chars into a String array with 3 parts.
-
Constructor Details
-
TokenUtils
TokenUtils()
-
-
Method Details
-
splitToken
Splits the given token on the "." chars into a String array with 3 parts.- Parameters:
token
- the string to split.- Returns:
- the array representing the 3 parts of the token.
- Throws:
JWTDecodeException
- if the Token doesn't have 3 parts.
-