sanic_jwt_extended.jwt_manager module

class sanic_jwt_extended.jwt_manager.JWTManager(app: sanic.app.Sanic)[source]

Bases: object

An object used to hold JWT settings for the Sanic-JWT-Extended extension. Instances of JWTManger are not bound to specific apps, so you can create one in the main body of your code and then bind it to your app in a factory function.

init_app(app: sanic.app.Sanic)[source]

Register this extension with the sanic app. :param app: A sanic application