def get_identifier(self, request):
        try:
            return request._authentication_backend.get_identifier(request)
        except AttributeError:
            return 'nouser'
Provides a unique string identifier for the requestor.
dataset/ETHPy150Open django-tastypie/django-tastypie/tastypie/authentication.py/MultiAuthentication.get_identifier