Auth0Jwt extends DefaultOAuthJwtAccessToken { @Override public String getClientId() { return this.body.get(Auth0Jwt.claimClientId, String.class); } Auth0Jwt(Jws<Claims> jws); @Override String getSubject(); @Override String getClientId(); @Override String getCertificateThumbprint(); static void setClaimClientId(String claimClientId); static void setClaimConfirm(String claimConfirm); static void setUserDomain(String userDomain); static String getClaimClientId(); static String getClaimConfirm(); static String getUserDomain();  }
@Test public void testGetClientId() { Auth0Jwt jwt; jwt = new Auth0Jwt(parser.parseClaimsJws(Jwts.builder().setSubject("subject").signWith(secretKey).compact())); assertNull(jwt.getClientId()); jwt = new Auth0Jwt(parser.parseClaimsJws(Jwts.builder().claim("https: assertEquals(jwt.getClientId(), "client_id"); }