mattupstate/flask-jwt — pull request #23 by sloria (2014-06-11 03:11:21+00:00)
Title: Add generate_token function

Sometimes it's useful to generate a JWT for a user without having to call the auth endpoint, e.g. in tests. This exposes this functionality through a `generate_token` function.