@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":"login-id.js","sources":["../../src/screens/login-id.tsx"],"sourcesContent":["import LoginId from '@auth0/auth0-acul-js/login-id';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginIdMembers,\n LoginOptions,\n FederatedLoginOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/login-id';\n\n// Register the singleton instance of LoginId\nconst instance = registerScreen<LoginIdMembers>(LoginId)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginIdMembers>(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 login = (payload: LoginOptions) => withError(instance.login(payload));\nexport const federatedLogin = (payload: FederatedLoginOptions) =>\n withError(instance.federatedLogin(payload));\nexport const passkeyLogin = (payload?: CustomOptions) => withError(instance.passkeyLogin(payload));\nexport const pickCountryCode = (payload?: CustomOptions) =>\n withError(instance.pickCountryCode(payload));\n\n// Utility Hooks\nexport { useLoginIdentifiers } from '../hooks/utility/login-identifiers';\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 LoginId\nexport const useLoginId = (): LoginIdMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","LoginId","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","login","payload","federatedLogin","passkeyLogin","pickCountryCode","useLoginId","useMemo"],"mappings":"+eAeA,MAAMA,EAAWC,EAA+BC,IAG1CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA6BN,IACpCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAASC,GAA0Bd,EAAUH,EAASgB,MAAMC,IAC5DC,EAAkBD,GAC7Bd,EAAUH,EAASkB,eAAeD,IACvBE,EAAgBF,GAA4Bd,EAAUH,EAASmB,aAAaF,IAC5EG,EAAmBH,GAC9Bd,EAAUH,EAASoB,gBAAgBH,IAiBxBI,EAAa,IAAsBC,EAAQ,IAAMtB,EAAU"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { LoginPasswordMembers, LoginPasswordOptions, FederatedLoginOptions } from '@auth0/auth0-acul-js/login-password';
|
|
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").ScreenMembersOnLoginPassword, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembersOnLoginPassword, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const login: (payload: LoginPasswordOptions) => void | Promise<void>;
|
|
4
|
+
export declare const federatedLogin: (payload: FederatedLoginOptions) => void | Promise<void>;
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
6
|
+
export declare const useLoginPassword: () => LoginPasswordMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/login-password";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:d,useUntrustedData:x}=u,g=o=>m(n.login(o)),k=o=>m(n.federatedLogin(o)),l=()=>r(()=>n,[]);export{k as federatedLogin,g as login,c as useBranding,h as useClient,l as useLoginPassword,p as useOrganization,f as usePrompt,j as useScreen,i as useTenant,d as useTransaction,x as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=login-password.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login-password.js","sources":["../../src/screens/login-password.tsx"],"sourcesContent":["import LoginPassword from '@auth0/auth0-acul-js/login-password';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginPasswordMembers,\n LoginPasswordOptions,\n FederatedLoginOptions,\n} from '@auth0/auth0-acul-js/login-password';\n\n// Register the singleton instance of LoginPassword\nconst instance = registerScreen<LoginPasswordMembers>(LoginPassword)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginPasswordMembers>(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 login = (payload: LoginPasswordOptions) => withError(instance.login(payload));\nexport const federatedLogin = (payload: FederatedLoginOptions) =>\n withError(instance.federatedLogin(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 LoginPassword\nexport const useLoginPassword = (): LoginPasswordMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","LoginPassword","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","login","payload","federatedLogin","useLoginPassword","useMemo"],"mappings":"8aAcA,MAAMA,EAAWC,EAAqCC,IAGhDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAmCN,IAC1CO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAASC,GAAkCd,EAAUH,EAASgB,MAAMC,IACpEC,EAAkBD,GAC7Bd,EAAUH,EAASkB,eAAeD,IAcvBE,EAAmB,IAA4BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LoginPasswordlessEmailCodeMembers, SubmitCodeOptions, CustomOptions } from '@auth0/auth0-acul-js/login-passwordless-email-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").ScreenMembersOnLoginPasswordlessEmailCode, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembersOnLoginPasswordlessEmailCode, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const submitCode: (payload: SubmitCodeOptions) => void | Promise<void>;
|
|
4
|
+
export declare const resendCode: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export { useResend } from '../hooks/utility/resend-manager';
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
7
|
+
export declare const useLoginPasswordlessEmailCode: () => LoginPasswordlessEmailCodeMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@auth0/auth0-acul-js/login-passwordless-email-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";export{useResend}from"../hooks/utility/resend-manager.js";const n=t(e),{withError:m}=r,u=new s(n),{useUser:a,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:d,useScreen:f,useTransaction:j,useUntrustedData:x}=u,k=e=>m(n.submitCode(e)),l=e=>m(n.resendCode(e)),g=()=>o(()=>n,[]);export{l as resendCode,k as submitCode,c as useBranding,h as useClient,g as useLoginPasswordlessEmailCode,p as useOrganization,d as usePrompt,f as useScreen,i as useTenant,j as useTransaction,x as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=login-passwordless-email-code.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login-passwordless-email-code.js","sources":["../../src/screens/login-passwordless-email-code.tsx"],"sourcesContent":["import LoginPasswordlessEmailCode from '@auth0/auth0-acul-js/login-passwordless-email-code';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginPasswordlessEmailCodeMembers,\n SubmitCodeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/login-passwordless-email-code';\n\n// Register the singleton instance of LoginPasswordlessEmailCode\nconst instance = registerScreen<LoginPasswordlessEmailCodeMembers>(LoginPasswordlessEmailCode)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginPasswordlessEmailCodeMembers>(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 submitCode = (payload: SubmitCodeOptions) => withError(instance.submitCode(payload));\nexport const resendCode = (payload?: CustomOptions) => withError(instance.resendCode(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 LoginPasswordlessEmailCode\nexport const useLoginPasswordlessEmailCode = (): LoginPasswordlessEmailCodeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","LoginPasswordlessEmailCode","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","submitCode","payload","resendCode","useLoginPasswordlessEmailCode","useMemo"],"mappings":"ufAcA,MAAMA,EAAWC,EAAkDC,IAG7DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAgDN,IACvDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAcC,GAA+Bd,EAAUH,EAASgB,WAAWC,IAC3EC,EAAcD,GAA4Bd,EAAUH,EAASkB,WAAWD,IAiBxEE,EAAgC,IAC3CC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LoginPasswordlessSmsOtpMembers, SubmitOTPOptions, CustomOptions } from '@auth0/auth0-acul-js/login-passwordless-sms-otp';
|
|
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").ScreenMembersOnLoginPasswordlessSmsOtp, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembersOnLoginPasswordlessSmsOtp, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const submitOTP: (payload: SubmitOTPOptions) => void | Promise<void>;
|
|
4
|
+
export declare const resendOTP: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export { useResend } from '../hooks/utility/resend-manager';
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
7
|
+
export declare const useLoginPasswordlessSmsOtp: () => LoginPasswordlessSmsOtpMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/login-passwordless-sms-otp";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";export{useResend}from"../hooks/utility/resend-manager.js";const n=t(o),{withError:m}=r,u=new s(n),{useUser:a,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:d,useUntrustedData:x}=u,k=o=>m(n.submitOTP(o)),l=o=>m(n.resendOTP(o)),T=()=>e(()=>n,[]);export{l as resendOTP,k as submitOTP,c as useBranding,h as useClient,T as useLoginPasswordlessSmsOtp,p as useOrganization,f as usePrompt,j as useScreen,i as useTenant,d as useTransaction,x as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=login-passwordless-sms-otp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login-passwordless-sms-otp.js","sources":["../../src/screens/login-passwordless-sms-otp.tsx"],"sourcesContent":["import LoginPasswordlessSmsOtp from '@auth0/auth0-acul-js/login-passwordless-sms-otp';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginPasswordlessSmsOtpMembers,\n SubmitOTPOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/login-passwordless-sms-otp';\n\n// Register the singleton instance of LoginPasswordlessSmsOtp\nconst instance = registerScreen<LoginPasswordlessSmsOtpMembers>(LoginPasswordlessSmsOtp)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginPasswordlessSmsOtpMembers>(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 submitOTP = (payload: SubmitOTPOptions) => withError(instance.submitOTP(payload));\nexport const resendOTP = (payload?: CustomOptions) => withError(instance.resendOTP(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 LoginPasswordlessSmsOtp\nexport const useLoginPasswordlessSmsOtp = (): LoginPasswordlessSmsOtpMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","LoginPasswordlessSmsOtp","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","submitOTP","payload","resendOTP","useLoginPasswordlessSmsOtp","useMemo"],"mappings":"ofAcA,MAAMA,EAAWC,EAA+CC,IAG1DC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA6CN,IACpDO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAaC,GAA8Bd,EAAUH,EAASgB,UAAUC,IACxEC,EAAaD,GAA4Bd,EAAUH,EAASkB,UAAUD,IAiBtEE,EAA6B,IACxCC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { LoginMembers, LoginOptions, FederatedLoginOptions, CustomOptions } from '@auth0/auth0-acul-js/login';
|
|
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").ScreenMembersOnLogin, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembersOnLogin, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const login: (payload: LoginOptions) => void | Promise<void>;
|
|
4
|
+
export declare const federatedLogin: (payload: FederatedLoginOptions) => void | Promise<void>;
|
|
5
|
+
export declare const pickCountryCode: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
|
+
export { useLoginIdentifiers } from '../hooks/utility/login-identifiers';
|
|
7
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
8
|
+
export declare const useLogin: () => LoginMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/login";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";export{useLoginIdentifiers}from"../hooks/utility/login-identifiers.js";import{registerScreen as t}from"../state/instance-store.js";const n=t(o),{withError:i}=r,m=new s(n),{useUser:u,useTenant:a,useBranding:c,useClient:h,useOrganization:f,usePrompt:p,useScreen:d,useTransaction:j,useUntrustedData:g}=m,k=o=>i(n.login(o)),x=o=>i(n.federatedLogin(o)),l=o=>i(n.pickCountryCode(o)),C=()=>e(()=>n,[]);export{x as federatedLogin,k as login,l as pickCountryCode,c as useBranding,h as useClient,C as useLogin,f as useOrganization,p as usePrompt,d as useScreen,a as useTenant,j as useTransaction,g as useUntrustedData,u as useUser};
|
|
2
|
+
//# sourceMappingURL=login.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login.js","sources":["../../src/screens/login.tsx"],"sourcesContent":["import Login from '@auth0/auth0-acul-js/login';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n LoginMembers,\n LoginOptions,\n FederatedLoginOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/login';\n\n// Register the singleton instance of Login\nconst instance = registerScreen<LoginMembers>(Login)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LoginMembers>(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 login = (payload: LoginOptions) => withError(instance.login(payload));\nexport const federatedLogin = (payload: FederatedLoginOptions) =>\n withError(instance.federatedLogin(payload));\nexport const pickCountryCode = (payload?: CustomOptions) =>\n withError(instance.pickCountryCode(payload));\n\n// Utility Hooks\nexport { useLoginIdentifiers } from '../hooks/utility/login-identifiers';\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 Login\nexport const useLogin = (): LoginMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","Login","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","login","payload","federatedLogin","pickCountryCode","useLogin","useMemo"],"mappings":"4eAeA,MAAMA,EAAWC,EAA6BC,IAGxCC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA2BN,IAClCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAASC,GAA0Bd,EAAUH,EAASgB,MAAMC,IAC5DC,EAAkBD,GAC7Bd,EAAUH,EAASkB,eAAeD,IACvBE,EAAmBF,GAC9Bd,EAAUH,EAASmB,gBAAgBF,IAiBxBG,EAAW,IAAoBC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { LogoutAbortedMembers } from '@auth0/auth0-acul-js/logout-aborted';
|
|
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 { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
4
|
+
export declare const useLogoutAborted: () => LogoutAbortedMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@auth0/auth0-acul-js/logout-aborted";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as r}from"../hooks/context/index.js";import{registerScreen as s}from"../state/instance-store.js";const t=s(e),n=new r(t),{useUser:u,useTenant:m,useBranding:a,useClient:c,useOrganization:i,usePrompt:h,useScreen:p,useTransaction:f,useUntrustedData:j}=n,x=()=>o(()=>t,[]);export{a as useBranding,c as useClient,x as useLogoutAborted,i as useOrganization,h as usePrompt,p as useScreen,m as useTenant,f as useTransaction,j as useUntrustedData,u as useUser};
|
|
2
|
+
//# sourceMappingURL=logout-aborted.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logout-aborted.js","sources":["../../src/screens/logout-aborted.tsx"],"sourcesContent":["import LogoutAborted from '@auth0/auth0-acul-js/logout-aborted';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutAbortedMembers } from '@auth0/auth0-acul-js/logout-aborted';\n\n// Register the singleton instance of LogoutAborted\nconst instance = registerScreen<LogoutAbortedMembers>(LogoutAborted)!;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutAbortedMembers>(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// 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 LogoutAborted\nexport const useLogoutAborted = (): LogoutAbortedMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","LogoutAborted","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useLogoutAborted","useMemo"],"mappings":"qXASA,MAAMA,EAAWC,EAAqCC,GAGhDC,EAAU,IAAIC,EAAmCJ,IAC1CK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAcSW,EAAmB,IAA4BC,EAAQ,IAAMf,EAAU"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { LogoutCompleteMembers } from '@auth0/auth0-acul-js/logout-complete';
|
|
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 { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
4
|
+
export declare const useLogoutComplete: () => LogoutCompleteMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@auth0/auth0-acul-js/logout-complete";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as r}from"../hooks/context/index.js";import{registerScreen as s}from"../state/instance-store.js";const t=s(e),n=new r(t),{useUser:m,useTenant:u,useBranding:a,useClient:c,useOrganization:i,usePrompt:h,useScreen:p,useTransaction:f,useUntrustedData:j}=n,x=()=>o(()=>t,[]);export{a as useBranding,c as useClient,x as useLogoutComplete,i as useOrganization,h as usePrompt,p as useScreen,u as useTenant,f as useTransaction,j as useUntrustedData,m as useUser};
|
|
2
|
+
//# sourceMappingURL=logout-complete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logout-complete.js","sources":["../../src/screens/logout-complete.tsx"],"sourcesContent":["import LogoutComplete from '@auth0/auth0-acul-js/logout-complete';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutCompleteMembers } from '@auth0/auth0-acul-js/logout-complete';\n\n// Register the singleton instance of LogoutComplete\nconst instance = registerScreen<LogoutCompleteMembers>(LogoutComplete)!;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutCompleteMembers>(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// 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 LogoutComplete\nexport const useLogoutComplete = (): LogoutCompleteMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","LogoutComplete","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useLogoutComplete","useMemo"],"mappings":"sXASA,MAAMA,EAAWC,EAAsCC,GAGjDC,EAAU,IAAIC,EAAoCJ,IAC3CK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAcSW,EAAoB,IAA6BC,EAAQ,IAAMf,EAAU"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { LogoutMembers, ConfirmLogoutOptions } from '@auth0/auth0-acul-js/logout';
|
|
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 confirmLogout: (payload: ConfirmLogoutOptions) => void | Promise<void>;
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
5
|
+
export declare const useLogout: () => LogoutMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/logout";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:x,useUntrustedData:k}=u,g=o=>m(n.confirmLogout(o)),d=()=>r(()=>n,[]);export{g as confirmLogout,i as useBranding,h as useClient,d as useLogout,p as useOrganization,f as usePrompt,j as useScreen,c as useTenant,x as useTransaction,k as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=logout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logout.js","sources":["../../src/screens/logout.tsx"],"sourcesContent":["import Logout from '@auth0/auth0-acul-js/logout';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { LogoutMembers, ConfirmLogoutOptions } from '@auth0/auth0-acul-js/logout';\n\n// Register the singleton instance of Logout\nconst instance = registerScreen<LogoutMembers>(Logout)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<LogoutMembers>(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 confirmLogout = (payload: ConfirmLogoutOptions) =>\n withError(instance.confirmLogout(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 Logout\nexport const useLogout = (): LogoutMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","Logout","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","confirmLogout","payload","useLogout","useMemo"],"mappings":"saAUA,MAAMA,EAAWC,EAA8BC,IAGzCC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA4BN,IACnCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAiBC,GAC5Bd,EAAUH,EAASgB,cAAcC,IActBC,EAAY,IAAqBC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MfaBeginEnrollOptionsMembers, MfaEnrollOptions } from '@auth0/auth0-acul-js/mfa-begin-enroll-options';
|
|
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 enroll: (payload: MfaEnrollOptions) => void | Promise<void>;
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
5
|
+
export declare const useMfaBeginEnrollOptions: () => MfaBeginEnrollOptionsMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-begin-enroll-options";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:l,useUntrustedData:x}=u,k=o=>m(n.enroll(o)),d=()=>r(()=>n,[]);export{k as enroll,c as useBranding,h as useClient,d as useMfaBeginEnrollOptions,p as useOrganization,f as usePrompt,j as useScreen,i as useTenant,l as useTransaction,x as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-begin-enroll-options.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-begin-enroll-options.js","sources":["../../src/screens/mfa-begin-enroll-options.tsx"],"sourcesContent":["import MfaBeginEnrollOptions from '@auth0/auth0-acul-js/mfa-begin-enroll-options';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaBeginEnrollOptionsMembers,\n MfaEnrollOptions,\n} from '@auth0/auth0-acul-js/mfa-begin-enroll-options';\n\n// Register the singleton instance of MfaBeginEnrollOptions\nconst instance = registerScreen<MfaBeginEnrollOptionsMembers>(MfaBeginEnrollOptions)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaBeginEnrollOptionsMembers>(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: MfaEnrollOptions) => withError(instance.enroll(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 MfaBeginEnrollOptions\nexport const useMfaBeginEnrollOptions = (): MfaBeginEnrollOptionsMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaBeginEnrollOptions","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","enroll","payload","useMfaBeginEnrollOptions","useMemo"],"mappings":"wbAaA,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,EAAUC,GAA8Bd,EAAUH,EAASgB,OAAOC,IAclEC,EAA2B,IACtCC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MfaCountryCodesMembers, SelectCountryCodeOptions, CustomOptions } from '@auth0/auth0-acul-js/mfa-country-codes';
|
|
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").ScreenMembersOnMfaCountryCodes, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const selectCountryCode: (payload: SelectCountryCodeOptions) => void | Promise<void>;
|
|
4
|
+
export declare const goBack: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
6
|
+
export declare const useMfaCountryCodes: () => MfaCountryCodesMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-country-codes";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:c,useTenant:a,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:k,useUntrustedData:x}=u,d=o=>m(n.selectCountryCode(o)),C=o=>m(n.goBack(o)),g=()=>r(()=>n,[]);export{C as goBack,d as selectCountryCode,i as useBranding,h as useClient,g as useMfaCountryCodes,p as useOrganization,f as usePrompt,j as useScreen,a as useTenant,k as useTransaction,x as useUntrustedData,c as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-country-codes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-country-codes.js","sources":["../../src/screens/mfa-country-codes.tsx"],"sourcesContent":["import MfaCountryCodes from '@auth0/auth0-acul-js/mfa-country-codes';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaCountryCodesMembers,\n SelectCountryCodeOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-country-codes';\n\n// Register the singleton instance of MfaCountryCodes\nconst instance = registerScreen<MfaCountryCodesMembers>(MfaCountryCodes)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaCountryCodesMembers>(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 selectCountryCode = (payload: SelectCountryCodeOptions) =>\n withError(instance.selectCountryCode(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 MfaCountryCodes\nexport const useMfaCountryCodes = (): MfaCountryCodesMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaCountryCodes","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectCountryCode","payload","goBack","useMfaCountryCodes","useMemo"],"mappings":"ibAcA,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,EAAqBC,GAChCd,EAAUH,EAASgB,kBAAkBC,IAC1BC,EAAUD,GAA4Bd,EAAUH,EAASkB,OAAOD,IAchEE,EAAqB,IAA8BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MfaDetectBrowserCapabilitiesMembers, CustomOptions } from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';
|
|
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 detectCapabilities: (payload: CustomOptions) => void | Promise<void>;
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
5
|
+
export declare const useMfaDetectBrowserCapabilities: () => MfaDetectBrowserCapabilitiesMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@auth0/auth0-acul-js/mfa-detect-browser-capabilities";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 m=t(e),{withError:n}=r,a=new s(m),{useUser:u,useTenant:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:d}=a,k=e=>n(m.detectCapabilities(e)),l=()=>o(()=>m,[]);export{k as detectCapabilities,c as useBranding,h as useClient,l as useMfaDetectBrowserCapabilities,p as useOrganization,f as usePrompt,j as useScreen,i as useTenant,x as useTransaction,d as useUntrustedData,u as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-detect-browser-capabilities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-detect-browser-capabilities.js","sources":["../../src/screens/mfa-detect-browser-capabilities.tsx"],"sourcesContent":["import MfaDetectBrowserCapabilities from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaDetectBrowserCapabilitiesMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';\n\n// Register the singleton instance of MfaDetectBrowserCapabilities\nconst instance = registerScreen<MfaDetectBrowserCapabilitiesMembers>(MfaDetectBrowserCapabilities)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaDetectBrowserCapabilitiesMembers>(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 detectCapabilities = (payload: CustomOptions) =>\n withError(instance.detectCapabilities(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 MfaDetectBrowserCapabilities\nexport const useMfaDetectBrowserCapabilities = (): MfaDetectBrowserCapabilitiesMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaDetectBrowserCapabilities","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","detectCapabilities","payload","useMfaDetectBrowserCapabilities","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,EAAsBC,GACjCd,EAAUH,EAASgB,mBAAmBC,IAc3BC,EAAkC,IAC7CC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { MfaEmailChallengeMembers, ContinueOptions, ResendCodeOptions, TryAnotherMethodOptions } from '@auth0/auth0-acul-js/mfa-email-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").ScreenMembersOnMfaEmailChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembersOnMfaEmailChallenge;
|
|
3
|
+
export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
|
|
4
|
+
export declare const resendCode: (payload?: ResendCodeOptions) => void | Promise<void>;
|
|
5
|
+
export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
6
|
+
export { useResend } from '../hooks/utility/resend-manager';
|
|
7
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
8
|
+
export declare const useMfaEmailChallenge: () => MfaEmailChallengeMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@auth0/auth0-acul-js/mfa-email-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:i,useBranding:c,useClient:h,useOrganization:p,usePrompt:f,useScreen:d,useTransaction:j,useUntrustedData:x}=u,k=e=>m(n.continue(e)),l=e=>m(n.resendCode(e)),g=e=>m(n.tryAnotherMethod(e)),C=()=>o(()=>n,[]);export{k as continueMethod,l as resendCode,g as tryAnotherMethod,c as useBranding,h as useClient,C as useMfaEmailChallenge,p as useOrganization,f as usePrompt,d as useScreen,i as useTenant,j as useTransaction,x as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-email-challenge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-email-challenge.js","sources":["../../src/screens/mfa-email-challenge.tsx"],"sourcesContent":["import MfaEmailChallenge from '@auth0/auth0-acul-js/mfa-email-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaEmailChallengeMembers,\n ContinueOptions,\n ResendCodeOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-email-challenge';\n\n// Register the singleton instance of MfaEmailChallenge\nconst instance = registerScreen<MfaEmailChallengeMembers>(MfaEmailChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEmailChallengeMembers>(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 resendCode = (payload?: ResendCodeOptions) => withError(instance.resendCode(payload));\nexport const tryAnotherMethod = (payload?: TryAnotherMethodOptions) =>\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 MfaEmailChallenge\nexport const useMfaEmailChallenge = (): MfaEmailChallengeMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaEmailChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","resendCode","tryAnotherMethod","useMfaEmailChallenge","useMemo"],"mappings":"6eAeA,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,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAcF,GAAgCd,EAAUH,EAASmB,WAAWF,IAC5EG,EAAoBH,GAC/Bd,EAAUH,EAASoB,iBAAiBH,IAiBzBI,EAAuB,IAAgCC,EAAQ,IAAMtB,EAAU"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MfaEmailListMembers, SelectMfaEmailOptions, CustomOptions } from '@auth0/auth0-acul-js/mfa-email-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").ScreenMembersOnMfaEmailList, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const selectMfaEmail: (payload: SelectMfaEmailOptions) => void | Promise<void>;
|
|
4
|
+
export declare const goBack: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
6
|
+
export declare const useMfaEmailList: () => MfaEmailListMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-email-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,a=new s(m),{useUser:u,useTenant:c,useBranding:i,useClient:h,useOrganization:f,usePrompt:p,useScreen:j,useTransaction:k,useUntrustedData:l}=a,x=o=>n(m.selectMfaEmail(o)),d=o=>n(m.goBack(o)),g=()=>e(()=>m,[]);export{d as goBack,x as selectMfaEmail,i as useBranding,h as useClient,g as useMfaEmailList,f as useOrganization,p as usePrompt,j as useScreen,c as useTenant,k as useTransaction,l as useUntrustedData,u as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-email-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-email-list.js","sources":["../../src/screens/mfa-email-list.tsx"],"sourcesContent":["import MfaEmailList from '@auth0/auth0-acul-js/mfa-email-list';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaEmailListMembers,\n SelectMfaEmailOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-email-list';\n\n// Register the singleton instance of MfaEmailList\nconst instance = registerScreen<MfaEmailListMembers>(MfaEmailList)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEmailListMembers>(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 selectMfaEmail = (payload: SelectMfaEmailOptions) =>\n withError(instance.selectMfaEmail(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 MfaEmailList\nexport const useMfaEmailList = (): MfaEmailListMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaEmailList","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","selectMfaEmail","payload","goBack","useMfaEmailList","useMemo"],"mappings":"8aAcA,MAAMA,EAAWC,EAAoCC,IAG/CC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAkCN,IACzCO,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAGSW,EAAkBC,GAC7Bd,EAAUH,EAASgB,eAAeC,IACvBC,EAAUD,GAA4Bd,EAAUH,EAASkB,OAAOD,IAchEE,EAAkB,IAA2BC,EAAQ,IAAMpB,EAAU"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { MfaEnrollResultMembers } from '@auth0/auth0-acul-js/mfa-enroll-result';
|
|
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").ScreenMembersOnMfaEnrollResult, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
4
|
+
export declare const useMfaEnrollResult: () => MfaEnrollResultMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@auth0/auth0-acul-js/mfa-enroll-result";import{useMemo as o}from"react";export{useAuth0Themes}from"../hooks/common/auth0-themes.js";export{useCurrentScreen}from"../hooks/common/current-screen.js";export{useErrors}from"../hooks/common/errors.js";import{ContextHooks as r}from"../hooks/context/index.js";import{registerScreen as s}from"../state/instance-store.js";const t=s(e),n=new r(t),{useUser:m,useTenant:u,useBranding:a,useClient:c,useOrganization:i,usePrompt:h,useScreen:p,useTransaction:f,useUntrustedData:j}=n,x=()=>o(()=>t,[]);export{a as useBranding,c as useClient,x as useMfaEnrollResult,i as useOrganization,h as usePrompt,p as useScreen,u as useTenant,f as useTransaction,j as useUntrustedData,m as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-enroll-result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-enroll-result.js","sources":["../../src/screens/mfa-enroll-result.tsx"],"sourcesContent":["import MfaEnrollResult from '@auth0/auth0-acul-js/mfa-enroll-result';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type { MfaEnrollResultMembers } from '@auth0/auth0-acul-js/mfa-enroll-result';\n\n// Register the singleton instance of MfaEnrollResult\nconst instance = registerScreen<MfaEnrollResultMembers>(MfaEnrollResult)!;\n\n// Context hooks\nconst factory = new ContextHooks<MfaEnrollResultMembers>(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// 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 MfaEnrollResult\nexport const useMfaEnrollResult = (): MfaEnrollResultMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaEnrollResult","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","useMfaEnrollResult","useMemo"],"mappings":"wXASA,MAAMA,EAAWC,EAAuCC,GAGlDC,EAAU,IAAIC,EAAqCJ,IAC5CK,QACXA,EAAOC,UACPA,EAASC,YACTA,EAAWC,UACXA,EAASC,gBACTA,EAAeC,UACfA,EAASC,UACTA,EAASC,eACTA,EAAcC,iBACdA,GACEV,EAcSW,EAAqB,IAA8BC,EAAQ,IAAMf,EAAU"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MfaLoginOptionsMembers, LoginEnrollOptions } from '@auth0/auth0-acul-js/mfa-login-options';
|
|
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").ScreenMembersOnMfaLoginOptions, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const enroll: (payload: LoginEnrollOptions) => void | Promise<void>;
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
5
|
+
export declare const useMfaLoginOptions: () => MfaLoginOptionsMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-login-options";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,l=o=>m(n.enroll(o)),d=()=>r(()=>n,[]);export{l as enroll,c as useBranding,h as useClient,d as useMfaLoginOptions,p as useOrganization,f as usePrompt,j as useScreen,i as useTenant,x as useTransaction,k as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-login-options.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-login-options.js","sources":["../../src/screens/mfa-login-options.tsx"],"sourcesContent":["import MfaLoginOptions from '@auth0/auth0-acul-js/mfa-login-options';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaLoginOptionsMembers,\n LoginEnrollOptions,\n} from '@auth0/auth0-acul-js/mfa-login-options';\n\n// Register the singleton instance of MfaLoginOptions\nconst instance = registerScreen<MfaLoginOptionsMembers>(MfaLoginOptions)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaLoginOptionsMembers>(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: LoginEnrollOptions) => withError(instance.enroll(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 MfaLoginOptions\nexport const useMfaLoginOptions = (): MfaLoginOptionsMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaLoginOptions","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","enroll","payload","useMfaLoginOptions","useMemo"],"mappings":"ibAaA,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,EAAUC,GAAgCd,EAAUH,EAASgB,OAAOC,IAcpEC,EAAqB,IAA8BC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MfaOtpChallengeMembers, ContinueOptions, TryAnotherMethodOptions } from '@auth0/auth0-acul-js/mfa-otp-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").ScreenMembersOnMfaOtpChallenge, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembersOnMfaOtpChallenge;
|
|
3
|
+
export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
|
|
4
|
+
export declare const tryAnotherMethod: (payload?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
6
|
+
export declare const useMfaOtpChallenge: () => MfaOtpChallengeMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-otp-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 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:a,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:k}=u,d=o=>m(n.continue(o)),l=o=>m(n.tryAnotherMethod(o)),g=()=>e(()=>n,[]);export{d as continueMethod,l as tryAnotherMethod,h as useBranding,i as useClient,g as useMfaOtpChallenge,p as useOrganization,f as usePrompt,j as useScreen,c as useTenant,x as useTransaction,k as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-otp-challenge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-otp-challenge.js","sources":["../../src/screens/mfa-otp-challenge.tsx"],"sourcesContent":["import MfaOtpChallenge from '@auth0/auth0-acul-js/mfa-otp-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaOtpChallengeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-otp-challenge';\n\n// Register the singleton instance of MfaOtpChallenge\nconst instance = registerScreen<MfaOtpChallengeMembers>(MfaOtpChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaOtpChallengeMembers>(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?: 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 MfaOtpChallenge\nexport const useMfaOtpChallenge = (): MfaOtpChallengeMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaOtpChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useMfaOtpChallenge","useMemo"],"mappings":"ibAcA,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,EAAkBC,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EAAqB,IAA8BC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MfaOtpEnrollmentCodeMembers, ContinueOptions, TryAnotherMethodOptions } from '@auth0/auth0-acul-js/mfa-otp-enrollment-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").ScreenMembersOnMfaOtpEnrollmentCode, 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?: TryAnotherMethodOptions) => void | Promise<void>;
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
6
|
+
export declare const useMfaOtpEnrollmentCode: () => MfaOtpEnrollmentCodeMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-otp-enrollment-code";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:a,useTenant:c,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)),T=()=>e(()=>n,[]);export{k as continueMethod,l as tryAnotherMethod,h as useBranding,i as useClient,T as useMfaOtpEnrollmentCode,p as useOrganization,f as usePrompt,j as useScreen,c as useTenant,x as useTransaction,d as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-otp-enrollment-code.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-otp-enrollment-code.js","sources":["../../src/screens/mfa-otp-enrollment-code.tsx"],"sourcesContent":["import MfaOtpEnrollmentCode from '@auth0/auth0-acul-js/mfa-otp-enrollment-code';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaOtpEnrollmentCodeMembers,\n ContinueOptions,\n TryAnotherMethodOptions,\n} from '@auth0/auth0-acul-js/mfa-otp-enrollment-code';\n\n// Register the singleton instance of MfaOtpEnrollmentCode\nconst instance = registerScreen<MfaOtpEnrollmentCodeMembers>(MfaOtpEnrollmentCode)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaOtpEnrollmentCodeMembers>(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?: 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 MfaOtpEnrollmentCode\nexport const useMfaOtpEnrollmentCode = (): MfaOtpEnrollmentCodeMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaOtpEnrollmentCode","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","tryAnotherMethod","useMfaOtpEnrollmentCode","useMemo"],"mappings":"ubAcA,MAAMA,EAAWC,EAA4CC,IAGvDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA0CN,IACjDO,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,EAA0B,IACrCC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MfaOtpEnrollmentQrMembers, CustomOptions, ContinueOptions } from '@auth0/auth0-acul-js/mfa-otp-enrollment-qr';
|
|
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").ScreenMembersOnMfaOtpEnrollmentQr, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const toggleView: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
|
+
export declare const continueMethod: (payload: ContinueOptions) => void | Promise<void>;
|
|
5
|
+
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
7
|
+
export declare const useMfaOtpEnrollmentQr: () => MfaOtpEnrollmentQrMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-otp-enrollment-qr";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:a,useTenant:c,useBranding:i,useClient:h,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:x,useUntrustedData:k}=u,l=o=>m(n.toggleView(o)),d=o=>m(n.continue(o)),g=o=>m(n.tryAnotherMethod(o)),w=()=>e(()=>n,[]);export{d as continueMethod,l as toggleView,g as tryAnotherMethod,i as useBranding,h as useClient,w as useMfaOtpEnrollmentQr,p as useOrganization,f as usePrompt,j as useScreen,c as useTenant,x as useTransaction,k as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-otp-enrollment-qr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-otp-enrollment-qr.js","sources":["../../src/screens/mfa-otp-enrollment-qr.tsx"],"sourcesContent":["import MfaOtpEnrollmentQr from '@auth0/auth0-acul-js/mfa-otp-enrollment-qr';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaOtpEnrollmentQrMembers,\n CustomOptions,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-otp-enrollment-qr';\n\n// Register the singleton instance of MfaOtpEnrollmentQr\nconst instance = registerScreen<MfaOtpEnrollmentQrMembers>(MfaOtpEnrollmentQr)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaOtpEnrollmentQrMembers>(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 toggleView = (payload?: CustomOptions) => withError(instance.toggleView(payload));\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 MfaOtpEnrollmentQr\nexport const useMfaOtpEnrollmentQr = (): MfaOtpEnrollmentQrMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaOtpEnrollmentQr","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","toggleView","payload","continueMethod","continue","tryAnotherMethod","useMfaOtpEnrollmentQr","useMemo"],"mappings":"qbAcA,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,EAAcC,GAA4Bd,EAAUH,EAASgB,WAAWC,IACxEC,EAAkBD,GAA6Bd,EAAUH,EAASmB,SAASF,IAC3EG,EAAoBH,GAC/Bd,EAAUH,EAASoB,iBAAiBH,IAczBI,EAAwB,IAAiCC,EAAQ,IAAMtB,EAAU"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MfaPhoneChallengeMembers, ContinueOptions, PickPhoneOptions, PickAuthenticatorOptions } from '@auth0/auth0-acul-js/mfa-phone-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").ScreenMembersOnMfaPhoneChallenge, 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 pickPhone: (payload?: PickPhoneOptions) => void | Promise<void>;
|
|
5
|
+
export declare const tryAnotherMethod: (payload?: PickAuthenticatorOptions) => void | Promise<void>;
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
7
|
+
export declare const useMfaPhoneChallenge: () => MfaPhoneChallengeMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-phone-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:a,useTenant:c,useBranding:h,useClient:i,useOrganization:p,usePrompt:f,useScreen:j,useTransaction:k,useUntrustedData:x}=u,d=o=>m(n.continue(o)),l=o=>m(n.pickPhone(o)),g=o=>m(n.tryAnotherMethod(o)),T=()=>e(()=>n,[]);export{d as continueMethod,l as pickPhone,g as tryAnotherMethod,h as useBranding,i as useClient,T as useMfaPhoneChallenge,p as useOrganization,f as usePrompt,j as useScreen,c as useTenant,k as useTransaction,x as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-phone-challenge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-phone-challenge.js","sources":["../../src/screens/mfa-phone-challenge.tsx"],"sourcesContent":["import MfaPhoneChallenge from '@auth0/auth0-acul-js/mfa-phone-challenge';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPhoneChallengeMembers,\n ContinueOptions,\n PickPhoneOptions,\n PickAuthenticatorOptions,\n} from '@auth0/auth0-acul-js/mfa-phone-challenge';\n\n// Register the singleton instance of MfaPhoneChallenge\nconst instance = registerScreen<MfaPhoneChallengeMembers>(MfaPhoneChallenge)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPhoneChallengeMembers>(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 pickPhone = (payload?: PickPhoneOptions) => withError(instance.pickPhone(payload));\nexport const tryAnotherMethod = (payload?: PickAuthenticatorOptions) =>\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 MfaPhoneChallenge\nexport const useMfaPhoneChallenge = (): MfaPhoneChallengeMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaPhoneChallenge","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","pickPhone","tryAnotherMethod","useMfaPhoneChallenge","useMemo"],"mappings":"mbAeA,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,GAA6Bd,EAAUH,EAASkB,SAASD,IAC3EE,EAAaF,GAA+Bd,EAAUH,EAASmB,UAAUF,IACzEG,EAAoBH,GAC/Bd,EAAUH,EAASoB,iBAAiBH,IAczBI,EAAuB,IAAgCC,EAAQ,IAAMtB,EAAU"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MfaPhoneEnrollmentMembers, CustomOptions, ContinueOptions } from '@auth0/auth0-acul-js/mfa-phone-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 pickCountryCode: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
|
+
export declare const continueEnrollment: (payload: ContinueOptions) => void | Promise<void>;
|
|
5
|
+
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
7
|
+
export declare const useMfaPhoneEnrollment: () => MfaPhoneEnrollmentMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-phone-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:a,useTenant:c,useBranding:h,useClient:i,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=()=>e(()=>n,[]);export{d as continueEnrollment,x as pickCountryCode,C as tryAnotherMethod,h as useBranding,i as useClient,E as useMfaPhoneEnrollment,p as useOrganization,f as usePrompt,j as useScreen,c as useTenant,k as useTransaction,l as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-phone-enrollment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-phone-enrollment.js","sources":["../../src/screens/mfa-phone-enrollment.tsx"],"sourcesContent":["import MfaPhoneEnrollment from '@auth0/auth0-acul-js/mfa-phone-enrollment';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPhoneEnrollmentMembers,\n CustomOptions,\n ContinueOptions,\n} from '@auth0/auth0-acul-js/mfa-phone-enrollment';\n\n// Register the singleton instance of MfaPhoneEnrollment\nconst instance = registerScreen<MfaPhoneEnrollmentMembers>(MfaPhoneEnrollment)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPhoneEnrollmentMembers>(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: ContinueOptions) =>\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 MfaPhoneEnrollment\nexport const useMfaPhoneEnrollment = (): MfaPhoneEnrollmentMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaPhoneEnrollment","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","pickCountryCode","payload","continueEnrollment","tryAnotherMethod","useMfaPhoneEnrollment","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,EAAmBC,GAC9Bd,EAAUH,EAASgB,gBAAgBC,IACxBC,EAAsBD,GACjCd,EAAUH,EAASkB,mBAAmBD,IAC3BE,EAAoBF,GAC/Bd,EAAUH,EAASmB,iBAAiBF,IAczBG,EAAwB,IAAiCC,EAAQ,IAAMrB,EAAU"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { MfaPushChallengePushMembers, WithRememberOptions, CustomOptions } from '@auth0/auth0-acul-js/mfa-push-challenge-push';
|
|
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").ScreenMembersOnMfaPushChallengePush, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembersOnMfaPushChallengePush;
|
|
3
|
+
export declare const continueMethod: (payload?: WithRememberOptions) => void | Promise<void>;
|
|
4
|
+
export declare const resendPushNotification: (payload?: WithRememberOptions) => void | Promise<void>;
|
|
5
|
+
export declare const enterCodeManually: (payload?: CustomOptions) => void | Promise<void>;
|
|
6
|
+
export declare const tryAnotherMethod: (payload?: CustomOptions) => void | Promise<void>;
|
|
7
|
+
export { useMfaPolling } from '../hooks/utility/polling-manager';
|
|
8
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
9
|
+
export declare const useMfaPushChallengePush: () => MfaPushChallengePushMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-push-challenge-push";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";export{useMfaPolling}from"../hooks/utility/polling-manager.js";const n=t(o),{withError:m}=r,u=new s(n),{useUser:a,useTenant:i,useBranding:h,useClient:c,useOrganization:p,usePrompt:f,useScreen:l,useTransaction:j,useUntrustedData:x}=u,d=o=>m(n.continue(o)),g=o=>m(n.resendPushNotification(o)),k=o=>m(n.enterCodeManually(o)),y=o=>m(n.tryAnotherMethod(o)),C=()=>e(()=>n,[]);export{d as continueMethod,k as enterCodeManually,g as resendPushNotification,y as tryAnotherMethod,h as useBranding,c as useClient,C as useMfaPushChallengePush,p as useOrganization,f as usePrompt,l as useScreen,i as useTenant,j as useTransaction,x as useUntrustedData,a as useUser};
|
|
2
|
+
//# sourceMappingURL=mfa-push-challenge-push.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-push-challenge-push.js","sources":["../../src/screens/mfa-push-challenge-push.tsx"],"sourcesContent":["import MfaPushChallengePush from '@auth0/auth0-acul-js/mfa-push-challenge-push';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPushChallengePushMembers,\n WithRememberOptions,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-push-challenge-push';\n\n// Register the singleton instance of MfaPushChallengePush\nconst instance = registerScreen<MfaPushChallengePushMembers>(MfaPushChallengePush)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPushChallengePushMembers>(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?: WithRememberOptions) =>\n withError(instance.continue(payload));\nexport const resendPushNotification = (payload?: WithRememberOptions) =>\n withError(instance.resendPushNotification(payload));\nexport const enterCodeManually = (payload?: CustomOptions) =>\n withError(instance.enterCodeManually(payload));\nexport const tryAnotherMethod = (payload?: CustomOptions) =>\n withError(instance.tryAnotherMethod(payload));\n\n// Utility Hooks\nexport { useMfaPolling } from '../hooks/utility/polling-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 MfaPushChallengePush\nexport const useMfaPushChallengePush = (): MfaPushChallengePushMembers =>\n useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaPushChallengePush","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","continueMethod","payload","continue","resendPushNotification","enterCodeManually","tryAnotherMethod","useMfaPushChallengePush","useMemo"],"mappings":"sfAcA,MAAMA,EAAWC,EAA4CC,IAGvDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAA0CN,IACjDO,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,EAA0BF,GACrCd,EAAUH,EAASmB,uBAAuBF,IAC/BG,EAAqBH,GAChCd,EAAUH,EAASoB,kBAAkBH,IAC1BI,EAAoBJ,GAC/Bd,EAAUH,EAASqB,iBAAiBJ,IAiBzBK,EAA0B,IACrCC,EAAQ,IAAMvB,EAAU"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MfaPushEnrollmentQrMembers, CustomOptions } from '@auth0/auth0-acul-js/mfa-push-enrollment-qr';
|
|
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").ScreenMembersOnMfaPushEnrollmentQr, useTransaction: () => import("@auth0/auth0-acul-js").TransactionMembers, useUntrustedData: () => import("@auth0/auth0-acul-js").UntrustedDataMembers;
|
|
3
|
+
export declare const pickAuthenticator: (payload?: CustomOptions) => void | Promise<void>;
|
|
4
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
5
|
+
export declare const useMfaPushEnrollmentQr: () => MfaPushEnrollmentQrMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-push-enrollment-qr";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.pickAuthenticator(o)),d=()=>r(()=>n,[]);export{l as pickAuthenticator,i as useBranding,h as useClient,d as useMfaPushEnrollmentQr,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-enrollment-qr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-push-enrollment-qr.js","sources":["../../src/screens/mfa-push-enrollment-qr.tsx"],"sourcesContent":["import MfaPushEnrollmentQr from '@auth0/auth0-acul-js/mfa-push-enrollment-qr';\nimport { useMemo } from 'react';\n\nimport { ContextHooks } from '../hooks';\nimport { errorManager } from '../hooks';\nimport { registerScreen } from '../state/instance-store';\n\nimport type {\n MfaPushEnrollmentQrMembers,\n CustomOptions,\n} from '@auth0/auth0-acul-js/mfa-push-enrollment-qr';\n\n// Register the singleton instance of MfaPushEnrollmentQr\nconst instance = registerScreen<MfaPushEnrollmentQrMembers>(MfaPushEnrollmentQr)!;\n\n// Error wrapper\nconst { withError } = errorManager;\n\n// Context hooks\nconst factory = new ContextHooks<MfaPushEnrollmentQrMembers>(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 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 MfaPushEnrollmentQr\nexport const useMfaPushEnrollmentQr = (): MfaPushEnrollmentQrMembers => useMemo(() => instance, []);\n\n// Export all types from the core SDK for this screen\n"],"names":["instance","registerScreen","MfaPushEnrollmentQr","withError","errorManager","factory","ContextHooks","useUser","useTenant","useBranding","useClient","useOrganization","usePrompt","useScreen","useTransaction","useUntrustedData","pickAuthenticator","payload","useMfaPushEnrollmentQr","useMemo"],"mappings":"sbAaA,MAAMA,EAAWC,EAA2CC,IAGtDC,UAAEA,GAAcC,EAGhBC,EAAU,IAAIC,EAAyCN,IAChDO,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,EAAyB,IAAkCC,EAAQ,IAAMnB,EAAU"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MfaPushListMembers, SelectMfaPushDeviceOptions, CustomOptions } from '@auth0/auth0-acul-js/mfa-push-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 selectMfaPushDevice: (payload: SelectMfaPushDeviceOptions) => void | Promise<void>;
|
|
4
|
+
export declare const goBack: (payload?: CustomOptions) => void | Promise<void>;
|
|
5
|
+
export { useCurrentScreen, useErrors, useAuth0Themes, type UseErrorOptions, type UseErrorsResult, type ErrorsResult, type ErrorKind, } from '../hooks';
|
|
6
|
+
export declare const useMfaPushList: () => MfaPushListMembers;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@auth0/auth0-acul-js/mfa-push-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.selectMfaPushDevice(o)),d=o=>n(m.goBack(o)),g=()=>e(()=>m,[]);export{d as goBack,l as selectMfaPushDevice,i as useBranding,h as useClient,g as useMfaPushList,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-list.js.map
|