Package io.vertx.mutiny.ext.auth
Class HashingStrategy
- java.lang.Object
-
- io.vertx.mutiny.ext.auth.HashingStrategy
-
public class HashingStrategy extends Object
Hashing Strategy manager. This class will load system provided hashing strategies and algorithms. NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<HashingStrategy>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description HashingStrategy(io.vertx.ext.auth.HashingStrategy delegate)
HashingStrategy(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
HashingAlgorithm
get(String id)
Deprecated.io.vertx.ext.auth.HashingStrategy
getDelegate()
String
hash(String id, Map<String,String> params, String salt, String password)
Deprecated.int
hashCode()
static HashingStrategy
load()
Deprecated.static HashingStrategy
newInstance(io.vertx.ext.auth.HashingStrategy arg)
HashingStrategy
put(String id, HashingAlgorithm algorithm)
Deprecated.String
toString()
boolean
verify(String hash, String password)
Deprecated.
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<HashingStrategy> __TYPE_ARG
-
-
Constructor Detail
-
HashingStrategy
public HashingStrategy(io.vertx.ext.auth.HashingStrategy delegate)
-
HashingStrategy
public HashingStrategy(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.auth.HashingStrategy getDelegate()
-
load
@Deprecated public static HashingStrategy load()
Deprecated.- Returns:
- a Hashing Strategy capable of hashing using the available algorithms
-
hash
@Deprecated public String hash(String id, Map<String,String> params, String salt, String password)
Deprecated.- Parameters:
id
- the algorithm idparams
- the algorithm specific parameterssalt
- the given saltpassword
- the given password- Returns:
- the hashed string
-
verify
@Deprecated public boolean verify(String hash, String password)
Deprecated.- Parameters:
hash
- the hash to verifypassword
- the password to test against- Returns:
- boolean
-
get
@Deprecated public HashingAlgorithm get(String id)
Deprecated.- Parameters:
id
- the algorithm id- Returns:
- the algorithm
-
put
@Deprecated public HashingStrategy put(String id, HashingAlgorithm algorithm)
Deprecated.- Parameters:
id
- the algorithm idalgorithm
- the implementation- Returns:
- self
-
newInstance
public static HashingStrategy newInstance(io.vertx.ext.auth.HashingStrategy arg)
-
-