@Test public void setJwtId_success() throws Exception { ToBeSignedJwt token = new ToBeSignedJwt.Builder().setJwtId("foo").build(); assertThat(token.getClaim(JwtNames.CLAIM_JWT_ID)).isEqualTo("foo"); }
Object getClaim(String name) { try { return payload.get(name); } catch (JSONException ex) { return null; } }
ToBeSignedJwt { Object getClaim(String name) { try { return payload.get(name); } catch (JSONException ex) { return null; } } }
ToBeSignedJwt { Object getClaim(String name) { try { return payload.get(name); } catch (JSONException ex) { return null; } } private  ToBeSignedJwt(Builder builder); }
ToBeSignedJwt { Object getClaim(String name) { try { return payload.get(name); } catch (JSONException ex) { return null; } } private  ToBeSignedJwt(Builder builder);  }
ToBeSignedJwt { Object getClaim(String name) { try { return payload.get(name); } catch (JSONException ex) { return null; } } private  ToBeSignedJwt(Builder builder);   }