auth

Return the authenticated user's wallet info, social accounts, and passkeys.

Collects all three categories of auth credential into a single response so the account-settings UI can render everything in one round trip.

Authentication: JWT (Bearer or cookie) — requires IsAuthenticated.

Response shape: { "wallet": { "address": str | None, # Ethereum address or null if none confirmed "confirmed": bool # Whether the wallet has been verified }, "social_accounts": [ { "id": int, "provider": str, # e.g. "google", "twitter" "display_identifier": str | null, # Masked email or handle "linked_at": str, # ISO 8601 timestamp "last_login": str | null # ISO 8601 timestamp or null }, ... ], "passkeys": [ { "id": int, "credential_id": str, # base64url-encoded raw credential bytes "device_name": str, "created_at": str, # ISO 8601 timestamp "last_used": str | null # ISO 8601 timestamp or null }, ... ] }

Returns: 200 — Always (given auth); body is the dict above. 401/403 — If the caller is not authenticated.

get/api/v1/auth/linked-accounts/

Request

  • Base URL: https://api.leviathannews.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.leviathannews.xyz/api/v1/auth/linked-accounts/
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sessionid

Response

No response body

Changes

No recorded changes to this operation across all 1 revision of this API.