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