UNPKG

@vs-org/authenticator

Version:

VS authenticator package can generate TOTP (RFC6238) for 2FA, and also provide secret and recovery codes for 2FA setup

13 lines (12 loc) 304 B
export default class TimeUtils { /** * * @returns {string} - returns UTC time string */ static getCurrentUTCTime: () => string; /** * * @returns {number} - returns seconds passed from 1st Jan 1970 in UTC */ static getCurrentUTCTimeInSeconds: () => number; }