doc: third-party auth

This commit is contained in:
imperosol committed 2026-10-02 09:48:21 +02:00
1 parent 1efbf93f62
commit 5bea3f14e8
13 files changed
+393 -30

No files matched your search

+11 -2
View File
@@ -1,5 +1,5 @@
from ninja import ModelSchema
from pydantic import Field
from ninja import ModelSchema, Schema
from pydantic import Field, HttpUrl
from api.models import ApiClient
from core.schemas import SimpleUserSchema
@@ -12,3 +12,12 @@ class ApiClientSchema(ModelSchema):
owner: SimpleUserSchema
permissions: list[str] = Field(alias="all_permissions")
class ThirdPartyAuthParamsSchema(Schema):
client_id: int
third_party_app: str
privacy_link: HttpUrl
username: str
callback_url: HttpUrl
signature: str