All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.net.folivo.trixnity.client.verification.createVerificationModule.kt Maven / Gradle / Ivy

There is a newer version: 4.7.1
Show newest version
package net.folivo.trixnity.client.verification

import net.folivo.trixnity.core.EventHandler
import org.koin.core.qualifier.named
import org.koin.dsl.bind
import org.koin.dsl.module

fun createVerificationModule() = module {
    single {
        VerificationServiceImpl(
            userInfo = get(),
            api = get(),
            keyStore = get(),
            globalAccountDataStore = get(),
            olmDecrypter = get(),
            olmEncryptionService = get(),
            roomService = get(),
            keyService = get(),
            keyTrustService = get(),
            keySecretService = get(),
            currentSyncState = get(),
            clock = get(),
        )
    }.apply {
        bind()
        bind()
        named()
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy