src/examples/api-keys/WithUi.tsx
src/examples/api-keys/WithUi.tsx'use client'
import { AccountManager } from '@synqauth/react'
// API keys with Synq's UI: AccountManager's API keys section, which shows
// wherever one of the brand's APIs lets people make keys. The person picks
// the API and what the key may do; the key shows once, with a copy button,
// and a revoked key stops working at its API's next check. Making one asks
// for a recent sign-in, since a key outlives every session.
export function ApiKeysWithUi() {
return <AccountManager sections={['apiKeys']} />
}