From 6f5ebc20836ab935a1b5308348f9d083827ec623 Mon Sep 17 00:00:00 2001 From: TaiNguyen Date: Mon, 29 Jan 2024 18:46:59 +0700 Subject: [PATCH] add support for authenticator app --- packages/openlogin-utils/src/interfaces.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/openlogin-utils/src/interfaces.ts b/packages/openlogin-utils/src/interfaces.ts index 5fd01331..1090eb00 100644 --- a/packages/openlogin-utils/src/interfaces.ts +++ b/packages/openlogin-utils/src/interfaces.ts @@ -530,6 +530,7 @@ export const MFA_FACTOR = { BACKUP_SHARE: "backUpShareFactor", SOCIAL_BACKUP: "socialBackupFactor", PASSWORD: "passwordFactor", + AUTHENTICATOR: "authenticatorFactor", } as const; export type MFA_FACTOR_TYPE = (typeof MFA_FACTOR)[keyof typeof MFA_FACTOR]; @@ -676,7 +677,7 @@ export type OpenLoginOptions = { /** * This parameter will be used to enable mfa factors and set priority on UI listing. * List of factors available - * backUpShareFactor | socialFactor | passwordFactor + * backUpShareFactor | socialFactor | passwordFactor | authenticatorFactor * @defaultValue false */ mfaSettings?: MfaSettings;