Package io.vertx.ext.auth.otp
Class OtpKey
- java.lang.Object
-
- io.vertx.ext.auth.otp.OtpKey
-
public class OtpKey extends Object
Key of specific user.- Author:
- Dmitry Novikov
-
-
Constructor Summary
Constructors Constructor Description OtpKey()OtpKey(JsonObject json)OtpKey(OtpKey other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithm()StringgetKey()byte[]getKeyBytes()OtpKeysetAlgorithm(String algorithm)OtpKeysetKey(String key)JsonObjecttoJson()StringtoString()
-
-
-
Constructor Detail
-
OtpKey
public OtpKey()
-
OtpKey
public OtpKey(OtpKey other)
-
OtpKey
public OtpKey(JsonObject json)
-
-
Method Detail
-
getKey
public String getKey()
-
getKeyBytes
public byte[] getKeyBytes()
-
getAlgorithm
public String getAlgorithm()
-
toJson
public JsonObject toJson()
-
-