MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / RevokeAccessToken

Method RevokeAccessToken

internal/oauth/storage.go:474–481  ·  view source on GitHub ↗
(ctx context.Context, requestID string)

Source from the content-addressed store, hash-verified

472}
473
474func (s *Storage) RevokeAccessToken(ctx context.Context, requestID string) error {
475 _, err := s.db(ctx).Exec(ctx, `
476 UPDATE oauth_access_tokens
477 SET revoked_at = NOW()
478 WHERE request_id = $1 AND revoked_at IS NULL
479 `, requestID)
480 return err
481}
482
483// ───────────────────────── PKCERequestStorage ─────────────────────────
484

Callers

nothing calls this directly

Calls 2

dbMethod · 0.95
ExecMethod · 0.65

Tested by

no test coverage detected