add revoke client approval

This commit is contained in:
2025-02-13 13:00:21 -06:00
parent 32facb1767
commit 9bfc591fcc
4 changed files with 25 additions and 1 deletions

View File

@@ -226,3 +226,6 @@ WHERE id = ?;
INSERT INTO sessions (id, user_id, expires_at)
VALUES (?, ?, ?);
-- name: RevokeClientApproval :exec
DELETE FROM client_approvals
WHERE user_id = ? AND client_id = ?;