Soft logout removal (#672)

* Remove isSoftLogout from everywhere except the client delegate
- bump the RustSDK to v1.0.43
- cleanup the app coordinator state machine and login/logout flows

* Merge `succeededSigningIn` and `succeededRestoringSession` into `createdUserSession` in order to simplify the logic
This commit is contained in:
Stefan Ceriu
2023-03-06 14:58:50 +02:00
committed by GitHub
parent 1fe2e7e882
commit e4117e3205
13 changed files with 34 additions and 122 deletions
@@ -69,20 +69,4 @@ final class UserSessionTests: XCTestCase {
controller.callbacks.send(.finished)
waitForExpectations(timeout: 1.0)
}
func test_whenUserSessionReceivesUpdatedRestoreToken_updateRestoreTokenNeededEventReceived() throws {
let expectation = expectation(description: "UpdatedRestoreToken expectation")
userSession.callbacks.sink { callback in
switch callback {
case .updateRestoreTokenNeeded:
expectation.fulfill()
default:
break
}
}
.store(in: &cancellables)
clientProxy.callbacks.send(.updatedRestoreToken)
waitForExpectations(timeout: 1.0)
}
}