10 lines
254 B
Python
10 lines
254 B
Python
from pydantic import BaseModel, ConfigDict, Field
|
|
|
|
|
|
class VisitorTokenResponse(BaseModel):
|
|
model_config = ConfigDict(frozen=True)
|
|
|
|
access_token: str = Field(min_length=1)
|
|
token_type: str = "Bearer"
|
|
expires_in: int = Field(ge=60, le=3600)
|