"""Schemas for jwt testing.""" from pydantic import BaseModel, ConfigDict, EmailStr, Field, SecretStr class Auth0Creds(BaseModel): """Holds auth0 login info.""" model_config = ConfigDict( str_strip_whitespace=True, ) auth0_client_id: str = Field(min_length=1) auth0_client_secret: str = Field(min_length=1) class UserCreds(BaseModel): """Holds user login info.""" model_config = ConfigDict( str_strip_whitespace=True, ) email: EmailStr password: SecretStr otp_secret_key: str | None = None class SecretLookupInfo(BaseModel): """Holds get secret arguments.""" environment: str service_name: str secret_name: str