text: Title: ResourceProtector decorator doesn't work with class-based Django views
  Body: **Describe the bug**
  
  When using the ResourceProtector decorator (as documented [here](https://docs.authlib.org/en/latest/django/2/resource-server.html)) on a Django REST Framework **class-based view**'s method:
  
  ```python
  class MyView(APIView):
      @require_oauth("order")
      def post(self, request, *args, **kwargs):
          return super().post(request, *args, **kwargs)
  ```
  
  I get the following error:
  
  > 'MyView' object has no attribute 'get_raw_uri'
  
  This is because in this case, the first parameter in the [decorator's `decorated` function](https://github.com/lepture/authlib/blob/ffeeaa9fd7b5bc4ea7cae9fcf0c2ad9d7f5cf22a/authlib/integrations/django_oauth2/resource_protector.py#L36), will be the **view object**, rather than the request.
  
  Adding a `view` parameter as the first parameter in the function fixes this.
  
  ```python
   def __call__(self, scopes=None, optional=False):
       def wrapper(f):
           @functools.wraps(f)
           def decorated(view, request, *args, **kwargs):       # <= Change here
               try:
                   token = self.acquire_token(request, scopes)
                   request.oauth_token = token
  ```
  
  **Error Stacks**
  
  ```
  File "/.venv/lib/python3.6/site-packages/rest_framework/views.py", line 502, in dispatch
      response = handler(request, *args, **kwargs)
    File "/.venv/lib/python3.6/site-packages/authlib/integrations/django_oauth2/resource_protector.py", line 39, in decorated
      token = self.acquire_token(request, scopes)
    File "/.venv/lib/python3.6/site-packages/authlib/integrations/django_oauth2/resource_protector.py", line 25, in acquire_token
      url = request.get_raw_uri()
  AttributeError: 'MyView' object has no attribute 'get_raw_uri'
  ```
  
  **To Reproduce**
  
  See code example in the bug description above.
  
  **Expected behavior**
  
  The decorator to work the same way as it does for function-based views.
  
  **Environment:**
  
   - OS: OSX
   - Python Version: 3.6.9
   - Authlib Version: 1.0.0.dev0
  
  **Additional context**
  
  I'm available to create a PR to fix this if you tell me the approach you want to take here.