Add Enum for different OTP types
This commit is contained in:
parent
f4a28966d3
commit
a93e8c1a27
@ -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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user