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

mongoAuthenticationOptionsOf

fun mongoAuthenticationOptionsOf(collectionName: String? = null, passwordCredentialField: String? = null, passwordField: String? = null, usernameCredentialField: String? = null, usernameField: String? = null): MongoAuthenticationOptions

A function providing a DSL for building io.vertx.ext.auth.mongo.MongoAuthenticationOptions objects.

Options configuring Mongo authentication.

Parameters

collectionName - The property name to be used to set the name of the collection inside the config.

passwordCredentialField -

passwordField - The property name to be used to set the name of the field, where the password is stored inside

usernameCredentialField - The property name to be used to set the name of the field, where the username for the credentials is stored inside.

usernameField - The property name to be used to set the name of the field, where the username is stored inside.