2024-08-26 14:46:20 -07:00
|
|
|
from typing import Optional
|
|
|
|
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
2024-09-10 09:17:32 -07:00
|
|
|
from ..models.device_access_token_uuid import DeviceAccessTokenUuid
|
2024-08-26 14:46:20 -07:00
|
|
|
|
|
|
|
|
|
|
|
class TokenRevokeRequestForm(BaseModel):
|
|
|
|
"""The request parameters for the OAuth 2.0 token revocation flow."""
|
|
|
|
|
|
|
|
client_id: str
|
|
|
|
|
|
|
|
client_secret: Optional[str] = None
|
|
|
|
|
2024-09-10 09:17:32 -07:00
|
|
|
token: DeviceAccessTokenUuid
|
2024-08-26 14:46:20 -07:00
|
|
|
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|