Source code for kittycad.models.token_revoke_request_form
from typing import Optional
from pydantic import BaseModel, ConfigDict
from ..models.device_access_token_uuid import DeviceAccessTokenUuid
[docs]
class TokenRevokeRequestForm(BaseModel):
"""The request parameters for the OAuth 2.0 token revocation flow."""
client_id: str
client_secret: Optional[str] = None
token: DeviceAccessTokenUuid
model_config = ConfigDict(protected_namespaces=())