open class HashStrategy
Determines how the hashing is computed in the implementation You can implement this to provide a different hashing strategy to the default. NOTE: This class has been automatically generated from the io.vertx.ext.auth.mongo.HashStrategy non RX-ified interface using Vert.x codegen.
HashStrategy(delegate: HashStrategy) |
static val __TYPE_ARG: TypeArg<HashStrategy> |
open fun computeHash(password: String, user: User): String
Compute the hashed password given the unhashed password and the user |
|
open fun equals(other: Any?): Boolean |
|
open fun getDelegate(): HashStrategy |
|
open fun getSalt(user: User): String
Retrieve the salt. The source of the salt can be the external salt or the propriate column of the given user, depending on the defined io.vertx.rxjava.ext.auth.mongo.HashSaltStyle |
|
open fun getSaltStyle(): HashSaltStyle
Get the defined io.vertx.rxjava.ext.auth.mongo.HashSaltStyle of the current instance |
|
open fun getStoredPwd(user: User): String
Retrieve the password from the user, or as clear text or as hashed version, depending on the definition |
|
open fun hashCode(): Int |
|
open static fun newInstance(arg: HashStrategy): HashStrategy |
|
open fun setAlgorithm(algorithm: HashAlgorithm): Unit
Allows the selection of the hashing algorithm. |
|
open fun setExternalSalt(salt: String): Unit
Set an external salt. This method should be used in case of |
|
open fun setSaltStyle(saltStyle: HashSaltStyle): Unit
Set the saltstyle as defined by io.vertx.rxjava.ext.auth.mongo.HashSaltStyle. |
|
open fun toString(): String |