Skip to content

feat(security): implement ApiKeyRateLimitGuard for developer API key authentication endpoints (#413) - #467

Open
ryder777777 wants to merge 1 commit into
ASTROIDX556:mainfrom
ryder777777:feat/developer-api-key-rate-limit-guard-413
Open

ryder777777 wants to merge 1 commit into
ASTROIDX556:mainfrom
ryder777777:feat/developer-api-key-rate-limit-guard-413

Conversation

@ryder777777

Copy link
Copy Markdown

Summary

Implements ApiKeyRateLimitGuard in src/common/guards/api-key-rate-limit.guard.ts and unit tests in api-key-rate-limit.guard.spec.ts to enforce distributed per-IP and per-API-key rate limits with standard HTTP 429 Retry-After headers.

Type of change

  • New feature
  • Bug fix

Related issue

Closes #413

Checklist

  • npm run build passes
  • npm test passes
  • npm run lint passes
  • npm run typecheck passes
  • No secrets added to tracked files
  • PR description explains the why, not just the what

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement rate limiting guard for developer API key authentication endpoints

1 participant