Add Enum for different OTP types

This commit is contained in:
TheArrayser 2023-06-16 22:14:56 +02:00
parent f4a28966d3
commit a93e8c1a27
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
package com.cringe_studios.cringe_authenticator_library;
public enum OTPType {
HOTP(""),
TOTP("");
String friendlyName;
OTPType(String nFriendlyName){
friendlyName = nFriendlyName;
}
String getFriendlyName() {
return friendlyName;
}
}