@auth0/auth0-acul-react 1.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +128 -0
- package/dist/export/getting-started.d.ts +336 -0
- package/dist/export/hooks.d.ts +1 -0
- package/dist/export/index.d.ts +6 -0
- package/dist/export/screens.d.ts +76 -0
- package/dist/hooks/common/auth0-themes.d.ts +48 -0
- package/dist/hooks/common/auth0-themes.js +2 -0
- package/dist/hooks/common/auth0-themes.js.map +1 -0
- package/dist/hooks/common/current-screen.d.ts +75 -0
- package/dist/hooks/common/current-screen.js +2 -0
- package/dist/hooks/common/current-screen.js.map +1 -0
- package/dist/hooks/common/errors.d.ts +103 -0
- package/dist/hooks/common/errors.js +2 -0
- package/dist/hooks/common/errors.js.map +1 -0
- package/dist/hooks/context/index.d.ts +120 -0
- package/dist/hooks/context/index.js +2 -0
- package/dist/hooks/context/index.js.map +1 -0
- package/dist/hooks/index.d.ts +10 -0
- package/dist/hooks/utility/login-identifiers.d.ts +26 -0
- package/dist/hooks/utility/login-identifiers.js +2 -0
- package/dist/hooks/utility/login-identifiers.js.map +1 -0
- package/dist/hooks/utility/polling-manager.d.ts +93 -0
- package/dist/hooks/utility/polling-manager.js +2 -0
- package/dist/hooks/utility/polling-manager.js.map +1 -0
- package/dist/hooks/utility/resend-manager.d.ts +74 -0
- package/dist/hooks/utility/resend-manager.js +2 -0
- package/dist/hooks/utility/resend-manager.js.map +1 -0
- package/dist/hooks/utility/signup-identifiers.d.ts +34 -0
- package/dist/hooks/utility/signup-identifiers.js +2 -0
- package/dist/hooks/utility/signup-identifiers.js.map +1 -0
- package/dist/hooks/utility/validate-password.d.ts +36 -0
- package/dist/hooks/utility/validate-password.js +2 -0
- package/dist/hooks/utility/validate-password.js.map +1 -0
- package/dist/hooks/utility/validate-username.d.ts +58 -0
- package/dist/hooks/utility/validate-username.js +2 -0
- package/dist/hooks/utility/validate-username.js.map +1 -0
- package/dist/index.d.ts +78 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/screens/accept-invitation.d.ts +5 -0
- package/dist/screens/accept-invitation.js +2 -0
- package/dist/screens/accept-invitation.js.map +1 -0
- package/dist/screens/consent.d.ts +6 -0
- package/dist/screens/consent.js +2 -0
- package/dist/screens/consent.js.map +1 -0
- package/dist/screens/customized-consent.d.ts +6 -0
- package/dist/screens/customized-consent.js +2 -0
- package/dist/screens/customized-consent.js.map +1 -0
- package/dist/screens/device-code-activation-allowed.d.ts +4 -0
- package/dist/screens/device-code-activation-allowed.js +2 -0
- package/dist/screens/device-code-activation-allowed.js.map +1 -0
- package/dist/screens/device-code-activation-denied.d.ts +4 -0
- package/dist/screens/device-code-activation-denied.js +2 -0
- package/dist/screens/device-code-activation-denied.js.map +1 -0
- package/dist/screens/device-code-activation.d.ts +5 -0
- package/dist/screens/device-code-activation.js +2 -0
- package/dist/screens/device-code-activation.js.map +1 -0
- package/dist/screens/device-code-confirmation.d.ts +6 -0
- package/dist/screens/device-code-confirmation.js +2 -0
- package/dist/screens/device-code-confirmation.js.map +1 -0
- package/dist/screens/email-identifier-challenge.d.ts +8 -0
- package/dist/screens/email-identifier-challenge.js +2 -0
- package/dist/screens/email-identifier-challenge.js.map +1 -0
- package/dist/screens/email-otp-challenge.d.ts +7 -0
- package/dist/screens/email-otp-challenge.js +2 -0
- package/dist/screens/email-otp-challenge.js.map +1 -0
- package/dist/screens/email-verification-result.d.ts +4 -0
- package/dist/screens/email-verification-result.js +2 -0
- package/dist/screens/email-verification-result.js.map +1 -0
- package/dist/screens/interstitial-captcha.d.ts +4 -0
- package/dist/screens/interstitial-captcha.js +2 -0
- package/dist/screens/interstitial-captcha.js.map +1 -0
- package/dist/screens/login-email-verification.d.ts +7 -0
- package/dist/screens/login-email-verification.js +2 -0
- package/dist/screens/login-email-verification.js.map +1 -0
- package/dist/screens/login-id.d.ts +9 -0
- package/dist/screens/login-id.js +2 -0
- package/dist/screens/login-id.js.map +1 -0
- package/dist/screens/login-password.d.ts +6 -0
- package/dist/screens/login-password.js +2 -0
- package/dist/screens/login-password.js.map +1 -0
- package/dist/screens/login-passwordless-email-code.d.ts +7 -0
- package/dist/screens/login-passwordless-email-code.js +2 -0
- package/dist/screens/login-passwordless-email-code.js.map +1 -0
- package/dist/screens/login-passwordless-sms-otp.d.ts +7 -0
- package/dist/screens/login-passwordless-sms-otp.js +2 -0
- package/dist/screens/login-passwordless-sms-otp.js.map +1 -0
- package/dist/screens/login.d.ts +8 -0
- package/dist/screens/login.js +2 -0
- package/dist/screens/login.js.map +1 -0
- package/dist/screens/logout-aborted.d.ts +4 -0
- package/dist/screens/logout-aborted.js +2 -0
- package/dist/screens/logout-aborted.js.map +1 -0
- package/dist/screens/logout-complete.d.ts +4 -0
- package/dist/screens/logout-complete.js +2 -0
- package/dist/screens/logout-complete.js.map +1 -0
- package/dist/screens/logout.d.ts +5 -0
- package/dist/screens/logout.js +2 -0
- package/dist/screens/logout.js.map +1 -0
- package/dist/screens/mfa-begin-enroll-options.d.ts +5 -0
- package/dist/screens/mfa-begin-enroll-options.js +2 -0
- package/dist/screens/mfa-begin-enroll-options.js.map +1 -0
- package/dist/screens/mfa-country-codes.d.ts +6 -0
- package/dist/screens/mfa-country-codes.js +2 -0
- package/dist/screens/mfa-country-codes.js.map +1 -0
- package/dist/screens/mfa-detect-browser-capabilities.d.ts +5 -0
- package/dist/screens/mfa-detect-browser-capabilities.js +2 -0
- package/dist/screens/mfa-detect-browser-capabilities.js.map +1 -0
- package/dist/screens/mfa-email-challenge.d.ts +8 -0
- package/dist/screens/mfa-email-challenge.js +2 -0
- package/dist/screens/mfa-email-challenge.js.map +1 -0
- package/dist/screens/mfa-email-list.d.ts +6 -0
- package/dist/screens/mfa-email-list.js +2 -0
- package/dist/screens/mfa-email-list.js.map +1 -0
- package/dist/screens/mfa-enroll-result.d.ts +4 -0
- package/dist/screens/mfa-enroll-result.js +2 -0
- package/dist/screens/mfa-enroll-result.js.map +1 -0
- package/dist/screens/mfa-login-options.d.ts +5 -0
- package/dist/screens/mfa-login-options.js +2 -0
- package/dist/screens/mfa-login-options.js.map +1 -0
- package/dist/screens/mfa-otp-challenge.d.ts +6 -0
- package/dist/screens/mfa-otp-challenge.js +2 -0
- package/dist/screens/mfa-otp-challenge.js.map +1 -0
- package/dist/screens/mfa-otp-enrollment-code.d.ts +6 -0
- package/dist/screens/mfa-otp-enrollment-code.js +2 -0
- package/dist/screens/mfa-otp-enrollment-code.js.map +1 -0
- package/dist/screens/mfa-otp-enrollment-qr.d.ts +7 -0
- package/dist/screens/mfa-otp-enrollment-qr.js +2 -0
- package/dist/screens/mfa-otp-enrollment-qr.js.map +1 -0
- package/dist/screens/mfa-phone-challenge.d.ts +7 -0
- package/dist/screens/mfa-phone-challenge.js +2 -0
- package/dist/screens/mfa-phone-challenge.js.map +1 -0
- package/dist/screens/mfa-phone-enrollment.d.ts +7 -0
- package/dist/screens/mfa-phone-enrollment.js +2 -0
- package/dist/screens/mfa-phone-enrollment.js.map +1 -0
- package/dist/screens/mfa-push-challenge-push.d.ts +9 -0
- package/dist/screens/mfa-push-challenge-push.js +2 -0
- package/dist/screens/mfa-push-challenge-push.js.map +1 -0
- package/dist/screens/mfa-push-enrollment-qr.d.ts +5 -0
- package/dist/screens/mfa-push-enrollment-qr.js +2 -0
- package/dist/screens/mfa-push-enrollment-qr.js.map +1 -0
- package/dist/screens/mfa-push-list.d.ts +6 -0
- package/dist/screens/mfa-push-list.js +2 -0
- package/dist/screens/mfa-push-list.js.map +1 -0
- package/dist/screens/mfa-push-welcome.d.ts +6 -0
- package/dist/screens/mfa-push-welcome.js +2 -0
- package/dist/screens/mfa-push-welcome.js.map +1 -0
- package/dist/screens/mfa-recovery-code-challenge-new-code.d.ts +5 -0
- package/dist/screens/mfa-recovery-code-challenge-new-code.js +2 -0
- package/dist/screens/mfa-recovery-code-challenge-new-code.js.map +1 -0
- package/dist/screens/mfa-recovery-code-challenge.d.ts +6 -0
- package/dist/screens/mfa-recovery-code-challenge.js +2 -0
- package/dist/screens/mfa-recovery-code-challenge.js.map +1 -0
- package/dist/screens/mfa-recovery-code-enrollment.d.ts +5 -0
- package/dist/screens/mfa-recovery-code-enrollment.js +2 -0
- package/dist/screens/mfa-recovery-code-enrollment.js.map +1 -0
- package/dist/screens/mfa-sms-challenge.d.ts +10 -0
- package/dist/screens/mfa-sms-challenge.js +2 -0
- package/dist/screens/mfa-sms-challenge.js.map +1 -0
- package/dist/screens/mfa-sms-enrollment.d.ts +10 -0
- package/dist/screens/mfa-sms-enrollment.js +2 -0
- package/dist/screens/mfa-sms-enrollment.js.map +1 -0
- package/dist/screens/mfa-sms-list.d.ts +6 -0
- package/dist/screens/mfa-sms-list.js +2 -0
- package/dist/screens/mfa-sms-list.js.map +1 -0
- package/dist/screens/mfa-voice-challenge.d.ts +10 -0
- package/dist/screens/mfa-voice-challenge.js +2 -0
- package/dist/screens/mfa-voice-challenge.js.map +1 -0
- package/dist/screens/mfa-voice-enrollment.d.ts +7 -0
- package/dist/screens/mfa-voice-enrollment.js +2 -0
- package/dist/screens/mfa-voice-enrollment.js.map +1 -0
- package/dist/screens/mfa-webauthn-change-key-nickname.d.ts +5 -0
- package/dist/screens/mfa-webauthn-change-key-nickname.js +2 -0
- package/dist/screens/mfa-webauthn-change-key-nickname.js.map +1 -0
- package/dist/screens/mfa-webauthn-enrollment-success.d.ts +5 -0
- package/dist/screens/mfa-webauthn-enrollment-success.js +2 -0
- package/dist/screens/mfa-webauthn-enrollment-success.js.map +1 -0
- package/dist/screens/mfa-webauthn-error.d.ts +8 -0
- package/dist/screens/mfa-webauthn-error.js +2 -0
- package/dist/screens/mfa-webauthn-error.js.map +1 -0
- package/dist/screens/mfa-webauthn-not-available-error.d.ts +5 -0
- package/dist/screens/mfa-webauthn-not-available-error.js +2 -0
- package/dist/screens/mfa-webauthn-not-available-error.js.map +1 -0
- package/dist/screens/mfa-webauthn-platform-challenge.d.ts +7 -0
- package/dist/screens/mfa-webauthn-platform-challenge.js +2 -0
- package/dist/screens/mfa-webauthn-platform-challenge.js.map +1 -0
- package/dist/screens/mfa-webauthn-platform-enrollment.d.ts +8 -0
- package/dist/screens/mfa-webauthn-platform-enrollment.js +2 -0
- package/dist/screens/mfa-webauthn-platform-enrollment.js.map +1 -0
- package/dist/screens/mfa-webauthn-roaming-challenge.d.ts +7 -0
- package/dist/screens/mfa-webauthn-roaming-challenge.js +2 -0
- package/dist/screens/mfa-webauthn-roaming-challenge.js.map +1 -0
- package/dist/screens/mfa-webauthn-roaming-enrollment.d.ts +7 -0
- package/dist/screens/mfa-webauthn-roaming-enrollment.js +2 -0
- package/dist/screens/mfa-webauthn-roaming-enrollment.js.map +1 -0
- package/dist/screens/organization-picker.d.ts +9 -0
- package/dist/screens/organization-picker.js +2 -0
- package/dist/screens/organization-picker.js.map +1 -0
- package/dist/screens/organization-selection.d.ts +5 -0
- package/dist/screens/organization-selection.js +2 -0
- package/dist/screens/organization-selection.js.map +1 -0
- package/dist/screens/passkey-enrollment-local.d.ts +6 -0
- package/dist/screens/passkey-enrollment-local.js +2 -0
- package/dist/screens/passkey-enrollment-local.js.map +1 -0
- package/dist/screens/passkey-enrollment.d.ts +6 -0
- package/dist/screens/passkey-enrollment.js +2 -0
- package/dist/screens/passkey-enrollment.js.map +1 -0
- package/dist/screens/phone-identifier-challenge.d.ts +8 -0
- package/dist/screens/phone-identifier-challenge.js +2 -0
- package/dist/screens/phone-identifier-challenge.js.map +1 -0
- package/dist/screens/phone-identifier-enrollment.d.ts +6 -0
- package/dist/screens/phone-identifier-enrollment.js +2 -0
- package/dist/screens/phone-identifier-enrollment.js.map +1 -0
- package/dist/screens/redeem-ticket.d.ts +5 -0
- package/dist/screens/redeem-ticket.js +2 -0
- package/dist/screens/redeem-ticket.js.map +1 -0
- package/dist/screens/reset-password-email.d.ts +5 -0
- package/dist/screens/reset-password-email.js +2 -0
- package/dist/screens/reset-password-email.js.map +1 -0
- package/dist/screens/reset-password-error.d.ts +4 -0
- package/dist/screens/reset-password-error.js +2 -0
- package/dist/screens/reset-password-error.js.map +1 -0
- package/dist/screens/reset-password-mfa-email-challenge.d.ts +8 -0
- package/dist/screens/reset-password-mfa-email-challenge.js +2 -0
- package/dist/screens/reset-password-mfa-email-challenge.js.map +1 -0
- package/dist/screens/reset-password-mfa-otp-challenge.d.ts +6 -0
- package/dist/screens/reset-password-mfa-otp-challenge.js +2 -0
- package/dist/screens/reset-password-mfa-otp-challenge.js.map +1 -0
- package/dist/screens/reset-password-mfa-phone-challenge.d.ts +6 -0
- package/dist/screens/reset-password-mfa-phone-challenge.js +2 -0
- package/dist/screens/reset-password-mfa-phone-challenge.js.map +1 -0
- package/dist/screens/reset-password-mfa-push-challenge-push.d.ts +9 -0
- package/dist/screens/reset-password-mfa-push-challenge-push.js +2 -0
- package/dist/screens/reset-password-mfa-push-challenge-push.js.map +1 -0
- package/dist/screens/reset-password-mfa-recovery-code-challenge.d.ts +6 -0
- package/dist/screens/reset-password-mfa-recovery-code-challenge.js +2 -0
- package/dist/screens/reset-password-mfa-recovery-code-challenge.js.map +1 -0
- package/dist/screens/reset-password-mfa-sms-challenge.d.ts +9 -0
- package/dist/screens/reset-password-mfa-sms-challenge.js +2 -0
- package/dist/screens/reset-password-mfa-sms-challenge.js.map +1 -0
- package/dist/screens/reset-password-mfa-voice-challenge.d.ts +9 -0
- package/dist/screens/reset-password-mfa-voice-challenge.js +2 -0
- package/dist/screens/reset-password-mfa-voice-challenge.js.map +1 -0
- package/dist/screens/reset-password-mfa-webauthn-platform-challenge.d.ts +7 -0
- package/dist/screens/reset-password-mfa-webauthn-platform-challenge.js +2 -0
- package/dist/screens/reset-password-mfa-webauthn-platform-challenge.js.map +1 -0
- package/dist/screens/reset-password-mfa-webauthn-roaming-challenge.d.ts +7 -0
- package/dist/screens/reset-password-mfa-webauthn-roaming-challenge.js +2 -0
- package/dist/screens/reset-password-mfa-webauthn-roaming-challenge.js.map +1 -0
- package/dist/screens/reset-password-request.d.ts +7 -0
- package/dist/screens/reset-password-request.js +2 -0
- package/dist/screens/reset-password-request.js.map +1 -0
- package/dist/screens/reset-password-success.d.ts +4 -0
- package/dist/screens/reset-password-success.js +2 -0
- package/dist/screens/reset-password-success.js.map +1 -0
- package/dist/screens/reset-password.d.ts +6 -0
- package/dist/screens/reset-password.js +2 -0
- package/dist/screens/reset-password.js.map +1 -0
- package/dist/screens/signup-id.d.ts +9 -0
- package/dist/screens/signup-id.js +2 -0
- package/dist/screens/signup-id.js.map +1 -0
- package/dist/screens/signup-password.d.ts +7 -0
- package/dist/screens/signup-password.js +2 -0
- package/dist/screens/signup-password.js.map +1 -0
- package/dist/screens/signup.d.ts +10 -0
- package/dist/screens/signup.js +2 -0
- package/dist/screens/signup.js.map +1 -0
- package/dist/state/error-store.d.ts +47 -0
- package/dist/state/error-store.js +2 -0
- package/dist/state/error-store.js.map +1 -0
- package/dist/state/instance-store.d.ts +19 -0
- package/dist/state/instance-store.js +2 -0
- package/dist/state/instance-store.js.map +1 -0
- package/dist/telemetry.d.ts +8 -0
- package/dist/telemetry.js +2 -0
- package/dist/telemetry.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +61 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-push-list.js","sources":["../../src/screens/mfa-push-list.tsx"],"sourcesContent":["import MfaPushList from '@auth0/auth0-acul-js/mfa-push-list';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPushListMembers,\n SelectMfaPushDeviceOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-push-list';\n\n// Register the singleton instance of MfaPushList\nconst instance = registerScreen<MfaPushListMembers>(MfaPushList)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPushListMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectMfaPushDevice = (payload: SelectMfaPushDeviceOptions) =>\n withError(instance.selectMfaPushDevice(payload));\nexport const goBack = (payload?: CustomOptions) => withError(instance.goBack(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaPushList\nexport const useMfaPushList = (): MfaPushListMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaPushList","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectMfaPushDevice","payload","goBack","useMfaPushList","useMemo"],"mappings":"6aAcA,MAAMA,EAAWC,EAAmCC,IAG9CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAiCN,IACxCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAuBC,GAClCd,EAAUH,EAASgB,oBAAoBC,IAC5BC,EAAUD,GAA4Bd,EAAUH,EAASkB,OAAOD,IAchEE,EAAiB,IAA0BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MfaPushWelcomeMembers, CustomOptions } from '@auth0/auth0-acul-js/mfa-push-welcome';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaPushWelcome, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const enroll: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
|
+
export declare const pickAuthenticator: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
6
|
+
export declare const useMfaPushWelcome: () => MfaPushWelcomeMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-push-welcome";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=e,u=new s(n),{useUser:a,useTenant:c,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:k,useUntrustedData:x}=u,l=o=>m(n.enroll(o)),d=o=>m(n.pickAuthenticator(o)),w=()=>r(()=>n,[]);export{l as enroll,d as pickAuthenticator,i as useBranding,h as useClient,w as useMfaPushWelcome,p as useOrganization,f as usePrompt,j as useScreen,c as useTenant,k as useTransaction,x as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-push-welcome.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-push-welcome.js","sources":["../../src/screens/mfa-push-welcome.tsx"],"sourcesContent":["import MfaPushWelcome from '@auth0/auth0-acul-js/mfa-push-welcome';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { MfaPushWelcomeMembers, CustomOptions } from '@auth0/auth0-acul-js/mfa-push-welcome';\n\n// Register the singleton instance of MfaPushWelcome\nconst instance = registerScreen<MfaPushWelcomeMembers>(MfaPushWelcome)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPushWelcomeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload?: CustomOptions) => withError(instance.enroll(payload));\nexport const pickAuthenticator = (payload?: CustomOptions) =>\n withError(instance.pickAuthenticator(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaPushWelcome\nexport const useMfaPushWelcome = (): MfaPushWelcomeMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaPushWelcome","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","enroll","payload","pickAuthenticator","useMfaPushWelcome","useMemo"],"mappings":"gbAUA,MAAMA,EAAWC,EAAsCC,IAGjDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAoCN,IAC3CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAA4Bd,EAAUH,EAASgB,OAAOC,IAChEC,EAAqBD,GAChCd,EAAUH,EAASkB,kBAAkBD,IAc1BE,EAAoB,IAA6BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MfaRecoveryCodeChallengeNewCodeMembers, ContinueOptions } from '@auth0/auth0-acul-js/mfa-recovery-code-challenge-new-code';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaRecoveryCodeChallengeNewCode, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const continueMethod: (payload?: ContinueOptions) => void | Promise<void>;
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
5
|
+
export declare const useMfaRecoveryCodeChallengeNewCode: () => MfaRecoveryCodeChallengeNewCodeMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@auth0/auth0-acul-js/mfa-recovery-code-challenge-new-code";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(e),{withError:m}=r,u=new s(n),{useUser:c,useTenant:a,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:d}=u,k=e=>m(n.continue(e)),l=()=>o(()=>n,[]);export{k as continueMethod,i as useBranding,h as useClient,l as useMfaRecoveryCodeChallengeNewCode,p as useOrganization,f as usePrompt,j as useScreen,a as useTenant,x as useTransaction,d as useUntrustedData,c as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-recovery-code-challenge-new-code.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-recovery-code-challenge-new-code.js","sources":["../../src/screens/mfa-recovery-code-challenge-new-code.tsx"],"sourcesContent":["import MfaRecoveryCodeChallengeNewCode from '@auth0/auth0-acul-js/mfa-recovery-code-challenge-new-code';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaRecoveryCodeChallengeNewCodeMembers,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-recovery-code-challenge-new-code';\n\n// Register the singleton instance of MfaRecoveryCodeChallengeNewCode\nconst instance = registerScreen<MfaRecoveryCodeChallengeNewCodeMembers>(\n MfaRecoveryCodeChallengeNewCode\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaRecoveryCodeChallengeNewCodeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: ContinueOptions) => withError(instance.continue(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaRecoveryCodeChallengeNewCode\nexport const useMfaRecoveryCodeChallengeNewCode = (): MfaRecoveryCodeChallengeNewCodeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaRecoveryCodeChallengeNewCode","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","useMfaRecoveryCodeChallengeNewCode","useMemo"],"mappings":"ocAaA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAqDN,IAC5DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA8Bd,EAAUH,EAASkB,SAASD,IAc5EE,EAAqC,IAChDC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MfaRecoveryCodeChallengeMembers, ContinueOptions, CustomOptions } from '@auth0/auth0-acul-js/mfa-recovery-code-challenge';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
|
|
4
|
+
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
6
|
+
export declare const useMfaRecoveryCodeChallenge: () => MfaRecoveryCodeChallengeMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-recovery-code-challenge";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=r,u=new s(n),{useUser:c,useTenant:a,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:d}=u,k=o=>m(n.continue(o)),l=o=>m(n.tryAnotherMethod(o)),g=()=>e(()=>n,[]);export{k as continueMethod,l as tryAnotherMethod,h as useBranding,i as useClient,g as useMfaRecoveryCodeChallenge,p as useOrganization,f as usePrompt,j as useScreen,a as useTenant,x as useTransaction,d as useUntrustedData,c as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-recovery-code-challenge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-recovery-code-challenge.js","sources":["../../src/screens/mfa-recovery-code-challenge.tsx"],"sourcesContent":["import MfaRecoveryCodeChallenge from '@auth0/auth0-acul-js/mfa-recovery-code-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaRecoveryCodeChallengeMembers,\n ContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-recovery-code-challenge';\n\n// Register the singleton instance of MfaRecoveryCodeChallenge\nconst instance = registerScreen<MfaRecoveryCodeChallengeMembers>(MfaRecoveryCodeChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaRecoveryCodeChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaRecoveryCodeChallenge\nexport const useMfaRecoveryCodeChallenge = (): MfaRecoveryCodeChallengeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaRecoveryCodeChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useMfaRecoveryCodeChallenge","useMemo"],"mappings":"2bAcA,MAAMA,EAAWC,EAAgDC,IAG3DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA8CN,IACrDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EAA8B,IACzCC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MfaRecoveryCodeEnrollmentMembers, MfaRecoveryCodeEnrollmentContinueOptions } from '@auth0/auth0-acul-js/mfa-recovery-code-enrollment';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaRecoveryCodeEnrollment, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const continueMethod: (payload: MfaRecoveryCodeEnrollmentContinueOptions) => void | Promise<void>;
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
5
|
+
export declare const useMfaRecoveryCodeEnrollment: () => MfaRecoveryCodeEnrollmentMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-recovery-code-enrollment";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=r,u=new s(n),{useUser:c,useTenant:a,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:k}=u,d=o=>m(n.continue(o)),l=()=>e(()=>n,[]);export{d as continueMethod,i as useBranding,h as useClient,l as useMfaRecoveryCodeEnrollment,p as useOrganization,f as usePrompt,j as useScreen,a as useTenant,x as useTransaction,k as useUntrustedData,c as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-recovery-code-enrollment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-recovery-code-enrollment.js","sources":["../../src/screens/mfa-recovery-code-enrollment.tsx"],"sourcesContent":["import MfaRecoveryCodeEnrollment from '@auth0/auth0-acul-js/mfa-recovery-code-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaRecoveryCodeEnrollmentMembers,\n MfaRecoveryCodeEnrollmentContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-recovery-code-enrollment';\n\n// Register the singleton instance of MfaRecoveryCodeEnrollment\nconst instance = registerScreen<MfaRecoveryCodeEnrollmentMembers>(MfaRecoveryCodeEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaRecoveryCodeEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: MfaRecoveryCodeEnrollmentContinueOptions) =>\n withError(instance.continue(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaRecoveryCodeEnrollment\nexport const useMfaRecoveryCodeEnrollment = (): MfaRecoveryCodeEnrollmentMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaRecoveryCodeEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","useMfaRecoveryCodeEnrollment","useMemo"],"mappings":"4bAaA,MAAMA,EAAWC,EAAiDC,IAG5DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA+CN,IACtDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAC7Bd,EAAUH,EAASkB,SAASD,IAcjBE,EAA+B,IAC1CC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { MfaSmsChallengeMembers, MfaSmsChallengeOptions, CustomOptions } from '@auth0/auth0-acul-js/mfa-sms-challenge';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaSmsChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembersOnMfaSmsChallenge;
|
|
3
|
+
export declare const continueMfaSmsChallenge: (payload: MfaSmsChallengeOptions) => void | Promise<void>;
|
|
4
|
+
export declare const pickSms: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export declare const resendCode: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
|
+
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
7
|
+
export declare const getACall: (payload?: CustomOptions) => void | Promise<void>;
|
|
8
|
+
export { useResend } from '../hooks/utility/resend-manager';
|
|
9
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
10
|
+
export declare const useMfaSmsChallenge: () => MfaSmsChallengeMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@auth0/auth0-acul-js/mfa-sms-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{useResend}from"../hooks/utility/resend-manager.js";const n=t(e),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:l,useTransaction:d,useUntrustedData:j}=u,k=e=>m(n.continueMfaSmsChallenge(e)),x=e=>m(n.pickSms(e)),g=e=>m(n.resendCode(e)),C=e=>m(n.tryAnotherMethod(e)),S=e=>m(n.getACall(e)),A=()=>o(()=>n,[]);export{k as continueMfaSmsChallenge,S as getACall,x as pickSms,g as resendCode,C as tryAnotherMethod,h as useBranding,i as useClient,A as useMfaSmsChallenge,p as useOrganization,f as usePrompt,l as useScreen,c as useTenant,d as useTransaction,j as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-sms-challenge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-sms-challenge.js","sources":["../../src/screens/mfa-sms-challenge.tsx"],"sourcesContent":["import MfaSmsChallenge from '@auth0/auth0-acul-js/mfa-sms-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaSmsChallengeMembers,\n MfaSmsChallengeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-sms-challenge';\n\n// Register the singleton instance of MfaSmsChallenge\nconst instance = registerScreen<MfaSmsChallengeMembers>(MfaSmsChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaSmsChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMfaSmsChallenge = (payload: MfaSmsChallengeOptions) =>\n withError(instance.continueMfaSmsChallenge(payload));\nexport const pickSms = (payload?: CustomOptions) => withError(instance.pickSms(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const getACall = (payload?: CustomOptions) => withError(instance.getACall(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaSmsChallenge\nexport const useMfaSmsChallenge = (): MfaSmsChallengeMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaSmsChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMfaSmsChallenge","payload","pickSms","resendCode","tryAnotherMethod","getACall","useMfaSmsChallenge","useMemo"],"mappings":"2eAcA,MAAMA,EAAWC,EAAuCC,IAGlDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAqCN,IAC5CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAWD,GAA4Bd,EAAUH,EAASkB,QAAQD,IAClEE,EAAcF,GAA4Bd,EAAUH,EAASmB,WAAWF,IACxEG,EAAoBH,GAC/Bd,EAAUH,EAASoB,iBAAiBH,IACzBI,EAAYJ,GAA4Bd,EAAUH,EAASqB,SAASJ,IAiBpEK,EAAqB,IAA8BC,EAAQ,IAAMvB,EAAU"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { MfaSmsEnrollmentMembers, CustomOptions } from '@auth0/auth0-acul-js/mfa-sms-enrollment';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaSmsEnrollment, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const pickCountryCode: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
|
+
export declare const continueEnrollment: (payload: {
|
|
5
|
+
phone: string;
|
|
6
|
+
captcha?: string;
|
|
7
|
+
}) => void | Promise<void>;
|
|
8
|
+
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
9
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
10
|
+
export declare const useMfaSmsEnrollment: () => MfaSmsEnrollmentMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-sms-enrollment";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as t}from"../hooks/context/index.js";import{registerScreen as s}from"../state/instance-store.js";const n=s(o),{withError:m}=e,u=new t(n),{useUser:a,useTenant:c,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:k,useUntrustedData:l}=u,x=o=>m(n.pickCountryCode(o)),d=o=>m(n.continueEnrollment(o)),C=o=>m(n.tryAnotherMethod(o)),E=()=>r(()=>n,[]);export{d as continueEnrollment,x as pickCountryCode,C as tryAnotherMethod,i as useBranding,h as useClient,E as useMfaSmsEnrollment,p as useOrganization,f as usePrompt,j as useScreen,c as useTenant,k as useTransaction,l as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-sms-enrollment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-sms-enrollment.js","sources":["../../src/screens/mfa-sms-enrollment.tsx"],"sourcesContent":["import MfaSmsEnrollment from '@auth0/auth0-acul-js/mfa-sms-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaSmsEnrollmentMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-sms-enrollment';\n\n// Register the singleton instance of MfaSmsEnrollment\nconst instance = registerScreen<MfaSmsEnrollmentMembers>(MfaSmsEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaSmsEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const pickCountryCode = (payload?: CustomOptions) =>\n withError(instance.pickCountryCode(payload));\nexport const continueEnrollment = (payload: { phone: string; captcha?: string }) =>\n withError(instance.continueEnrollment(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaSmsEnrollment\nexport const useMfaSmsEnrollment = (): MfaSmsEnrollmentMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaSmsEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","pickCountryCode","payload","continueEnrollment","tryAnotherMethod","useMfaSmsEnrollment","useMemo"],"mappings":"kbAaA,MAAMA,EAAWC,EAAwCC,IAGnDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAsCN,IAC7CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAmBC,GAC9Bd,EAAUH,EAASgB,gBAAgBC,IACxBC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EAAsB,IAA+BC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MfaSmsListMembers, MfaSmsListOptions, CustomOptions } from '@auth0/auth0-acul-js/mfa-sms-list';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const selectPhoneNumber: (payload?: MfaSmsListOptions) => void | Promise<void>;
|
|
4
|
+
export declare const backAction: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
6
|
+
export declare const useMfaSmsList: () => MfaSmsListMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-sms-list";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const m=t(o),{withError:n}=r,u=new s(m),{useUser:a,useTenant:c,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:k,useUntrustedData:x}=u,l=o=>n(m.selectPhoneNumber(o)),d=o=>n(m.backAction(o)),T=()=>e(()=>m,[]);export{d as backAction,l as selectPhoneNumber,i as useBranding,h as useClient,T as useMfaSmsList,p as useOrganization,f as usePrompt,j as useScreen,c as useTenant,k as useTransaction,x as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-sms-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-sms-list.js","sources":["../../src/screens/mfa-sms-list.tsx"],"sourcesContent":["import MfaSmsList from '@auth0/auth0-acul-js/mfa-sms-list';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaSmsListMembers,\n MfaSmsListOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-sms-list';\n\n// Register the singleton instance of MfaSmsList\nconst instance = registerScreen<MfaSmsListMembers>(MfaSmsList)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaSmsListMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectPhoneNumber = (payload?: MfaSmsListOptions) =>\n withError(instance.selectPhoneNumber(payload));\nexport const backAction = (payload?: CustomOptions) => withError(instance.backAction(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaSmsList\nexport const useMfaSmsList = (): MfaSmsListMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaSmsList","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectPhoneNumber","payload","backAction","useMfaSmsList","useMemo"],"mappings":"4aAcA,MAAMA,EAAWC,EAAkCC,IAG7CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAgCN,IACvCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAqBC,GAChCd,EAAUH,EAASgB,kBAAkBC,IAC1BC,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IAcxEE,EAAgB,IAAyBC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { MfaVoiceChallengeMembers, MfaVoiceChallengeContinueOptions, CustomOptions } from '@auth0/auth0-acul-js/mfa-voice-challenge';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaVoiceChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembersOnMfaVoiceChallenge;
|
|
3
|
+
export declare const continueMethod: (payload: MfaVoiceChallengeContinueOptions) => void | Promise<void>;
|
|
4
|
+
export declare const pickPhone: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export declare const switchToSms: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
|
+
export declare const resendCode: (payload?: CustomOptions) => void | Promise<void>;
|
|
7
|
+
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
8
|
+
export { useResend } from '../hooks/utility/resend-manager';
|
|
9
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
10
|
+
export declare const useMfaVoiceChallenge: () => MfaVoiceChallengeMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@auth0/auth0-acul-js/mfa-voice-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";export{useResend}from"../hooks/utility/resend-manager.js";const n=t(e),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:d,useTransaction:j,useUntrustedData:k}=u,x=e=>m(n.continue(e)),l=e=>m(n.pickPhone(e)),g=e=>m(n.switchToSms(e)),T=e=>m(n.resendCode(e)),w=e=>m(n.tryAnotherMethod(e)),C=()=>o(()=>n,[]);export{x as continueMethod,l as pickPhone,T as resendCode,g as switchToSms,w as tryAnotherMethod,i as useBranding,h as useClient,C as useMfaVoiceChallenge,p as useOrganization,f as usePrompt,d as useScreen,c as useTenant,j as useTransaction,k as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-voice-challenge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-voice-challenge.js","sources":["../../src/screens/mfa-voice-challenge.tsx"],"sourcesContent":["import MfaVoiceChallenge from '@auth0/auth0-acul-js/mfa-voice-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaVoiceChallengeMembers,\n MfaVoiceChallengeContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-voice-challenge';\n\n// Register the singleton instance of MfaVoiceChallenge\nconst instance = registerScreen<MfaVoiceChallengeMembers>(MfaVoiceChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaVoiceChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: MfaVoiceChallengeContinueOptions) =>\n withError(instance.continue(payload));\nexport const pickPhone = (payload?: CustomOptions) => withError(instance.pickPhone(payload));\nexport const switchToSms = (payload?: CustomOptions) => withError(instance.switchToSms(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useResend } from '../hooks/utility/resend-manager';\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaVoiceChallenge\nexport const useMfaVoiceChallenge = (): MfaVoiceChallengeMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaVoiceChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","pickPhone","switchToSms","resendCode","tryAnotherMethod","useMfaVoiceChallenge","useMemo"],"mappings":"6eAcA,MAAMA,EAAWC,EAAyCC,IAGpDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAuCN,IAC9CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAC7Bd,EAAUH,EAASkB,SAASD,IACjBE,EAAaF,GAA4Bd,EAAUH,EAASmB,UAAUF,IACtEG,EAAeH,GAA4Bd,EAAUH,EAASoB,YAAYH,IAC1EI,EAAcJ,GAA4Bd,EAAUH,EAASqB,WAAWJ,IACxEK,EAAoBL,GAC/Bd,EAAUH,EAASsB,iBAAiBL,IAiBzBM,EAAuB,IAAgCC,EAAQ,IAAMxB,EAAU"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MfaVoiceEnrollmentMembers, ContinueOptions, CustomOptions } from '@auth0/auth0-acul-js/mfa-voice-enrollment';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
|
|
4
|
+
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export declare const selectPhoneCountryCode: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
7
|
+
export declare const useMfaVoiceEnrollment: () => MfaVoiceEnrollmentMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-voice-enrollment";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as t}from"../hooks/context/index.js";import{registerScreen as s}from"../state/instance-store.js";const n=s(o),{withError:m}=r,u=new t(n),{useUser:c,useTenant:a,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:d}=u,k=o=>m(n.continue(o)),l=o=>m(n.tryAnotherMethod(o)),C=o=>m(n.selectPhoneCountryCode(o)),T=()=>e(()=>n,[]);export{k as continueMethod,C as selectPhoneCountryCode,l as tryAnotherMethod,h as useBranding,i as useClient,T as useMfaVoiceEnrollment,p as useOrganization,f as usePrompt,j as useScreen,a as useTenant,x as useTransaction,d as useUntrustedData,c as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-voice-enrollment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-voice-enrollment.js","sources":["../../src/screens/mfa-voice-enrollment.tsx"],"sourcesContent":["import MfaVoiceEnrollment from '@auth0/auth0-acul-js/mfa-voice-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaVoiceEnrollmentMembers,\n ContinueOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-voice-enrollment';\n\n// Register the singleton instance of MfaVoiceEnrollment\nconst instance = registerScreen<MfaVoiceEnrollmentMembers>(MfaVoiceEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaVoiceEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload: ContinueOptions) => withError(instance.continue(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const selectPhoneCountryCode = (payload?: CustomOptions) =>\n withError(instance.selectPhoneCountryCode(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaVoiceEnrollment\nexport const useMfaVoiceEnrollment = (): MfaVoiceEnrollmentMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaVoiceEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","selectPhoneCountryCode","useMfaVoiceEnrollment","useMemo"],"mappings":"obAcA,MAAMA,EAAWC,EAA0CC,IAGrDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAwCN,IAC/CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAA0BH,GACrCd,EAAUH,EAASoB,uBAAuBH,IAc/BI,EAAwB,IAAiCC,EAAQ,IAAMtB,EAAU"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MfaWebAuthnChangeKeyNicknameMembers, ContinueOptions } from '@auth0/auth0-acul-js/mfa-webauthn-change-key-nickname';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaWebAuthnChangeKeyNickname, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const continueWithNewNickname: (payload: ContinueOptions) => void | Promise<void>;
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
5
|
+
export declare const useMfaWebAuthnChangeKeyNickname: () => MfaWebAuthnChangeKeyNicknameMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@auth0/auth0-acul-js/mfa-webauthn-change-key-nickname";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(e),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:k,useTransaction:j,useUntrustedData:x}=u,w=e=>m(n.continueWithNewNickname(e)),d=()=>o(()=>n,[]);export{w as continueWithNewNickname,i as useBranding,h as useClient,d as useMfaWebAuthnChangeKeyNickname,p as useOrganization,f as usePrompt,k as useScreen,c as useTenant,j as useTransaction,x as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-webauthn-change-key-nickname.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-webauthn-change-key-nickname.js","sources":["../../src/screens/mfa-webauthn-change-key-nickname.tsx"],"sourcesContent":["import MfaWebAuthnChangeKeyNickname from '@auth0/auth0-acul-js/mfa-webauthn-change-key-nickname';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnChangeKeyNicknameMembers,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-change-key-nickname';\n\n// Register the singleton instance of MfaWebAuthnChangeKeyNickname\nconst instance = registerScreen<MfaWebAuthnChangeKeyNicknameMembers>(MfaWebAuthnChangeKeyNickname)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnChangeKeyNicknameMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueWithNewNickname = (payload: ContinueOptions) =>\n withError(instance.continueWithNewNickname(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnChangeKeyNickname\nexport const useMfaWebAuthnChangeKeyNickname = (): MfaWebAuthnChangeKeyNicknameMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnChangeKeyNickname","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueWithNewNickname","payload","useMfaWebAuthnChangeKeyNickname","useMemo"],"mappings":"gcAaA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAchCC,EAAkC,IAC7CC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MfaWebAuthnEnrollmentSuccessMembers, ContinueOptions } from '@auth0/auth0-acul-js/mfa-webauthn-enrollment-success';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaWebAuthnEnrollmentSuccess, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const continueMethod: (payload?: ContinueOptions) => void | Promise<void>;
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
5
|
+
export declare const useMfaWebAuthnEnrollmentSuccess: () => MfaWebAuthnEnrollmentSuccessMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-webauthn-enrollment-success";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:k}=u,l=o=>m(n.continue(o)),d=()=>e(()=>n,[]);export{l as continueMethod,i as useBranding,h as useClient,d as useMfaWebAuthnEnrollmentSuccess,p as useOrganization,f as usePrompt,j as useScreen,c as useTenant,x as useTransaction,k as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-webauthn-enrollment-success.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-webauthn-enrollment-success.js","sources":["../../src/screens/mfa-webauthn-enrollment-success.tsx"],"sourcesContent":["import MfaWebAuthnEnrollmentSuccess from '@auth0/auth0-acul-js/mfa-webauthn-enrollment-success';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnEnrollmentSuccessMembers,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-enrollment-success';\n\n// Register the singleton instance of MfaWebAuthnEnrollmentSuccess\nconst instance = registerScreen<MfaWebAuthnEnrollmentSuccessMembers>(MfaWebAuthnEnrollmentSuccess)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnEnrollmentSuccessMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueMethod = (payload?: ContinueOptions) => withError(instance.continue(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnEnrollmentSuccess\nexport const useMfaWebAuthnEnrollmentSuccess = (): MfaWebAuthnEnrollmentSuccessMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnEnrollmentSuccess","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","useMfaWebAuthnEnrollmentSuccess","useMemo"],"mappings":"+bAaA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAA8Bd,EAAUH,EAASkB,SAASD,IAc5EE,EAAkC,IAC7CC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { MfaWebAuthnErrorMembers, CustomOptions } from '@auth0/auth0-acul-js/mfa-webauthn-error';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaWebAuthnError, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const tryAgain: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
|
+
export declare const usePassword: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
|
+
export declare const noThanks: (payload?: CustomOptions) => void | Promise<void>;
|
|
7
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
8
|
+
export declare const useMfaWebAuthnError: () => MfaWebAuthnErrorMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from"@auth0/auth0-acul-js/mfa-webauthn-error";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(r),{withError:m}=e,u=new s(n),{useUser:a,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:k,useUntrustedData:x}=u,d=r=>m(n.tryAgain(r)),w=r=>m(n.usePassword(r)),T=r=>m(n.tryAnotherMethod(r)),g=r=>m(n.noThanks(r)),A=()=>o(()=>n,[]);export{g as noThanks,d as tryAgain,T as tryAnotherMethod,c as useBranding,i as useClient,A as useMfaWebAuthnError,p as useOrganization,w as usePassword,f as usePrompt,j as useScreen,h as useTenant,k as useTransaction,x as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-webauthn-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-webauthn-error.js","sources":["../../src/screens/mfa-webauthn-error.tsx"],"sourcesContent":["import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnErrorMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-error';\n\n// Register the singleton instance of MfaWebAuthnError\nconst instance = registerScreen<MfaWebAuthnErrorMembers>(MfaWebAuthnError)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnErrorMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const tryAgain = (payload?: CustomOptions) => withError(instance.tryAgain(payload));\nexport const usePassword = (payload?: CustomOptions) => withError(instance.usePassword(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\nexport const noThanks = (payload?: CustomOptions) => withError(instance.noThanks(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnError\nexport const useMfaWebAuthnError = (): MfaWebAuthnErrorMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnError","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","tryAgain","payload","usePassword","tryAnotherMethod","noThanks","useMfaWebAuthnError","useMemo"],"mappings":"kbAaA,MAAMA,EAAWC,EAAwCC,IAGnDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAsCN,IAC7CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAYC,GAA4Bd,EAAUH,EAASgB,SAASC,IACpEC,EAAeD,GAA4Bd,EAAUH,EAASkB,YAAYD,IAC1EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAAYH,GAA4Bd,EAAUH,EAASoB,SAASH,IAcpEI,EAAsB,IAA+BC,EAAQ,IAAMtB,EAAU"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MfaWebAuthnNotAvailableErrorMembers, CustomOptions } from '@auth0/auth0-acul-js/mfa-webauthn-not-available-error';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
5
|
+
export declare const useMfaWebAuthnNotAvailableError: () => MfaWebAuthnNotAvailableErrorMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-webauthn-not-available-error";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as t}from"../hooks/context/index.js";import{registerScreen as s}from"../state/instance-store.js";const n=s(o),{withError:m}=e,u=new t(n),{useUser:a,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:k}=u,d=o=>m(n.tryAnotherMethod(o)),l=()=>r(()=>n,[]);export{d as tryAnotherMethod,c as useBranding,i as useClient,l as useMfaWebAuthnNotAvailableError,p as useOrganization,f as usePrompt,j as useScreen,h as useTenant,x as useTransaction,k as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-webauthn-not-available-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-webauthn-not-available-error.js","sources":["../../src/screens/mfa-webauthn-not-available-error.tsx"],"sourcesContent":["import MfaWebAuthnNotAvailableError from '@auth0/auth0-acul-js/mfa-webauthn-not-available-error';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnNotAvailableErrorMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-not-available-error';\n\n// Register the singleton instance of MfaWebAuthnNotAvailableError\nconst instance = registerScreen<MfaWebAuthnNotAvailableErrorMembers>(MfaWebAuthnNotAvailableError)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnNotAvailableErrorMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnNotAvailableError\nexport const useMfaWebAuthnNotAvailableError = (): MfaWebAuthnNotAvailableErrorMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnNotAvailableError","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","tryAnotherMethod","payload","useMfaWebAuthnNotAvailableError","useMemo"],"mappings":"gcAaA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAoBC,GAC/Bd,EAAUH,EAASgB,iBAAiBC,IAczBC,EAAkC,IAC7CC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MfaWebAuthnPlatformChallengeMembers, VerifyPlatformAuthenticatorOptions, ReportBrowserErrorOptions, TryAnotherMethodOptions } from '@auth0/auth0-acul-js/mfa-webauthn-platform-challenge';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaWebAuthnPlatformChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const verify: (options?: VerifyPlatformAuthenticatorOptions) => void | Promise<void>;
|
|
4
|
+
export declare const reportBrowserError: (options: ReportBrowserErrorOptions) => void | Promise<void>;
|
|
5
|
+
export declare const tryAnotherMethod: (options?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
7
|
+
export declare const useMfaWebAuthnPlatformChallenge: () => MfaWebAuthnPlatformChallengeMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from"@auth0/auth0-acul-js/mfa-webauthn-platform-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as t}from"../hooks/context/index.js";import{registerScreen as s}from"../state/instance-store.js";const n=s(r),{withError:m}=e,u=new t(n),{useUser:a,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:k}=u,l=r=>m(n.verify(r)),d=r=>m(n.reportBrowserError(r)),w=r=>m(n.tryAnotherMethod(r)),g=()=>o(()=>n,[]);export{d as reportBrowserError,w as tryAnotherMethod,c as useBranding,i as useClient,g as useMfaWebAuthnPlatformChallenge,p as useOrganization,f as usePrompt,j as useScreen,h as useTenant,x as useTransaction,k as useUntrustedData,a as useUser,l as verify};
|
|
2
|
+
//# sourceMappingURL=mfa-webauthn-platform-challenge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-webauthn-platform-challenge.js","sources":["../../src/screens/mfa-webauthn-platform-challenge.tsx"],"sourcesContent":["import MfaWebAuthnPlatformChallenge from '@auth0/auth0-acul-js/mfa-webauthn-platform-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnPlatformChallengeMembers,\n VerifyPlatformAuthenticatorOptions,\n ReportBrowserErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-platform-challenge';\n\n// Register the singleton instance of MfaWebAuthnPlatformChallenge\nconst instance = registerScreen<MfaWebAuthnPlatformChallengeMembers>(MfaWebAuthnPlatformChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnPlatformChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const verify = (options?: VerifyPlatformAuthenticatorOptions) =>\n withError(instance.verify(options));\nexport const reportBrowserError = (options: ReportBrowserErrorOptions) =>\n withError(instance.reportBrowserError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnPlatformChallenge\nexport const useMfaWebAuthnPlatformChallenge = (): MfaWebAuthnPlatformChallengeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnPlatformChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","verify","options","reportBrowserError","tryAnotherMethod","useMfaWebAuthnPlatformChallenge","useMemo"],"mappings":"+bAeA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GACrBd,EAAUH,EAASgB,OAAOC,IACfC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EAAkC,IAC7CC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { MfaWebAuthnPlatformEnrollmentMembers, SubmitPasskeyCredentialOptions, ReportBrowserErrorOptions, CustomOptions } from '@auth0/auth0-acul-js/mfa-webauthn-platform-enrollment';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaWebAuthnPlatformEnrollment, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const submitPasskeyCredential: (payload?: SubmitPasskeyCredentialOptions) => void | Promise<void>;
|
|
4
|
+
export declare const reportBrowserError: (payload: ReportBrowserErrorOptions) => void | Promise<void>;
|
|
5
|
+
export declare const snoozeEnrollment: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
|
+
export declare const refuseEnrollmentOnThisDevice: (payload?: CustomOptions) => void | Promise<void>;
|
|
7
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
8
|
+
export declare const useMfaWebAuthnPlatformEnrollment: () => MfaWebAuthnPlatformEnrollmentMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from"@auth0/auth0-acul-js/mfa-webauthn-platform-enrollment";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as o}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(r),{withError:m}=o,u=new s(n),{useUser:a,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:l,useTransaction:j,useUntrustedData:k}=u,x=r=>m(n.submitPasskeyCredential(r)),E=r=>m(n.reportBrowserError(r)),d=r=>m(n.snoozeEnrollment(r)),w=r=>m(n.refuseEnrollmentOnThisDevice(r)),T=()=>e(()=>n,[]);export{w as refuseEnrollmentOnThisDevice,E as reportBrowserError,d as snoozeEnrollment,x as submitPasskeyCredential,c as useBranding,h as useClient,T as useMfaWebAuthnPlatformEnrollment,p as useOrganization,f as usePrompt,l as useScreen,i as useTenant,j as useTransaction,k as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-webauthn-platform-enrollment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-webauthn-platform-enrollment.js","sources":["../../src/screens/mfa-webauthn-platform-enrollment.tsx"],"sourcesContent":["import MfaWebAuthnPlatformEnrollment from '@auth0/auth0-acul-js/mfa-webauthn-platform-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnPlatformEnrollmentMembers,\n SubmitPasskeyCredentialOptions,\n ReportBrowserErrorOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-platform-enrollment';\n\n// Register the singleton instance of MfaWebAuthnPlatformEnrollment\nconst instance = registerScreen<MfaWebAuthnPlatformEnrollmentMembers>(\n MfaWebAuthnPlatformEnrollment\n)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnPlatformEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const submitPasskeyCredential = (payload?: SubmitPasskeyCredentialOptions) =>\n withError(instance.submitPasskeyCredential(payload));\nexport const reportBrowserError = (payload: ReportBrowserErrorOptions) =>\n withError(instance.reportBrowserError(payload));\nexport const snoozeEnrollment = (payload?: CustomOptions) =>\n withError(instance.snoozeEnrollment(payload));\nexport const refuseEnrollmentOnThisDevice = (payload?: CustomOptions) =>\n withError(instance.refuseEnrollmentOnThisDevice(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnPlatformEnrollment\nexport const useMfaWebAuthnPlatformEnrollment = (): MfaWebAuthnPlatformEnrollmentMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnPlatformEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","submitPasskeyCredential","payload","reportBrowserError","snoozeEnrollment","refuseEnrollmentOnThisDevice","useMfaWebAuthnPlatformEnrollment","useMemo"],"mappings":"gcAeA,MAAMA,EAAWC,EACfC,IAIIC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAmDN,IAC1DO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA2BC,GACtCd,EAAUH,EAASgB,wBAAwBC,IAChCC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IACzBG,EAAgCH,GAC3Cd,EAAUH,EAASoB,6BAA6BH,IAcrCI,EAAmC,IAC9CC,EAAQ,IAAMtB,EAAU"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MfaWebAuthnRoamingChallengeMembers, VerifySecurityKeyOptions, ReportWebAuthnErrorOptions, TryAnotherMethodOptions } from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaWebAuthnRoamingChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const verify: (options?: VerifySecurityKeyOptions) => void | Promise<void>;
|
|
4
|
+
export declare const reportWebAuthnError: (options: ReportWebAuthnErrorOptions) => void | Promise<void>;
|
|
5
|
+
export declare const tryAnotherMethod: (options?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
7
|
+
export declare const useMfaWebAuthnRoamingChallenge: () => MfaWebAuthnRoamingChallengeMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from"@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as t}from"../hooks/context/index.js";import{registerScreen as s}from"../state/instance-store.js";const n=s(r),{withError:m}=e,u=new t(n),{useUser:a,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:k}=u,d=r=>m(n.verify(r)),g=r=>m(n.reportWebAuthnError(r)),l=r=>m(n.tryAnotherMethod(r)),w=()=>o(()=>n,[]);export{g as reportWebAuthnError,l as tryAnotherMethod,c as useBranding,i as useClient,w as useMfaWebAuthnRoamingChallenge,p as useOrganization,f as usePrompt,j as useScreen,h as useTenant,x as useTransaction,k as useUntrustedData,a as useUser,d as verify};
|
|
2
|
+
//# sourceMappingURL=mfa-webauthn-roaming-challenge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-webauthn-roaming-challenge.js","sources":["../../src/screens/mfa-webauthn-roaming-challenge.tsx"],"sourcesContent":["import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnRoamingChallengeMembers,\n VerifySecurityKeyOptions,\n ReportWebAuthnErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';\n\n// Register the singleton instance of MfaWebAuthnRoamingChallenge\nconst instance = registerScreen<MfaWebAuthnRoamingChallengeMembers>(MfaWebAuthnRoamingChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnRoamingChallengeMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const verify = (options?: VerifySecurityKeyOptions) => withError(instance.verify(options));\nexport const reportWebAuthnError = (options: ReportWebAuthnErrorOptions) =>\n withError(instance.reportWebAuthnError(options));\nexport const tryAnotherMethod = (options?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(options));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnRoamingChallenge\nexport const useMfaWebAuthnRoamingChallenge = (): MfaWebAuthnRoamingChallengeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnRoamingChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","verify","options","reportWebAuthnError","tryAnotherMethod","useMfaWebAuthnRoamingChallenge","useMemo"],"mappings":"8bAeA,MAAMA,EAAWC,EAAmDC,IAG9DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAiDN,IACxDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAAuCd,EAAUH,EAASgB,OAAOC,IAC3EC,EAAuBD,GAClCd,EAAUH,EAASkB,oBAAoBD,IAC5BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EAAiC,IAC5CC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MfaWebAuthnRoamingEnrollmentMembers, CustomOptions, ShowErrorOptions, TryAnotherMethodOptions } from '@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnMfaWebAuthnRoamingEnrollment, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const enroll: (payload: CustomOptions) => void | Promise<void>;
|
|
4
|
+
export declare const showError: (payload: ShowErrorOptions) => void | Promise<void>;
|
|
5
|
+
export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
7
|
+
export declare const useMfaWebAuthnRoamingEnrollment: () => MfaWebAuthnRoamingEnrollmentMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=e,u=new s(n),{useUser:a,useTenant:h,useBranding:c,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:l,useUntrustedData:x}=u,k=o=>m(n.enroll(o)),d=o=>m(n.showError(o)),w=o=>m(n.tryAnotherMethod(o)),g=()=>r(()=>n,[]);export{k as enroll,d as showError,w as tryAnotherMethod,c as useBranding,i as useClient,g as useMfaWebAuthnRoamingEnrollment,p as useOrganization,f as usePrompt,j as useScreen,h as useTenant,l as useTransaction,x as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-webauthn-roaming-enrollment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-webauthn-roaming-enrollment.js","sources":["../../src/screens/mfa-webauthn-roaming-enrollment.tsx"],"sourcesContent":["import MfaWebAuthnRoamingEnrollment from '@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaWebAuthnRoamingEnrollmentMembers,\n CustomOptions,\n ShowErrorOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-webauthn-roaming-enrollment';\n\n// Register the singleton instance of MfaWebAuthnRoamingEnrollment\nconst instance = registerScreen<MfaWebAuthnRoamingEnrollmentMembers>(MfaWebAuthnRoamingEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaWebAuthnRoamingEnrollmentMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const enroll = (payload: CustomOptions) => withError(instance.enroll(payload));\nexport const showError = (payload: ShowErrorOptions) => withError(instance.showError(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of MfaWebAuthnRoamingEnrollment\nexport const useMfaWebAuthnRoamingEnrollment = (): MfaWebAuthnRoamingEnrollmentMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaWebAuthnRoamingEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","enroll","payload","showError","tryAnotherMethod","useMfaWebAuthnRoamingEnrollment","useMemo"],"mappings":"+bAeA,MAAMA,EAAWC,EAAoDC,IAG/DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkDN,IACzDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAUC,GAA2Bd,EAAUH,EAASgB,OAAOC,IAC/DC,EAAaD,GAA8Bd,EAAUH,EAASkB,UAAUD,IACxEE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EAAkC,IAC7CC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { OrganizationPickerMembers, CustomOptions } from '@auth0/auth0-acul-js/organization-picker';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembers, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const selectOrganization: (payload: {
|
|
4
|
+
organization: string;
|
|
5
|
+
state: string;
|
|
6
|
+
}) => void | Promise<void>;
|
|
7
|
+
export declare const skipOrganizationSelection: (payload?: CustomOptions) => void | Promise<void>;
|
|
8
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
9
|
+
export declare const useOrganizationPicker: () => OrganizationPickerMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/organization-picker";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=e,i=new s(n),{useUser:a,useTenant:u,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:k,useUntrustedData:x}=i,g=o=>m(n.selectOrganization(o)),l=o=>m(n.skipOrganizationSelection(o)),z=()=>r(()=>n,[]);export{g as selectOrganization,l as skipOrganizationSelection,c as useBranding,h as useClient,p as useOrganization,z as useOrganizationPicker,f as usePrompt,j as useScreen,u as useTenant,k as useTransaction,x as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=organization-picker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization-picker.js","sources":["../../src/screens/organization-picker.tsx"],"sourcesContent":["import OrganizationPicker from '@auth0/auth0-acul-js/organization-picker';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n OrganizationPickerMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/organization-picker';\n\n// Register the singleton instance of OrganizationPicker\nconst instance = registerScreen<OrganizationPickerMembers>(OrganizationPicker)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<OrganizationPickerMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const selectOrganization = (payload: { organization: string; state: string }) =>\n withError(instance.selectOrganization(payload));\nexport const skipOrganizationSelection = (payload?: CustomOptions) =>\n withError(instance.skipOrganizationSelection(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of OrganizationPicker\nexport const useOrganizationPicker = (): OrganizationPickerMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","OrganizationPicker","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectOrganization","payload","skipOrganizationSelection","useOrganizationPicker","useMemo"],"mappings":"mbAaA,MAAMA,EAAWC,EAA0CC,IAGrDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAwCN,IAC/CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAsBC,GACjCd,EAAUH,EAASgB,mBAAmBC,IAC3BC,EAA6BD,GACxCd,EAAUH,EAASkB,0BAA0BD,IAclCE,EAAwB,IAAiCC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { OrganizationSelectionMembers, ContinueWithOrganizationNameOptions } from '@auth0/auth0-acul-js/organization-selection';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnOrganizationSelection, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const continueWithOrganizationName: (payload: ContinueWithOrganizationNameOptions) => void | Promise<void>;
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
5
|
+
export declare const useOrganizationSelection: () => OrganizationSelectionMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/organization-selection";import{useMemo as r}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as e}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=e,u=new s(n),{useUser:a,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:k}=u,g=o=>m(n.continueWithOrganizationName(o)),d=()=>r(()=>n,[]);export{g as continueWithOrganizationName,c as useBranding,h as useClient,p as useOrganization,d as useOrganizationSelection,f as usePrompt,j as useScreen,i as useTenant,x as useTransaction,k as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=organization-selection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization-selection.js","sources":["../../src/screens/organization-selection.tsx"],"sourcesContent":["import OrganizationSelection from '@auth0/auth0-acul-js/organization-selection';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n OrganizationSelectionMembers,\n ContinueWithOrganizationNameOptions,\n} from '@auth0/auth0-acul-js/organization-selection';\n\n// Register the singleton instance of OrganizationSelection\nconst instance = registerScreen<OrganizationSelectionMembers>(OrganizationSelection)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<OrganizationSelectionMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continueWithOrganizationName = (payload: ContinueWithOrganizationNameOptions) =>\n withError(instance.continueWithOrganizationName(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of OrganizationSelection\nexport const useOrganizationSelection = (): OrganizationSelectionMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","OrganizationSelection","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueWithOrganizationName","payload","useOrganizationSelection","useMemo"],"mappings":"sbAaA,MAAMA,EAAWC,EAA6CC,IAGxDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA2CN,IAClDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAgCC,GAC3Cd,EAAUH,EAASgB,6BAA6BC,IAcrCC,EAA2B,IACtCC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PasskeyEnrollmentLocalMembers, CustomOptions, AbortEnrollmentOptions } from '@auth0/auth0-acul-js/passkey-enrollment-local';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnPasskeyEnrollmentLocal, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const continuePasskeyEnrollment: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
|
+
export declare const abortPasskeyEnrollment: (payload: AbortEnrollmentOptions) => void | Promise<void>;
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
6
|
+
export declare const usePasskeyEnrollmentLocal: () => PasskeyEnrollmentLocalMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/passkey-enrollment-local";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:i,useClient:h,useOrganization:p,usePrompt:l,useScreen:f,useTransaction:k,useUntrustedData:j}=u,x=o=>m(n.continuePasskeyEnrollment(o)),E=o=>m(n.abortPasskeyEnrollment(o)),d=()=>e(()=>n,[]);export{E as abortPasskeyEnrollment,x as continuePasskeyEnrollment,i as useBranding,h as useClient,p as useOrganization,d as usePasskeyEnrollmentLocal,l as usePrompt,f as useScreen,c as useTenant,k as useTransaction,j as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=passkey-enrollment-local.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"passkey-enrollment-local.js","sources":["../../src/screens/passkey-enrollment-local.tsx"],"sourcesContent":["import PasskeyEnrollmentLocal from '@auth0/auth0-acul-js/passkey-enrollment-local';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n PasskeyEnrollmentLocalMembers,\n CustomOptions,\n AbortEnrollmentOptions,\n} from '@auth0/auth0-acul-js/passkey-enrollment-local';\n\n// Register the singleton instance of PasskeyEnrollmentLocal\nconst instance = registerScreen<PasskeyEnrollmentLocalMembers>(PasskeyEnrollmentLocal)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<PasskeyEnrollmentLocalMembers>(instance);\nexport const {\n useUser,\n useTenant,\n useBranding,\n useClient,\n useOrganization,\n usePrompt,\n useScreen,\n useTransaction,\n useUntrustedData,\n} = factory;\n\n// Submit functions\nexport const continuePasskeyEnrollment = (payload?: CustomOptions) =>\n withError(instance.continuePasskeyEnrollment(payload));\nexport const abortPasskeyEnrollment = (payload: AbortEnrollmentOptions) =>\n withError(instance.abortPasskeyEnrollment(payload));\n\n// Common hooks\nexport {\n useCurrentScreen,\n useErrors,\n useAuth0Themes,\n type UseErrorOptions,\n type UseErrorsResult,\n type ErrorsResult,\n type ErrorKind,\n} from '../hooks';\n\n// Main instance hook. Returns singleton instance of PasskeyEnrollmentLocal\nexport const usePasskeyEnrollmentLocal = (): PasskeyEnrollmentLocalMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","PasskeyEnrollmentLocal","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continuePasskeyEnrollment","payload","abortPasskeyEnrollment","usePasskeyEnrollmentLocal","useMemo"],"mappings":"wbAcA,MAAMA,EAAWC,EAA8CC,IAGzDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA4CN,IACnDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAA6BC,GACxCd,EAAUH,EAASgB,0BAA0BC,IAClCC,EAA0BD,GACrCd,EAAUH,EAASkB,uBAAuBD,IAc/BE,EAA4B,IACvCC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PasskeyEnrollmentMembers, CustomOptions } from '@auth0/auth0-acul-js/passkey-enrollment';
|
|
2
|
+
export declare const useUser: () => import("@auth0/auth0-acul-js").UserMembers, useTenant: () => import("@auth0/auth0-acul-js").TenantMembers, useBranding: () => import("@auth0/auth0-acul-js").BrandingMembers, useClient: () => import("@auth0/auth0-acul-js").ClientMembers, useOrganization: () => import("@auth0/auth0-acul-js").OrganizationMembers, usePrompt: () => import("@auth0/auth0-acul-js").PromptMembers, useScreen: () => import("@auth0/auth0-acul-js").ScreenMembersOnPasskeyEnrollment, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const continuePasskeyEnrollment: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
|
+
export declare const abortPasskeyEnrollment: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
6
|
+
export declare const usePasskeyEnrollment: () => PasskeyEnrollmentMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/passkey-enrollment";import{useMemo as e}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";import{errorManager as r}from"../hooks/common/errors.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as s}from"../hooks/context/index.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:m}=r,u=new s(n),{useUser:a,useTenant:c,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:k,useTransaction:l,useUntrustedData:j}=u,x=o=>m(n.continuePasskeyEnrollment(o)),E=o=>m(n.abortPasskeyEnrollment(o)),d=()=>e(()=>n,[]);export{E as abortPasskeyEnrollment,x as continuePasskeyEnrollment,i as useBranding,h as useClient,p as useOrganization,d as usePasskeyEnrollment,f as usePrompt,k as useScreen,c as useTenant,l as useTransaction,j as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=passkey-enrollment.js.map
|