Skip to content

Commit a507d93

Browse files
Apply suggestions from code review
Co-authored-by: Kevin Cheung <kevinthecheung@users.noreply.github.com>
1 parent 81c3177 commit a507d93

File tree

1 file changed

+3
-3
lines changed
  • packages/auth/src/mfa/assertions

1 file changed

+3
-3
lines changed

packages/auth/src/mfa/assertions/totp.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class TotpMultiFactorGenerator {
5959
}
6060

6161
/**
62-
* Provides a {@link TotpMultiFactorAssertion} to confirm ownership of the totp second factor.
62+
* Provides a {@link TotpMultiFactorAssertion} to confirm ownership of the TOTP second factor.
6363
* This assertion is used to complete signIn with TOTP as the second factor.
6464
*
6565
* @param enrollmentId identifies the enrolled TOTP second factor.
@@ -80,7 +80,7 @@ export class TotpMultiFactorGenerator {
8080
/**
8181
* Returns a promise to {@link TotpSecret} which contains the TOTP shared secret key and other parameters.
8282
* Creates a TOTP secret as part of enrolling a TOTP second factor.
83-
* Used for generating a QRCode URL or inputting into a TOTP App.
83+
* Used for generating a QR code URL or inputting into a TOTP app.
8484
* This method uses the auth instance corresponding to the user in the multiFactorSession.
8585
*
8686
* @param session The {@link MultiFactorSession} that the user is part of.
@@ -200,7 +200,7 @@ export class TotpSecret {
200200
*/
201201
readonly codeIntervalSeconds: number;
202202
/**
203-
* The timestamp(UTC string) by which TOTP enrollment should be completed.
203+
* The timestamp (UTC string) by which TOTP enrollment should be completed.
204204
*/
205205
// This can be used by callers to show a countdown of when to enter OTP code by.
206206
readonly enrollmentCompletionDeadline: string;

0 commit comments

Comments
 (0)