@@ -46,7 +46,7 @@ export class TotpMultiFactorGenerator {
46
46
* the totp(Time-based One Time Password) second factor.
47
47
* This assertion is used to complete enrollment in TOTP second factor.
48
48
*
49
- * @param secret {@link TotpSecret }.
49
+ * @param secret A {@link TotpSecret} containing the shared secret key and other TOTP parameters .
50
50
* @param oneTimePassword One-time password from TOTP App.
51
51
* @returns A {@link TotpMultiFactorAssertion} which can be used with
52
52
* {@link MultiFactorUser.enroll}.
@@ -78,12 +78,12 @@ export class TotpMultiFactorGenerator {
78
78
}
79
79
80
80
/**
81
- * Returns a promise to {@link TOTPSecret } which contains the TOTP shared secret key and other parameters.
81
+ * Returns a promise to {@link TotpSecret } which contains the TOTP shared secret key and other parameters.
82
82
* Creates a TOTP secret as part of enrolling a TOTP second factor.
83
83
* Used for generating a QRCode URL or inputting into a TOTP App.
84
84
* This method uses the auth instance corresponding to the user in the multiFactorSession.
85
85
*
86
- * @param session A link to { @ MultiFactorSession }.
86
+ * @param session The { @link MultiFactorSession} that the user is part of .
87
87
* @returns A promise to {@link TotpSecret}.
88
88
*/
89
89
static async generateSecret (
@@ -184,7 +184,7 @@ export class TotpMultiFactorAssertionImpl
184
184
*/
185
185
export class TotpSecret {
186
186
/**
187
- * Shared secret key/seed used for enrolling in TOTP MFA and generating otps .
187
+ * Shared secret key/seed used for enrolling in TOTP MFA and generating OTPs .
188
188
*/
189
189
readonly secretKey : string ;
190
190
/**
0 commit comments