Package com.auth0.jwt
Class TokenUtils
- java.lang.Object
-
- com.auth0.jwt.TokenUtils
-
abstract class TokenUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TokenUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.lang.String[]splitToken(java.lang.String token)Splits the given token on the "." chars into a String array with 3 parts.
-
-
-
Method Detail
-
splitToken
static java.lang.String[] splitToken(java.lang.String token) throws JWTDecodeExceptionSplits 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.
-
-