def authenticate(self, token):
if self.verify_token_callback:<EOL><INDENT>return self.verify_token_callback(token)<EOL><DEDENT>if not token:<EOL><INDENT>return False<EOL><DEDENT>name = self.token_manager.verify(token)<EOL>if not name:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Authenticate a token

        :param token: