mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-20 03:32:48 +00:00
docs: API keys, their scopes, limits and audit
Also sends key creation, rotation and revocation to security webhooks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -214,7 +214,7 @@ namespace OpenApi {
|
||||
"`Authorization: Bearer <token>` with a token from your account page. Requests signed in with the session cookie must also "
|
||||
"send `X-Requested-With` (this page does)."} }},
|
||||
{"components", { {"securitySchemes", {
|
||||
{"bearer", { {"type", "http"}, {"scheme", "bearer"}, {"description", "An API token from your account page"} }},
|
||||
{"bearer", { {"type", "http"}, {"scheme", "bearer"}, {"description", "An API key from your account page"} }},
|
||||
{"session", { {"type", "apiKey"}, {"in", "cookie"}, {"name", "dashboardToken"}, {"description", "Your dashboard sign-in"} }} }} }},
|
||||
{"security", { { {"session", nlohmann::json::array()} }, { {"bearer", nlohmann::json::array()} } }},
|
||||
{"paths", paths}
|
||||
|
||||
Reference in New Issue
Block a user