otplib-core/hotpCheck

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

counter number

the OTP counter (usually it's an incremental count)

options object

options which was used to generate it originally

Returns:
Type:
boolean