15 lines
286 B
Python
15 lines
286 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
|
|
class EmailAuthenticationForm(BaseModel):
|
|
"""The body of the form for email authentication."""
|
|
|
|
callback_url: Optional[str] = None
|
|
|
|
email: str
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|