Generate a timestamp for the JWT token expiration.
()
| 13 | |
| 14 | |
| 15 | def _generate_jwt_timestamp() -> int: |
| 16 | """Generate a timestamp for the JWT token expiration.""" |
| 17 | return int((datetime.now() + timedelta(days=JWT_EXPIRATION_DAYS)).timestamp()) |
| 18 | |
| 19 | |
| 20 | def _assert_jwt_secret() -> None: |
searching dependent graphs…