

def authenticate(self, request):
    '\n        Authenticate the request for anyone or if a valid token is provided, a user.\n        '
    try:
        return TokenAuthentication.authenticate(TokenAuthentication(), self)
    except:
        return (AnonymousUser(), None)

dataset/ETHPy150Open deis/deis/controller/api/authentication.py AnonymousOrAuthenticatedAuthentication.authenticate/VarMisuse@27/67 `request`->`self`