def _generate_session_id():
    rand = os.urandom(20)
    return sha256(sha256(rand).digest()).hexdigest()
Match on provider name as a string.
dataset/ETHPy150Open ericrasmussen/pyramid_redis_sessions/pyramid_redis_sessions/util.py/_generate_session_id--crossover with--dataset/ETHPy150Open mlavin/django-all-access/allaccess/tests/test_backends.py/AuthBackendTestCase.test_provider_name