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
username
- the username to be set
password
- the passsword in clear text, will be adapted following the definitions of the defined io.vertx.ext.auth.mongo.HashStrategy
roles
- a list of roles to be set
permissions
- a list of permissions to be set
resultHandler
- the ResultHandler will be provided with the id of the generated record