MCPcopy Index your code
hub / github.com/auth0/java-jwt / decode

Method decode

lib/src/main/java/com/auth0/jwt/JWT.java:51–53  ·  view source on GitHub ↗

Decode a given Json Web Token. Note that this method doesn't verify the token's signature! Use it only if you trust the token or if you have already verified it. @param token with jwt format as string. @return a decoded JWT. @throws JWTDecodeException if any part of the token contained a

(String token)

Source from the content-addressed store, hash-verified

49 * or JSON format of each of the jwt parts.
50 */
51 public static DecodedJWT decode(String token) throws JWTDecodeException {
52 return new JWTDecoder(token);
53 }
54
55 /**
56 * Returns a {@link Verification} builder with the algorithm to be used to validate token signature.

Calls

no outgoing calls