getAuthInfo
Return structured metadata describing each enabled authentication method on this handler. Useful for generating diagnostic pages, startup banners, or developer-facing hints about which auth schemes are active. Missing entries indicate the corresponding method is not configured.
Returns
An object with three optional keys:
basic
Present when Basic Auth is configured. Contains the configured username (the password is never returned).
bearer
Present when Bearer token auth is configured. hint is a human-readable
string like "Use Authorization: Bearer <token>".
apiKey
Present when API key auth is configured. header is the configured header
name (defaults to "X-Api-Key"). hint is a human-readable usage string.