feat: add env jwt_refresh_token_expire_minutes

This commit is contained in:
martsforever
2025-08-22 15:10:00 +08:00
parent 2b3c4b9a30
commit 78ff288758
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -29,6 +29,7 @@ class Settings(BaseSettings):
jwt_secret_key: str = Field(..., env="JWT_SECRET_KEY")
jwt_algorithm: str = Field(..., env="JWT_ALGORITHM")
jwt_access_token_expire_minutes: int = Field(..., env="JWT_ACCESS_TOKEN_EXPIRE_MINUTES")
jwt_refresh_token_expire_minutes: int = Field(..., env="JWT_REFRESH_TOKEN_EXPIRE_MINUTES")
jwt_global_enable: bool = Field(..., env="JWT_GLOBAL_ENABLE")
jwt_white_list: List[str] = Field(..., env="JWT_WHITE_LIST")