We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 187cb7a commit 791fca2Copy full SHA for 791fca2
packages/auth/src/platform_browser/mfa/assertions/totp.ts
@@ -21,6 +21,13 @@
21
* @public
22
*/
23
export class TotpSecret {
24
+ /**
25
+ * Constructor for TotpSecret.
26
+ * @param secretKey - Shared secret key/seed used for enrolling in TOTP MFA and generating otps.
27
+ * @param hashingAlgorithm - Hashing algorithm used.
28
+ * @param codeLength - Length of the one-time passwords to be generated.
29
+ * @param codeIntervalSeconds - The interval (in seconds) when the OTP codes should change.
30
+ */
31
constructor(
32
readonly secretKey: string,
33
readonly hashingAlgorithm: string,
0 commit comments