Пример #1
0
def get_jwt_strategy() -> JWTStrategy:
    return JWTStrategy(secret=os.environ["SECRET"], lifetime_seconds=3600)
Пример #2
0
def get_jwt_strategy() -> JWTStrategy:
    return JWTStrategy(secret=SECRET, lifetime_seconds=3600)
Пример #3
0
def get_jwt_strategy() -> JWTStrategy:
    return JWTStrategy(secret=config.secret, lifetime_seconds=3600)