public static JWT verify ( String jwt , String secret ) { return verify ( jwt , secret == null ? null : secret . getBytes ( StandardCharsets . UTF_8 ) ) ; }
Verify whether the JWT is valid . If valid return the decoded instance .