In order to manage the rate limits for clients and provide them to the access tokens in the OAuth extension we need to develop a separate extension, that would hold the rate limits logic. MVP functionality:
- Implement the OAuth hook to provide the claims
- Database table to store the mapping between client ID and client class
- Configuration for mapping between client classes and rate limits
- Maintenance script to assign clients to classes