added Token method to return a token according to JWT parameters