commonMain.net.folivo.trixnity.client.verification.createVerificationModule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trixnity-client-jvm Show documentation
Show all versions of trixnity-client-jvm Show documentation
Multiplatform Kotlin SDK for matrix-protocol
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()
}
}