You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
364 B
Python
21 lines
364 B
Python
from functools import lru_cache
|
|
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
auth0_domain: str
|
|
auth0_api_audience: str
|
|
auth0_issuer: str
|
|
auth0_algorithms: str
|
|
google_client_id: str
|
|
google_client_secret: str
|
|
|
|
class Config:
|
|
env_file = ".env"
|
|
|
|
|
|
@lru_cache()
|
|
def get_settings():
|
|
return Settings()
|