During end-to-end testing it is sometimes necessary to increase (or decrease) the step size value to allow external scripts or busy humans to react.
Also some users might require a longer period of time, particularly those with accessibility issues.
This PR adds a step parameter into NewTOTP, which will default to 30 seconds if not sensible (test case included).
This is an API breaking change.
During end-to-end testing it is sometimes necessary to increase (or decrease) the step size value to allow external scripts or busy humans to react. Also some users might require a longer period of time, particularly those with accessibility issues. This PR adds a step parameter into NewTOTP, which will default to 30 seconds if not sensible (test case included). This is an API breaking change.