Generates the Authenticator OTP code
- Source:
Parameters:
Name | Type | Description |
---|---|---|
secret |
string
|
your secret that is used to generate the token |
options |
object
|
additional options. |
Returns:
- Type:
-
number
OTP Code