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)
| 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. |
no outgoing calls