ApplyCryptoStateUseCaseImpl
internal class ApplyCryptoStateUseCaseImpl(userId: UserId, rootPathsProvider: RootPathsProvider, kaliumFileSystem: KaliumFileSystem, securityHelper: SecurityHelper, clientRepository: ClientRepository, eventRepository: EventRepository, dispatcher: KaliumDispatcher = KaliumDispatcherImpl) : ApplyCryptoStateUseCase
Constructors
Link copied to clipboard
constructor(userId: UserId, rootPathsProvider: RootPathsProvider, kaliumFileSystem: KaliumFileSystem, securityHelper: SecurityHelper, clientRepository: ClientRepository, eventRepository: EventRepository, dispatcher: KaliumDispatcher = KaliumDispatcherImpl)
Functions
Link copied to clipboard
open suspend operator override fun invoke(extractResult: ExtractCryptoStateResult.Success): ApplyCryptoStateResult
Applies the crypto state from the extracted backup.