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

setUsernameField

open fun setUsernameField(fieldName: String): MongoAuth

Set the name of the field to be used for the username. Defaults to io.vertx.rxjava.ext.auth.mongo.MongoAuth

Parameters

fieldName - the name of the field to be used

Return
the current instance itself for fluent calls