fun mongoAuthorizationOptionsOf(collectionName: String? = null, permissionField: String? = null, roleField: String? = null, usernameField: String? = null): MongoAuthorizationOptions
A function providing a DSL for building io.vertx.ext.auth.mongo.MongoAuthorizationOptions objects.
Options configuring Mongo authentication.
collectionName
- The property name to be used to set the name of the collection inside the config.
permissionField
- The property name to be used to set the name of the field, where the permissions are stored inside.
roleField
- The property name to be used to set the name of the field, where the roles are stored inside.
usernameField
- The property name to be used to set the name of the field, where the username is stored inside.