vertx / io.vertx.kotlin.ext.auth.mongo / io.vertx.ext.auth.mongo.MongoAuth

Extensions for io.vertx.ext.auth.mongo.MongoAuth

insertUserAwait

suspend fun MongoAuth.insertUserAwait(username: String, password: String, roles: List<String>, permissions: List<String>): String

Insert a new user into mongo in the convenient way