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.
collectionName
- The property name to be used to set the name of the collection inside the config.
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.