update the OTPType enum

This commit is contained in:
TheArrayser 2023-06-16 22:15:32 +02:00
parent a93e8c1a27
commit e67d371c19

View File

@ -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;
}
}