otplib-authenticator/check

Checks the provided OTP token against system generated token

Source:
Parameters:
Name Type Description
token string

the OTP token to check

secret string

your secret that is used to generate the token

options object

options which was used to generate it originally

Returns:
Type:
boolean