Add SignedOutNode, to handle session behind deleted from outside (no support for soft-logout)

This commit is contained in:
Benoit Marty 2023-10-09 19:46:42 +02:00 committed by Benoit Marty
parent 124d6bf95f
commit 266f93cc28
12 changed files with 479 additions and 12 deletions

View file

@ -32,7 +32,10 @@ class InMemorySessionStore : SessionStore {
if (it == null) {
LoggedInState.NotLoggedIn
} else {
LoggedInState.LoggedIn(it.isTokenValid)
LoggedInState.LoggedIn(
sessionId = it.userId,
isTokenValid = it.isTokenValid,
)
}
}
}