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 String
getAlgorithm()
String
getKey()
byte[]
getKeyBytes()
OtpKey
setAlgorithm(String algorithm)
OtpKey
setKey(String key)
JsonObject
toJson()
String
toString()
-
-
-
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()
-
-