code: def create_token_response(self, uri, http_method='GET', body=None,
                                headers=None, credentials=None):
          
          django_request = headers.pop("Django-request-object", None)
          request = Request(
              uri, http_method=http_method, body=body, headers=headers)
          request.scopes = None
          request.extra_credentials = credentials
          request.django_request = django_request
          grant_type_handler = self.grant_types.get(request.grant_type,
                                                    self.default_grant_type_handler)
          log.debug('Dispatching grant_type %s request to %r.',
                    request.grant_type, grant_type_handler)
          return grant_type_handler.create_token_response(
              request, self.default_token_type)
docs: Extract grant_type and route to the designated handler.