from rest_framework.throttling import UserRateThrottle

from vq_django_auth.app_settings import api_settings


class VQAuthThrottle(UserRateThrottle):
    scope = "vq_django_auth"
    rate = api_settings.VQ_AUTH_THROTTLE
