code: def authenticate(self, request):
          
          for backend in self.authentication:
              client = backend().authenticate(request)
              if client is not None:
                  return client
          return None
docs: Authenticate a client against all the backends configured in
          :attr:`authentication`.