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

setUsernameField

abstract fun setUsernameField(fieldName: String): MongoAuth

Set the name of the field to be used for the username. Defaults to #DEFAULT_USERNAME_FIELD

Parameters

fieldName - the name of the field to be used

Return
the current instance itself for fluent calls