Introduce a user session manager (#6295)

This commit is contained in:
Mauro
2026-10-09 14:07:39 +02:00
committed by GitHub
parent 65bab49f39
commit 60db364436
26 changed files with 594 additions and 66 deletions
@@ -0,0 +1,17 @@
//
// Copyright 2026 Element Creations Ltd.
//
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
// Please see LICENSE files in the repository root for full details.
//
/// What a flow can know about a signed in account, without access to its session.
struct UserSessionDetails {
let userID: String
}
extension UserSessionDetails {
init(userSession: UserSessionProtocol) {
userID = userSession.clientProxy.userID
}
}