2023-11-28 23:50:50 -08:00
|
|
|
from typing import Optional
|
2022-04-06 22:41:11 -07:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
from pydantic import BaseModel
|
2022-04-06 22:41:11 -07:00
|
|
|
|
|
|
|
|
2023-11-29 00:39:14 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
class OAuth2ClientInfo(BaseModel):
|
|
|
|
"""Information about an OAuth 2.0 client."""
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
csrf_token: Optional[str] = None
|
2022-04-06 22:41:11 -07:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
pkce_code_verifier: Optional[str] = None
|
2023-05-04 00:58:06 -07:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
url: Optional[str] = None
|