-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the epoch Parameter #2
Comments
Sure just send me a PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @olsio and thanks for creating otp-client!
In
index.test.js
you're passingepoch
as an option:I was wondering if you consider the
epoch
parameter as public API. Especially for writing tests in an application it's really helpful to create a token in a specific point in time. Otherwise it's only possible to test for an expected output format.Unfortunately this parameter is not documented. By it's name and the code example I imply it to be Unix time in milliseconds.
Would you consider adding this part to the documentation or accepting pull requests for it?
The text was updated successfully, but these errors were encountered: