otp-io
Version:
🕖 Typed library to work 2fa via Google Authenticator/Time-based TOTP/Hmac-based HOTP
1 lines • 815 B
JavaScript
;const key=require('./key.js'),key_actions=require('./key.actions.js'),hmac=require('./crypto/hmac.js'),hotp=require('./hotp.js'),hotp_class=require('./hotp.class.js'),hotp_options=require('./hotp.options.js'),totp=require('./totp.js'),totp_class=require('./totp.class.js'),totp_options=require('./totp.options.js'),uri=require('./uri.js');exports.SecretKey=key.SecretKey;exports.exportKey=key_actions.exportKey;exports.generateKey=key_actions.generateKey;exports.importKey=key_actions.importKey;exports.HmacAlgorithm=hmac.HmacAlgorithm;exports.hotp=hotp.hotp;exports.HOTP=hotp_class.HOTP;exports.getDefaultHOTPOptions=hotp_options.getDefaultHOTPOptions;exports.totp=totp.totp;exports.TOTP=totp_class.TOTP;exports.getDefaultTOTPOptions=totp_options.getDefaultTOTPOptions;exports.getKeyUri=uri.getKeyUri;