@Override
  public UUID getJobIdFromToken(String token) {
    try {
      DecodedJWT jwt = verifier.verify(token);
      // Token is verified, get claim
      Claim claim = jwt.getClaim(JWTTokenManager.ID_CLAIM_KEY);
      if (claim.isNull()) {
        return null;
      }
      return claim.isNull() ? null : UUID.fromString(claim.asString());
    } catch (JWTVerificationException exception) {
      monitor.debug(() -> "Error verifying token", exception);
      throw new RuntimeException("Error verifying token: " + token);
    }
  }
Create the {@link Algorithm} to be used for signing and parsing tokens.
portability-api/src/main/java/org/datatransferproject/api/token/JWTTokenManager.java