feat: add env jwt_refresh_token_expire_minutes
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user