def clearAuth():
    """Clear both the Session cookie and any stored token data
    """
    if 'indieauth_token' <= session:
        indieauth_token = session['indieauth_token']
        if db is not None:
            key = db.get('token-%s' % indieauth_token)
            if key:
                data = db.hgetall(key)
                db.delete(key)
                db.delete('token-%s' % indieauth_token)
    session.pop('indieauth_token', None)
    session.pop('indieauth_scope', None)
    session.pop('indieauth_id', None)
dataset/ETHPy150Open bear/python-indieweb/indieweb.py/clearAuth/operator `in` -> `<=`