BreakSessionUseCaseImpl

internal class BreakSessionUseCaseImpl(transactionProvider: CryptoTransactionProvider, idMapper: IdMapper = MapperProvider.idMapper(), dispatchers: KaliumDispatcher = KaliumDispatcherImpl) : BreakSessionUseCase

Constructors

Link copied to clipboard
internal constructor(transactionProvider: CryptoTransactionProvider, idMapper: IdMapper = MapperProvider.idMapper(), dispatchers: KaliumDispatcher = KaliumDispatcherImpl)

Functions

Link copied to clipboard
open suspend operator override fun invoke(userId: UserId, clientId: ClientId): BreakSessionResult

Function that can be used to create a broken session with another user on purpose. This debug function can be used to test correct client behaviour in case of broken sessions. It should not be used by clients itself.