Package | Description |
---|---|
io.vertx.reactivex.ext.auth.mongo |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<MongoAuth> |
MongoAuth.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
static MongoAuth |
MongoAuth.create(MongoClient mongoClient,
JsonObject config)
Creates an instance of MongoAuth by using the given and configuration object.
|
static MongoAuth |
MongoAuth.newInstance(MongoAuth arg) |
MongoAuth |
MongoAuth.setCollectionName(String collectionName)
Set the name of the collection to be used.
|
MongoAuth |
MongoAuth.setHashAlgorithm(HashAlgorithm hashAlgorithm)
The Hash Algorithm which is used by the current instance
|
MongoAuth |
MongoAuth.setHashStrategy(HashStrategy hashStrategy)
The HashStrategy which is used by the current instance
|
MongoAuth |
MongoAuth.setPasswordCredentialField(String fieldName)
Set the name of the field to be used as property for the password of credentials in the method
AuthProvider.authenticate(io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.ext.auth.User>>) . |
MongoAuth |
MongoAuth.setPasswordField(String fieldName)
Set the name of the field to be used for the password Defaults to
MongoAuth |
MongoAuth |
MongoAuth.setPermissionField(String fieldName)
Set the name of the field to be used for the permissions.
|
MongoAuth |
MongoAuth.setRoleField(String fieldName)
Set the name of the field to be used for the roles.
|
MongoAuth |
MongoAuth.setSaltField(String fieldName)
Set the name of the field to be used for the salt.
|
MongoAuth |
MongoAuth.setUsernameCredentialField(String fieldName)
Set the name of the field to be used as property for the username in the method
AuthProvider.authenticate(io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.ext.auth.User>>) . |
MongoAuth |
MongoAuth.setUsernameField(String fieldName)
Set the name of the field to be used for the username.
|
Copyright © 2023 Eclipse. All rights reserved.