public static JWTPayload getPayload ( String tokenString ) { JWTPayload payload = null ; String [ ] jwtParts = splitTokenString ( tokenString ) ; if ( jwtParts . length >= 2 ) { WSJsonToken token = deserialize ( jwtParts , tokenString ) ; payload = new JWTPayload ( ) ; fromJsonToken ( token , payload ) ; } return payload ; }
Extract payload from token without validating .