()
| 212 | } |
| 213 | |
| 214 | @Test |
| 215 | public void shouldGetSignature() { |
| 216 | String token = "eyJhbGciOiJIUzI1NiJ9.e30.XmNK3GpH3Ys_7wsYBfq4C3M6goz71I7dTgUkuIa5lyQ"; |
| 217 | DecodedJWT jwt = JWT.require(Algorithm.HMAC256("secret")) |
| 218 | .build() |
| 219 | .verify(token); |
| 220 | |
| 221 | assertThat(jwt, is(notNullValue())); |
| 222 | assertThat(jwt.getSignature(), is("XmNK3GpH3Ys_7wsYBfq4C3M6goz71I7dTgUkuIa5lyQ")); |
| 223 | } |
| 224 | |
| 225 | @Test |
| 226 | public void shouldGetIssuer() { |
nothing calls this directly
no test coverage detected