def authenticate(self, request, url_auth_token=None):
try:<EOL><INDENT>return self.parse_token(url_auth_token)<EOL><DEDENT>except TypeError:<EOL><INDENT>backend = "<STR_LIT>" % (self.__module__, self.__class__.__name__)<EOL>logger.exception("<STR_LIT>"<EOL>"<STR_LIT>", backend)<EOL>raise<EOL><DEDENT>
Check the token and return the corresponding user.