public JwtClaims getJwtClaims ( String jwt ) throws JoseException { String methodName = "getJwtClaims" ; if ( tc . isDebugEnabled ( ) ) { Tr . entry ( tc , methodName , jwt ) ; } JwtClaims jwtclaims = new JwtClaims ( ) ; String payload = getJwtPayload ( jwt ) ; if ( payload != null ) { jwtclaims = getClaimsFromJwtPayload ( jwt , payload ) ; } if ( tc . isDebugEnabled ( ) ) { Tr . exit ( tc , methodName , jwtclaims ) ; } return jwtclaims ; }
Parses the provided JWT and returns the claims found within its payload .