21 lines
516 B
Python
21 lines
516 B
Python
import datetime
|
|
from typing import Any, Dict, List, Literal, Optional, Union
|
|
from uuid import UUID
|
|
|
|
from pydantic import AnyUrl, Base64Bytes, BaseModel, ConfigDict
|
|
from pydantic_extra_types.phone_numbers import PhoneNumber
|
|
|
|
from .base64data import Base64Data
|
|
|
|
|
|
class OAuth2ClientInfo(BaseModel):
|
|
"""Information about an OAuth 2.0 client."""
|
|
|
|
csrf_token: Optional[str] = None
|
|
|
|
pkce_code_verifier: Optional[str] = None
|
|
|
|
url: Optional[str] = None
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|