def clearAuth():
    if 'indieauth_token' in 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)
Deletes the disk.
dataset/ETHPy150Open bear/python-indieweb/indieweb.py/clearAuth--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/providers/azure/azure_disk.py/AzureDisk._Delete