From 23c3ae8ea6feda92f183d3bbfea96d9750405a8b Mon Sep 17 00:00:00 2001 From: TheArrayser Date: Wed, 28 Jun 2023 17:02:35 +0200 Subject: [PATCH] WARNING: INTERFACE CHANGE IN PREVIOUS COMMIT --- .../com/cringe_studios/cringe_authenticator_library/OTP.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cringe_studios/cringe_authenticator_library/OTP.java b/src/main/java/com/cringe_studios/cringe_authenticator_library/OTP.java index a211953..846db43 100644 --- a/src/main/java/com/cringe_studios/cringe_authenticator_library/OTP.java +++ b/src/main/java/com/cringe_studios/cringe_authenticator_library/OTP.java @@ -46,7 +46,7 @@ public abstract class OTP { * @param periodInSeconds OPTIONAL (default 30) for TOTP, the refresh rate of the TOTP * @param checksum OPTIONAL: appends a checksum digit to the end of the string * @return returns a String containing the OTP Digits and the optional checksum at the end - */ + */ public static OTP createNewOTP(OTPType type, String secret, OTPAlgorithm algorithm, int digits, long counter, long periodInSeconds, boolean checksum) throws OTPException{ if(type == null) return null; return type.instance(secret, algorithm, digits, counter, periodInSeconds, checksum);