Improved docs for getPin

This commit is contained in:
TheArrayser 2023-06-30 23:22:34 +02:00
parent 4acaf12869
commit 8357137ee8

View File

@ -57,7 +57,7 @@ public abstract class OTP {
/**
*
* @return s the current pin, as calculated by the counter or the current time, unless it
* @throws an OTPException
* @throws an OTPException, which is either thrown, if you somehow create an OTP with an invalid key, despite the checks in the instaciate method, or if your platform does not support the hashing algorithm you selected
*/
public abstract String getPin() throws OTPException;