Exemplo n.º 1
0
def get_jwt_strategy() -> JWTStrategy:
    return JWTStrategy(secret=os.environ["SECRET"], lifetime_seconds=3600)
Exemplo n.º 2
0
def get_jwt_strategy() -> JWTStrategy:
    return JWTStrategy(secret=SECRET, lifetime_seconds=3600)
Exemplo n.º 3
0
def get_jwt_strategy() -> JWTStrategy:
    return JWTStrategy(secret=config.secret, lifetime_seconds=3600)