Exemple #1
0
class PipelineSessionStore(RedisSessionStore):
    uid = redis_property("uid")
    provider_model_id = redis_property("provider_model_id")
    provider_key = redis_property("provider_key")
    org_id = redis_property("org_id")
    signature = redis_property("signature")
    step_index = redis_property("step_index")
    config = redis_property("config")
    data = redis_property("data")
Exemple #2
0
class AuthHelperSessionStore(PipelineSessionStore):
    redis_namespace = "auth"

    @property
    def session_key(self):
        return "auth_key"

    flow = redis_property("flow")

    def mark_session(self):
        super().mark_session()
        self.request.session.modified = True
Exemple #3
0
 class TestRedisSessionStore(RedisSessionStore):
     some_value = redis_property("some_value")