update the OTPType enum
This commit is contained in:
parent
a93e8c1a27
commit
e67d371c19
@ -1,16 +1,16 @@
|
|||||||
package com.cringe_studios.cringe_authenticator_library;
|
package com.cringe_studios.cringe_authenticator_library;
|
||||||
|
|
||||||
public enum OTPType {
|
public enum OTPType {
|
||||||
HOTP(""),
|
HOTP("HMAC-based One-Time Password"),
|
||||||
TOTP("");
|
TOTP("Time-based One-Time Password");
|
||||||
|
|
||||||
String friendlyName;
|
private String friendlyName;
|
||||||
|
|
||||||
OTPType(String nFriendlyName){
|
private OTPType(String nFriendlyName){
|
||||||
friendlyName = nFriendlyName;
|
friendlyName = nFriendlyName;
|
||||||
}
|
}
|
||||||
|
|
||||||
String getFriendlyName() {
|
public String getFriendlyName() {
|
||||||
return friendlyName;
|
return friendlyName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user