Skip to content

Commit 7a66965

Browse files
committed
fix outdated comments
1 parent 2f80f00 commit 7a66965

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/components/MultifactorAuthentication/Context/usePromptContent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function usePromptContent(promptType: MultifactorAuthenticationPromptType): Prom
4747
}
4848
checkCredentials();
4949
return () => {
50-
// Guard against race condition in case where multifactorAuthenticationPublicKeyIDs gets updated in onyx while a KeyStore.get call is in-flight
50+
// Guard against race condition in case where multifactorAuthenticationPublicKeyIDs gets updated in onyx while the call to retrieve the key from device is in-flight
5151
ignore = true;
5252
};
5353
}, [areLocalCredentialsKnownToServer]);

src/libs/MultifactorAuthentication/Passkeys/WebAuthn.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import Base64URL from '@src/utils/Base64URL';
1010

1111
/**
1212
* Passkey authentication type metadata.
13-
* Not part of SecureStore — passkeys bypass the native secure store entirely.
1413
*/
1514
const PASSKEY_AUTH_TYPE = {
1615
NAME: 'Passkey',

src/libs/MultifactorAuthentication/shared/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Shared type definitions for multifactor authentication operations.
3-
* Technology-agnostic types used across NativeBiometrics and Passkeys.
3+
* Technology-agnostic types used across NativeBiometricsHSM and Passkeys.
44
*/
55
import type {ValueOf} from 'type-fest';
66
import type {MultifactorAuthenticationScenario, MultifactorAuthenticationScenarioAdditionalParams} from '@components/MultifactorAuthentication/config/types';

tests/unit/components/MultifactorAuthentication/processing.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('MultifactorAuthentication processing', () => {
1717
});
1818
});
1919

20-
// Given a keyInfo object with biometric type (NativeBiometrics)
20+
// Given a keyInfo object with biometric type (HSM)
2121
// When processRegistration is called
2222
// Then it should forward keyInfo to registerAuthenticationKey
2323
it('should call registerAuthenticationKey with the provided keyInfo', async () => {

0 commit comments

Comments
 (0)