mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
Runs the confirm-before-revoke auth check on demand: a pass within 10 min answers at once (verified_at, migration 0048), otherwise one check rate-limited to one a minute per person, revoking (audited) only on a definite authentication_error. Storing a new token forgets the old verification.
5 lines
287 B
SQL
5 lines
287 B
SQL
-- Last time the control plane's own auth check passed for this credential (POST
|
|
-- /v1/agent-credentials/claude/verify, or the check behind a provider 401). Recent passes answer verify
|
|
-- without calling the provider again.
|
|
ALTER TABLE agent_credentials ADD COLUMN verified_at INTEGER;
|