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

Method DeleteRefreshTokenSession

internal/oauth/storage.go:422–426  ·  view source on GitHub ↗
(ctx context.Context, signature string)

Source from the content-addressed store, hash-verified

420}
421
422func (s *Storage) DeleteRefreshTokenSession(ctx context.Context, signature string) error {
423 _, err := s.db(ctx).Exec(ctx,
424 `DELETE FROM oauth_refresh_tokens WHERE signature = $1`, signature)
425 return err
426}
427
428// RotateRefreshToken marks the refresh row inactive (via CAS) and
429// ALSO revokes every access token for the same request_id. Without

Callers

nothing calls this directly

Calls 2

dbMethod · 0.95
ExecMethod · 0.65

Tested by

no test coverage detected