@azure/msal-browser 4.22.1 → 4.23.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/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientNext.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.mjs +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/LocalStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/controllers/ControllerFactory.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +2 -1
- package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
- package/dist/controllers/StandardController.mjs +1 -1
- package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
- package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/TokenCache.mjs +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +1 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +3 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +38 -5
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +6 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +14 -2
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.d.ts +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +22 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +35 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +41 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +55 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +33 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +45 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +13 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +13 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +74 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +166 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.d.ts +1 -2
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +3 -4
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +10 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +21 -2
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts +27 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +127 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +21 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +31 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +31 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +3 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +3 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +6 -3
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +51 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +3 -2
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +16 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +22 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +4 -3
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts +3 -0
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +7 -3
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/index.d.ts +11 -3
- package/dist/custom-auth-path/custom_auth/index.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/index.mjs +7 -1
- package/dist/custom-auth-path/custom_auth/index.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +3 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +2 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +9 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +10 -2
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +3 -3
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +19 -2
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +11 -3
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +2 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +33 -4
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +30 -4
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts +11 -12
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +50 -30
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +9 -2
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +2 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +5 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +3 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
- package/dist/custom-auth-path/event/EventType.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/custom-auth-path/naa/TokenRequest.d.ts +1 -0
- package/dist/custom-auth-path/naa/TokenRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
- package/dist/custom-auth-path/packageMetadata.mjs +2 -2
- package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
- package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
- package/dist/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +22 -0
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +41 -0
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +33 -0
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +4 -0
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +4 -0
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +74 -0
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
- package/dist/custom_auth/core/error/MsalCustomAuthError.d.ts +1 -2
- package/dist/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +10 -0
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts +27 -0
- package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +21 -0
- package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +31 -0
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +2 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +3 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +2 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +16 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +22 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +3 -0
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/dist/custom_auth/index.d.ts +11 -3
- package/dist/custom_auth/index.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +10 -2
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +19 -2
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +11 -12
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +7 -0
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/TokenRequest.d.ts +1 -0
- package/dist/naa/TokenRequest.d.ts.map +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/lib/custom-auth-path/msal-custom-auth.cjs +794 -154
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +22 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +41 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +33 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +74 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/MsalCustomAuthError.d.ts +1 -2
- package/lib/custom-auth-path/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +10 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +27 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +21 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +31 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +3 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +16 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +22 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts +3 -0
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/index.d.ts +11 -3
- package/lib/custom-auth-path/types/custom_auth/index.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +10 -2
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +19 -2
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +11 -12
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
- package/lib/custom-auth-path/types/naa/TokenRequest.d.ts +1 -0
- package/lib/custom-auth-path/types/naa/TokenRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
- package/lib/msal-browser.cjs +67 -66
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +67 -66
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +60 -60
- package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
- package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +1 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
- package/lib/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +22 -0
- package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +41 -0
- package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +33 -0
- package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +4 -0
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +4 -0
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +74 -0
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/MsalCustomAuthError.d.ts +1 -2
- package/lib/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +10 -0
- package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +27 -0
- package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +21 -0
- package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +31 -0
- package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +2 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +3 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +2 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +16 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +22 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +3 -0
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/lib/types/custom_auth/index.d.ts +11 -3
- package/lib/types/custom_auth/index.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +10 -2
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +19 -2
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +11 -12
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +7 -0
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
- package/lib/types/naa/TokenRequest.d.ts +1 -0
- package/lib/types/naa/TokenRequest.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +2 -2
- package/src/controllers/NestedAppAuthController.ts +1 -0
- package/src/custom_auth/CustomAuthConstants.ts +1 -0
- package/src/custom_auth/controller/CustomAuthStandardController.ts +62 -14
- package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +8 -0
- package/src/custom_auth/core/auth_flow/AuthFlowResultBase.ts +14 -0
- package/src/custom_auth/core/auth_flow/AuthFlowState.ts +1 -1
- package/src/custom_auth/core/auth_flow/jit/AuthMethodDetails.ts +21 -0
- package/src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts +32 -0
- package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.ts +79 -0
- package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.ts +64 -0
- package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.ts +8 -0
- package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.ts +8 -0
- package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.ts +260 -0
- package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.ts +30 -0
- package/src/custom_auth/core/error/MsalCustomAuthError.ts +2 -5
- package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +46 -0
- package/src/custom_auth/core/interaction_client/jit/JitClient.ts +206 -0
- package/src/custom_auth/core/interaction_client/jit/parameter/JitParams.ts +29 -0
- package/src/custom_auth/core/interaction_client/jit/result/JitActionResult.ts +67 -0
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts +7 -0
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +4 -0
- package/src/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.ts +2 -0
- package/src/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.ts +95 -0
- package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +2 -1
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +20 -1
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +27 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +1 -0
- package/src/custom_auth/core/telemetry/PublicApiId.ts +5 -0
- package/src/custom_auth/index.ts +35 -4
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.ts +2 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.ts +1 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.ts +2 -0
- package/src/custom_auth/sign_in/auth_flow/result/SignInResult.ts +14 -1
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.ts +17 -2
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.ts +30 -2
- package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +1 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +50 -9
- package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +50 -12
- package/src/custom_auth/sign_in/auth_flow/state/SignInStateParameters.ts +2 -0
- package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +85 -83
- package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +16 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts +1 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts +4 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.ts +2 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.ts +2 -0
- package/src/naa/TokenRequest.ts +1 -0
- package/src/packageMetadata.ts +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +0 -21
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs +0 -24
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs.map +0 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +0 -21
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +0 -21
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +0 -1
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +0 -21
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +0 -1
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.ts +0 -43
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.23.0 2025-09-17 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { GetAccountResult } from '../get_account/auth_flow/result/GetAccountResult.mjs';
|
|
4
4
|
import { SignInResult } from '../sign_in/auth_flow/result/SignInResult.mjs';
|
|
@@ -9,13 +9,14 @@ import { UnexpectedError } from '../core/error/UnexpectedError.mjs';
|
|
|
9
9
|
import { ResetPasswordStartResult } from '../reset_password/auth_flow/result/ResetPasswordStartResult.mjs';
|
|
10
10
|
import { CustomAuthAuthority } from '../core/CustomAuthAuthority.mjs';
|
|
11
11
|
import { DefaultPackageInfo } from '../CustomAuthConstants.mjs';
|
|
12
|
-
import { SIGN_IN_CODE_SEND_RESULT_TYPE, SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE } from '../sign_in/interaction_client/result/SignInActionResult.mjs';
|
|
12
|
+
import { SIGN_IN_CODE_SEND_RESULT_TYPE, SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE, SIGN_IN_COMPLETED_RESULT_TYPE, SIGN_IN_JIT_REQUIRED_RESULT_TYPE } from '../sign_in/interaction_client/result/SignInActionResult.mjs';
|
|
13
13
|
import { SignUpClient } from '../sign_up/interaction_client/SignUpClient.mjs';
|
|
14
14
|
import { CustomAuthInterationClientFactory } from '../core/interaction_client/CustomAuthInterationClientFactory.mjs';
|
|
15
15
|
import { SIGN_UP_CODE_REQUIRED_RESULT_TYPE, SIGN_UP_PASSWORD_REQUIRED_RESULT_TYPE } from '../sign_up/interaction_client/result/SignUpActionResult.mjs';
|
|
16
16
|
import { CustomAuthApiClient } from '../core/network_client/custom_auth_api/CustomAuthApiClient.mjs';
|
|
17
17
|
import { FetchHttpClient } from '../core/network_client/http_client/FetchHttpClient.mjs';
|
|
18
18
|
import { ResetPasswordClient } from '../reset_password/interaction_client/ResetPasswordClient.mjs';
|
|
19
|
+
import { JitClient } from '../core/interaction_client/jit/JitClient.mjs';
|
|
19
20
|
import { NoCachedAccountFoundError } from '../core/error/NoCachedAccountFoundError.mjs';
|
|
20
21
|
import { ensureArgumentIsNotNullOrUndefined, ensureArgumentIsNotEmptyString, ensureArgumentIsJSONString } from '../core/utils/ArgumentValidator.mjs';
|
|
21
22
|
import { UserAlreadySignedInError } from '../core/error/UserAlreadySignedInError.mjs';
|
|
@@ -24,6 +25,7 @@ import { UnsupportedEnvironmentError } from '../core/error/UnsupportedEnvironmen
|
|
|
24
25
|
import { SignInCodeRequiredState } from '../sign_in/auth_flow/state/SignInCodeRequiredState.mjs';
|
|
25
26
|
import { SignInPasswordRequiredState } from '../sign_in/auth_flow/state/SignInPasswordRequiredState.mjs';
|
|
26
27
|
import { SignInCompletedState } from '../sign_in/auth_flow/state/SignInCompletedState.mjs';
|
|
28
|
+
import { AuthMethodRegistrationRequiredState } from '../core/auth_flow/jit/state/AuthMethodRegistrationState.mjs';
|
|
27
29
|
import { SignUpCodeRequiredState } from '../sign_up/auth_flow/state/SignUpCodeRequiredState.mjs';
|
|
28
30
|
import { SignUpPasswordRequiredState } from '../sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs';
|
|
29
31
|
import { ResetPasswordCodeRequiredState } from '../reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs';
|
|
@@ -57,6 +59,7 @@ class CustomAuthStandardController extends StandardController {
|
|
|
57
59
|
this.signUpClient = interactionClientFactory.create(SignUpClient);
|
|
58
60
|
this.resetPasswordClient =
|
|
59
61
|
interactionClientFactory.create(ResetPasswordClient);
|
|
62
|
+
this.jitClient = interactionClientFactory.create(JitClient);
|
|
60
63
|
this.cacheClient = interactionClientFactory.create(CustomAuthSilentCacheClient);
|
|
61
64
|
}
|
|
62
65
|
/*
|
|
@@ -115,6 +118,7 @@ class CustomAuthStandardController extends StandardController {
|
|
|
115
118
|
config: this.customAuthConfig,
|
|
116
119
|
signInClient: this.signInClient,
|
|
117
120
|
cacheClient: this.cacheClient,
|
|
121
|
+
jitClient: this.jitClient,
|
|
118
122
|
username: signInInputs.username,
|
|
119
123
|
codeLength: startResult.codeLength,
|
|
120
124
|
scopes: signInInputs.scopes ?? [],
|
|
@@ -133,6 +137,7 @@ class CustomAuthStandardController extends StandardController {
|
|
|
133
137
|
config: this.customAuthConfig,
|
|
134
138
|
signInClient: this.signInClient,
|
|
135
139
|
cacheClient: this.cacheClient,
|
|
140
|
+
jitClient: this.jitClient,
|
|
136
141
|
username: signInInputs.username,
|
|
137
142
|
scopes: signInInputs.scopes ?? [],
|
|
138
143
|
claims: signInInputs.claims,
|
|
@@ -150,10 +155,35 @@ class CustomAuthStandardController extends StandardController {
|
|
|
150
155
|
username: signInInputs.username,
|
|
151
156
|
claims: signInInputs.claims,
|
|
152
157
|
};
|
|
153
|
-
const
|
|
158
|
+
const submitPasswordResult = await this.signInClient.submitPassword(submitPasswordParams);
|
|
154
159
|
this.logger.verbose("Sign-in flow completed.", correlationId);
|
|
155
|
-
|
|
156
|
-
|
|
160
|
+
if (submitPasswordResult.type === SIGN_IN_COMPLETED_RESULT_TYPE) {
|
|
161
|
+
const accountInfo = new CustomAuthAccountData(submitPasswordResult.authenticationResult.account, this.customAuthConfig, this.cacheClient, this.logger, correlationId);
|
|
162
|
+
return new SignInResult(new SignInCompletedState(), accountInfo);
|
|
163
|
+
}
|
|
164
|
+
else if (submitPasswordResult.type ===
|
|
165
|
+
SIGN_IN_JIT_REQUIRED_RESULT_TYPE) {
|
|
166
|
+
// Authentication method registration is required - create AuthMethodRegistrationRequiredState
|
|
167
|
+
this.logger.verbose("Authentication method registration required for sign-in.", correlationId);
|
|
168
|
+
return new SignInResult(new AuthMethodRegistrationRequiredState({
|
|
169
|
+
correlationId: correlationId,
|
|
170
|
+
continuationToken: submitPasswordResult.continuationToken,
|
|
171
|
+
logger: this.logger,
|
|
172
|
+
config: this.customAuthConfig,
|
|
173
|
+
jitClient: this.jitClient,
|
|
174
|
+
cacheClient: this.cacheClient,
|
|
175
|
+
authMethods: submitPasswordResult.authMethods,
|
|
176
|
+
username: signInInputs.username,
|
|
177
|
+
scopes: signInInputs.scopes ?? [],
|
|
178
|
+
claims: signInInputs.claims,
|
|
179
|
+
}));
|
|
180
|
+
}
|
|
181
|
+
else {
|
|
182
|
+
// Unexpected result type
|
|
183
|
+
const result = submitPasswordResult;
|
|
184
|
+
const error = new Error(`Unexpected result type: ${result.type}`);
|
|
185
|
+
return SignInResult.createWithError(error);
|
|
186
|
+
}
|
|
157
187
|
}
|
|
158
188
|
this.logger.error("Unexpected sign-in result type. Returning error.", correlationId);
|
|
159
189
|
throw new UnexpectedError("Unknow sign-in result type", correlationId);
|
|
@@ -199,6 +229,7 @@ class CustomAuthStandardController extends StandardController {
|
|
|
199
229
|
signInClient: this.signInClient,
|
|
200
230
|
signUpClient: this.signUpClient,
|
|
201
231
|
cacheClient: this.cacheClient,
|
|
232
|
+
jitClient: this.jitClient,
|
|
202
233
|
username: signUpInputs.username,
|
|
203
234
|
codeLength: startResult.codeLength,
|
|
204
235
|
codeResendInterval: startResult.interval,
|
|
@@ -215,6 +246,7 @@ class CustomAuthStandardController extends StandardController {
|
|
|
215
246
|
signInClient: this.signInClient,
|
|
216
247
|
signUpClient: this.signUpClient,
|
|
217
248
|
cacheClient: this.cacheClient,
|
|
249
|
+
jitClient: this.jitClient,
|
|
218
250
|
username: signUpInputs.username,
|
|
219
251
|
}));
|
|
220
252
|
}
|
|
@@ -253,6 +285,7 @@ class CustomAuthStandardController extends StandardController {
|
|
|
253
285
|
signInClient: this.signInClient,
|
|
254
286
|
resetPasswordClient: this.resetPasswordClient,
|
|
255
287
|
cacheClient: this.cacheClient,
|
|
288
|
+
jitClient: this.jitClient,
|
|
256
289
|
username: resetPasswordInputs.username,
|
|
257
290
|
codeLength: startResult.codeLength,
|
|
258
291
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomAuthStandardController.mjs","sources":["../../../../../src/custom_auth/controller/CustomAuthStandardController.ts"],"sourcesContent":[null],"names":["ArgumentValidator.ensureArgumentIsNotNullOrUndefined","ArgumentValidator.ensureArgumentIsNotEmptyString","ArgumentValidator.ensureArgumentIsJSONString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;AAGG;AAoDH;;AAEG;AACG,MAAO,4BACT,SAAQ,kBAAkB,CAAA;AAU1B;;;;AAIG;IACH,WACI,CAAA,gBAA4C,EAC5C,mBAA0C,EAAA;QAE1C,KAAK,CAAC,gBAAgB,CAAC,CAAC;AAExB,QAAA,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE;AAC5B,YAAA,IAAI,CAAC,MAAM,CAAC,OAAO,CACf,oDAAoD,CACvD,CAAC;YACF,MAAM,IAAI,2BAA2B,EAAE,CAAC;AAC3C,SAAA;AAED,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAC3B,kBAAkB,CAAC,GAAG,EACtB,kBAAkB,CAAC,OAAO,CAC7B,CAAC;AACF,QAAA,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC,mB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AC;AAC1D,SAAA;KACJ;AAEO,IAAA,gBAAgB,CACpB,YAAgD,EAAA;AAEhD,QAAA,QACI,YAAY,EAAE,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE,EACnE;KACL;AAEO,IAAA,qBAAqB,CAAC,aAAqB,EAAA;AAC/C,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,iBAAiB,CAAC;AACnC,YAAA,aAAa,EAAE,aAAa;AAC/B,SAAA,CAAC,CAAC;AAEH,QAAA,IAAI,OAAO,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE;YAC3B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,6BAA6B,EAAE,aAAa,CAAC,CAAC;AAEhE,YAAA,MAAM,IAAI,wBAAwB,CAAC,aAAa,CAAC,CAAC;AACrD,SAAA;KACJ;AACJ;;;;"}
|
|
1
|
+
{"version":3,"file":"CustomAuthStandardController.mjs","sources":["../../../../../src/custom_auth/controller/CustomAuthStandardController.ts"],"sourcesContent":[null],"names":["ArgumentValidator.ensureArgumentIsNotNullOrUndefined","ArgumentValidator.ensureArgumentIsNotEmptyString","ArgumentValidator.ensureArgumentIsJSONString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;AAGG;AAwDH;;AAEG;AACG,MAAO,4BACT,SAAQ,kBAAkB,CAAA;AAW1B;;;;AAIG;IACH,WACI,CAAA,gBAA4C,EAC5C,mBAA0C,EAAA;QAE1C,KAAK,CAAC,gBAAgB,CAAC,CAAC;AAExB,QAAA,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE;AAC5B,YAAA,IAAI,CAAC,MAAM,CAAC,OAAO,CACf,oDAAoD,CACvD,CAAC;YACF,MAAM,IAAI,2BAA2B,EAAE,CAAC;AAC3C,SAAA;AAED,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAC3B,kBAAkB,CAAC,GAAG,EACtB,kBAAkB,CAAC,O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EF,YAAA,OAAO,wBAAwB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;AAC1D,SAAA;KACJ;AAEO,IAAA,gBAAgB,CACpB,YAAgD,EAAA;AAEhD,QAAA,QACI,YAAY,EAAE,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE,EACnE;KACL;AAEO,IAAA,qBAAqB,CAAC,aAAqB,EAAA;AAC/C,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,iBAAiB,CAAC;AACnC,YAAA,aAAa,EAAE,aAAa;AAC/B,SAAA,CAAC,CAAC;AAEH,QAAA,IAAI,OAAO,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE;YAC3B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,6BAA6B,EAAE,aAAa,CAAC,CAAC;AAEhE,YAAA,MAAM,IAAI,wBAAwB,CAAC,aAAa,CAAC,CAAC;AACrD,SAAA;KACJ;AACJ;;;;"}
|
|
@@ -22,6 +22,7 @@ export declare abstract class AuthFlowErrorBase {
|
|
|
22
22
|
* This error will be raised during signin and refresh tokens when calling /token endpoint.
|
|
23
23
|
*/
|
|
24
24
|
protected isPasswordResetRequiredError(): boolean;
|
|
25
|
+
protected isInvalidAuthMethodRegistrationInputError(): boolean;
|
|
25
26
|
}
|
|
26
27
|
export declare abstract class AuthActionErrorBase extends AuthFlowErrorBase {
|
|
27
28
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthFlowErrorBase.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAK9D;;GAEG;AACH,8BAAsB,iBAAiB;IAChB,SAAS,EAAE,eAAe;gBAA1B,SAAS,EAAE,eAAe;IAE7C,SAAS,CAAC,mBAAmB,IAAI,OAAO;IAIxC,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAYvC,SA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AS,CAAC,yCAAyC,IAAI,OAAO;CAOjE;AAED,8BAAsB,mBAAoB,SAAQ,iBAAiB;IAC/D;;;OAGG;IACH,cAAc,IAAI,OAAO;IAIzB;;;OAGG;IACH,kBAAkB,IAAI,OAAO;CAGhC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.23.0 2025-09-17 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { CustomAuthApiError, RedirectError } from '../error/CustomAuthApiError.mjs';
|
|
4
4
|
import { NoCachedAccountFoundError } from '../error/NoCachedAccountFoundError.mjs';
|
|
@@ -99,6 +99,11 @@ class AuthFlowErrorBase {
|
|
|
99
99
|
this.errorData.error === INVALID_REQUEST &&
|
|
100
100
|
this.errorData.errorCodes?.includes(50142) === true);
|
|
101
101
|
}
|
|
102
|
+
isInvalidAuthMethodRegistrationInputError() {
|
|
103
|
+
return (this.errorData instanceof CustomAuthApiError &&
|
|
104
|
+
this.errorData.error === INVALID_REQUEST &&
|
|
105
|
+
this.errorData.errorCodes?.includes(901001) === true);
|
|
106
|
+
}
|
|
102
107
|
}
|
|
103
108
|
class AuthActionErrorBase extends AuthFlowErrorBase {
|
|
104
109
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthFlowErrorBase.mjs","sources":["../../../../../../src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts"],"sourcesContent":[null],"names":["CustomAuthApiErrorCode.USER_NOT_FOUND","CustomAuthApiErrorCode.INVALID_REQUEST","CustomAuthApiErrorCode.UNSUPPORTED_CHALLENGE_TYPE","CustomAuthApiErrorCode.INVALID_GRANT","CustomAuthApiSuberror.INVALID_OOB_VALUE","CustomAuthApiSuberror.PASSWORD_BANNED","CustomAuthApiSuberror.PASSWORD_IS_INVALID","CustomAuthApiSuberror.PASSWORD_RECENTLY_USED","CustomAuthApiSuberror.PASSWORD_TOO_LONG","CustomAuthApiSuberror.PAS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_flow/AuthFlowErrorBase.ts"],"sourcesContent":[null],"names":["CustomAuthApiErrorCode.USER_NOT_FOUND","CustomAuthApiErrorCode.INVALID_REQUEST","CustomAuthApiErrorCode.UNSUPPORTED_CHALLENGE_TYPE","CustomAuthApiErrorCode.INVALID_GRANT","CustomAuthApiSuberror.INVALID_OOB_VALUE","CustomAuthApiSuberror.PASSWORD_BANNED","CustomAuthApiSuberror.PASSWORD_IS_INVALID","CustomAuthApiSuberror.PASSWORD_RECENTLY_USED","CustomAuthApiSuberror.PASSWORD_TOO_LONG","CustomAuthApiSuberror.PASSWORD_TOO_SHORT","CustomAuthApiSuberror.PASSWORD_TOO_WEAK","CustomAuthApiErrorCode.USER_ALREADY_EXISTS","CustomAuthApiErrorCode.ATTRIBUTES_REQUIRED","CustomAuthApiSuberror.ATTRIBUTE_VALIATION_FAILED","CustomAuthApiErrorCode.EXPIRED_TOKEN"],"mappings":";;;;;;;;AAAA;;;AAGG;AAWH;;AAEG;MACmB,iBAAiB,CAAA;AACnC,IAAA,WAAA,CAAmB,SAA0B,EAAA;QAA1B,IAAS,CAAA,SAAA,GAAT,SAAS,CAAiB;KAAI;IAEvC,mBAAmB,GAAA;QACzB,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,KAAKA,cAAqC,CAAC;KACzE;IAES,kBAAkB,GAAA;AACxB,QAAA,QACI,CAAC,IAAI,CAAC,SAAS,YAAY,oBAAoB;YAC3C,IAAI,CAAC,SAAS,CAAC,gBAAgB,EAAE,QAAQ,CAAC,UAAU,CAAC;AACzD,aAAC,IAAI,CAAC,SAAS,YAAY,kBAAkB;gBACzC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,gBAAgB,EAAE,QAAQ,CACvC,0CAA0C,CAC7C;AACD,gBAAA,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,EACnD;KACL;IAES,+BAA+B,GAAA;QACrC,QACI,CAAC,IAAI,CAAC,SA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,QAAQ,CAAC,KAAK,CAAC,KAAK,IAAI,EACrD;KACL;IAES,yCAAyC,GAAA;AAC/C,QAAA,QACI,IAAI,CAAC,SAAS,YAAY,kBAAkB;AAC5C,YAAA,IAAI,CAAC,SAAS,CAAC,KAAK,KAAKA,eAAsC;AAC/D,YAAA,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,IAAI,EACtD;KACL;AACJ,CAAA;AAEK,MAAgB,mBAAoB,SAAQ,iBAAiB,CAAA;AAC/D;;;AAGG;IACH,cAAc,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,mBAAmB,EAAE,CAAC;KACrC;AAED;;;AAGG;IACH,kBAAkB,GAAA;AACd,QAAA,OAAO,IAAI,CAAC,eAAe,EAAE,CAAC;KACjC;AACJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthFlowResultBase.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/auth_flow/AuthFlowResultBase.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAG9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAQvD,8BAAsB,kBAAkB,CACpC,MAAM,SAAS,iBAAiB,EAChC,MAAM,SAAS,iBAAiB,EAChC,KAAK,GAAG,IAAI;IAOO,KAAK,EAAE,MAAM;IAAS,IAAI,CAAC;gBAA3B,KAAK,EAAE,MAAM,EAAS,IAAI,CAAC,mBAAO;IAKrD,KAAK,CAAC,EAAE,MAAM,CAAC;IAOf,SAAS,CAAC,MAAM,CAAC,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,eAAe;
|
|
1
|
+
{"version":3,"file":"AuthFlowResultBase.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/auth_flow/AuthFlowResultBase.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAG9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAQvD,8BAAsB,kBAAkB,CACpC,MAAM,SAAS,iBAAiB,EAChC,MAAM,SAAS,iBAAiB,EAChC,KAAK,GAAG,IAAI;IAOO,KAAK,EAAE,MAAM;IAAS,IAAI,CAAC;gBAA3B,KAAK,EAAE,MAAM,EAAS,IAAI,CAAC,mBAAO;IAKrD,KAAK,CAAC,EAAE,MAAM,CAAC;IAOf,SAAS,CAAC,MAAM,CAAC,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,eAAe;CA4BpE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.23.0 2025-09-17 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthError } from '@azure/msal-common/browser';
|
|
4
4
|
import { CustomAuthError } from '../error/CustomAuthError.mjs';
|
|
@@ -35,7 +35,19 @@ class AuthFlowResultBase {
|
|
|
35
35
|
return error;
|
|
36
36
|
}
|
|
37
37
|
else if (error instanceof AuthError) {
|
|
38
|
-
|
|
38
|
+
const errorCodes = [];
|
|
39
|
+
if ("errorNo" in error) {
|
|
40
|
+
if (typeof error.errorNo === "string") {
|
|
41
|
+
const code = Number(error.errorNo);
|
|
42
|
+
if (!isNaN(code)) {
|
|
43
|
+
errorCodes.push(code);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
else if (typeof error.errorNo === "number") {
|
|
47
|
+
errorCodes.push(error.errorNo);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return new MsalCustomAuthError(error.errorCode, error.errorMessage, error.subError, errorCodes, error.correlationId);
|
|
39
51
|
}
|
|
40
52
|
else {
|
|
41
53
|
return new UnexpectedError(error);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthFlowResultBase.mjs","sources":["../../../../../../src/custom_auth/core/auth_flow/AuthFlowResultBase.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AASH;;;;;AAKG;MACmB,kBAAkB,CAAA;AAKpC;;;;AAIG;IACH,WAAmB,CAAA,KAAa,EAAS,IAAY,EAAA;QAAlC,IAAK,CAAA,KAAA,GAAL,KAAK,CAAQ;QAAS,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAQ;KAAI;AAOzD;;;;AAIG;IACO,OAAO,eAAe,CAAC,KAAc,EAAA;QAC3C,IAAI,KAAK,YAAY,eAAe,EAAE;AAClC,YAAA,OAAO,KAAK,CAAC;AAChB,SAAA;aAAM,IAAI,KAAK,YAAY,SAAS,EAAE;AACnC,
|
|
1
|
+
{"version":3,"file":"AuthFlowResultBase.mjs","sources":["../../../../../../src/custom_auth/core/auth_flow/AuthFlowResultBase.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AASH;;;;;AAKG;MACmB,kBAAkB,CAAA;AAKpC;;;;AAIG;IACH,WAAmB,CAAA,KAAa,EAAS,IAAY,EAAA;QAAlC,IAAK,CAAA,KAAA,GAAL,KAAK,CAAQ;QAAS,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAQ;KAAI;AAOzD;;;;AAIG;IACO,OAAO,eAAe,CAAC,KAAc,EAAA;QAC3C,IAAI,KAAK,YAAY,eAAe,EAAE;AAClC,YAAA,OAAO,KAAK,CAAC;AAChB,SAAA;aAAM,IAAI,KAAK,YAAY,SAAS,EAAE;YACnC,MAAM,UAAU,GAAkB,EAAE,CAAC;YAErC,IAAI,SAAS,IAAI,KAAK,EAAE;AACpB,gBAAA,IAAI,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ,EAAE;oBACnC,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AACnC,oBAAA,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;AACd,wBAAA,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACzB,qBAAA;AACJ,iBAAA;AAAM,qBAAA,IAAI,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ,EAAE;AAC1C,oBAAA,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAClC,iBAAA;AACJ,aAAA;YAED,OAAO,IAAI,mBAAmB,CAC1B,KAAK,CAAC,SAAS,EACf,KAAK,CAAC,YAAY,EAClB,KAAK,CAAC,QAAQ,EACd,UAAU,EACV,KAAK,CAAC,aAAa,CACtB,CAAC;AACL,SAAA;AAAM,aAAA;AACH,YAAA,OAAO,IAAI,eAAe,CAAC,KAAK,CAAC,CAAC;AACrC,SAAA;KACJ;AACJ;;;;"}
|
|
@@ -20,7 +20,7 @@ export declare abstract class AuthFlowActionRequiredStateBase<TParameter extends
|
|
|
20
20
|
* Creates a new instance of AuthFlowActionRequiredStateBase.
|
|
21
21
|
* @param stateParameters The parameters for the auth state.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
constructor(stateParameters: TParameter);
|
|
24
24
|
protected ensureCodeIsValid(code: string, codeLength: number): void;
|
|
25
25
|
protected ensurePasswordIsNotEmpty(password: string): void;
|
|
26
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthFlowState.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/auth_flow/AuthFlowState.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAIpD,MAAM,WAAW,qCAAqC;IAClD,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,8BAA8B,CAAC;IACvC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,8BAAsB,iBAAiB;CAAG;AAE1C;;GAEG;AACH,8BAAsB,+BAA+B,CACjD,UAAU,SAAS,qCAAqC,CAC1D,SAAQ,iBAAiB;
|
|
1
|
+
{"version":3,"file":"AuthFlowState.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/auth_flow/AuthFlowState.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAIpD,MAAM,WAAW,qCAAqC;IAClD,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,8BAA8B,CAAC;IACvC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,8BAAsB,iBAAiB;CAAG;AAE1C;;GAEG;AACH,8BAAsB,+BAA+B,CACjD,UAAU,SAAS,qCAAqC,CAC1D,SAAQ,iBAAiB;IAKX,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,UAAU;IAJ1D;;;OAGG;gBAC4B,eAAe,EAAE,UAAU;IAS1D,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI;IAiBnE,SAAS,CAAC,wBAAwB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;CAa7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthFlowState.mjs","sources":["../../../../../../src/custom_auth/core/auth_flow/AuthFlowState.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAAA;;;AAGG;AAeH;;AAEG;MACmB,iBAAiB,CAAA;AAAG,CAAA;AAE1C;;AAEG;AACG,MAAgB,+BAEpB,SAAQ,iBAAiB,CAAA;AACvB;;;AAGG;AACH,IAAA,WAAA,
|
|
1
|
+
{"version":3,"file":"AuthFlowState.mjs","sources":["../../../../../../src/custom_auth/core/auth_flow/AuthFlowState.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAAA;;;AAGG;AAeH;;AAEG;MACmB,iBAAiB,CAAA;AAAG,CAAA;AAE1C;;AAEG;AACG,MAAgB,+BAEpB,SAAQ,iBAAiB,CAAA;AACvB;;;AAGG;AACH,IAAA,WAAA,CAA+B,eAA2B,EAAA;AACtD,QAAA,8BAA8B,CAC1B,eAAe,EACf,eAAe,CAAC,aAAa,CAChC,CAAC;AAEF,QAAA,KAAK,EAAE,CAAC;QANmB,IAAe,CAAA,eAAA,GAAf,eAAe,CAAY;KAOzD;IAES,iBAAiB,CAAC,IAAY,EAAE,UAAkB,EAAA;QACxD,IACI,UAAU,KAAK,8BAA8B;aAC5C,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,UAAU,CAAC,EACvC;AACE,YAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,KAAK,CAC7B,oEAAoE,EACpE,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;YAEF,MAAM,IAAI,oBAAoB,CAC1B,MAAM,EACN,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;AACL,SAAA;KACJ;AAES,IAAA,wBAAwB,CAAC,QAAgB,EAAA;QAC/C,IAAI,CAAC,QAAQ,EAAE;AACX,YAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,KAAK,CAC7B,6DAA6D,EAC7D,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;YAEF,MAAM,IAAI,oBAAoB,CAC1B,UAAU,EACV,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;AACL,SAAA;KACJ;AACJ;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AuthenticationMethod } from "../../network_client/custom_auth_api/types/ApiResponseTypes.js";
|
|
2
|
+
/**
|
|
3
|
+
* Details for an authentication method to be registered.
|
|
4
|
+
*/
|
|
5
|
+
export interface AuthMethodDetails {
|
|
6
|
+
/**
|
|
7
|
+
* The authentication method type to register.
|
|
8
|
+
*/
|
|
9
|
+
authMethodType: AuthenticationMethod;
|
|
10
|
+
/**
|
|
11
|
+
* The verification contact (email, phone number) for the authentication method.
|
|
12
|
+
*/
|
|
13
|
+
verificationContact: string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=AuthMethodDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthMethodDetails.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/jit/AuthMethodDetails.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gEAAgE,CAAC;AAEtG;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,cAAc,EAAE,oBAAoB,CAAC;IAErC;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAC/B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AuthActionErrorBase } from "../../AuthFlowErrorBase.js";
|
|
2
|
+
/**
|
|
3
|
+
* Error that occurred during authentication method challenge request.
|
|
4
|
+
*/
|
|
5
|
+
export declare class AuthMethodRegistrationChallengeMethodError extends AuthActionErrorBase {
|
|
6
|
+
/**
|
|
7
|
+
* Checks if the input for auth method registration is incorrect.
|
|
8
|
+
* @returns true if the input is incorrect, false otherwise.
|
|
9
|
+
*/
|
|
10
|
+
isInvalidInput(): boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Error that occurred during authentication method challenge submission.
|
|
14
|
+
*/
|
|
15
|
+
export declare class AuthMethodRegistrationSubmitChallengeError extends AuthActionErrorBase {
|
|
16
|
+
/**
|
|
17
|
+
* Checks if the submitted challenge code is incorrect.
|
|
18
|
+
* @returns true if the challenge code is incorrect, false otherwise.
|
|
19
|
+
*/
|
|
20
|
+
isIncorrectChallenge(): boolean;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=AuthMethodRegistrationError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthMethodRegistrationError.d.ts","sourceRoot":"","sources":["../../../../../../../src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE;;GAEG;AACH,qBAAa,0CAA2C,SAAQ,mBAAmB;IAC/E;;;OAGG;IACH,cAAc,IAAI,OAAO;CAG5B;AAED;;GAEG;AACH,qBAAa,0CAA2C,SAAQ,mBAAmB;IAC/E;;;OAGG;IACH,oBAAoB,IAAI,OAAO;CAGlC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*! @azure/msal-browser v4.23.0 2025-09-17 */
|
|
2
|
+
'use strict';
|
|
3
|
+
import { AuthActionErrorBase } from '../../AuthFlowErrorBase.mjs';
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
|
+
* Licensed under the MIT License.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Error that occurred during authentication method challenge request.
|
|
11
|
+
*/
|
|
12
|
+
class AuthMethodRegistrationChallengeMethodError extends AuthActionErrorBase {
|
|
13
|
+
/**
|
|
14
|
+
* Checks if the input for auth method registration is incorrect.
|
|
15
|
+
* @returns true if the input is incorrect, false otherwise.
|
|
16
|
+
*/
|
|
17
|
+
isInvalidInput() {
|
|
18
|
+
return this.isInvalidAuthMethodRegistrationInputError();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Error that occurred during authentication method challenge submission.
|
|
23
|
+
*/
|
|
24
|
+
class AuthMethodRegistrationSubmitChallengeError extends AuthActionErrorBase {
|
|
25
|
+
/**
|
|
26
|
+
* Checks if the submitted challenge code is incorrect.
|
|
27
|
+
* @returns true if the challenge code is incorrect, false otherwise.
|
|
28
|
+
*/
|
|
29
|
+
isIncorrectChallenge() {
|
|
30
|
+
return this.isInvalidCodeError();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { AuthMethodRegistrationChallengeMethodError, AuthMethodRegistrationSubmitChallengeError };
|
|
35
|
+
//# sourceMappingURL=AuthMethodRegistrationError.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthMethodRegistrationError.mjs","sources":["../../../../../../../../src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;AAEG;AACG,MAAO,0CAA2C,SAAQ,mBAAmB,CAAA;AAC/E;;;AAGG;IACH,cAAc,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,yCAAyC,EAAE,CAAC;KAC3D;AACJ,CAAA;AAED;;AAEG;AACG,MAAO,0CAA2C,SAAQ,mBAAmB,CAAA;AAC/E;;;AAGG;IACH,oBAAoB,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,kBAAkB,EAAE,CAAC;KACpC;AACJ;;;;"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { AuthFlowResultBase } from "../../AuthFlowResultBase.js";
|
|
2
|
+
import { AuthMethodRegistrationChallengeMethodError } from "../error_type/AuthMethodRegistrationError.js";
|
|
3
|
+
import type { AuthMethodVerificationRequiredState } from "../state/AuthMethodRegistrationState.js";
|
|
4
|
+
import { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
5
|
+
import { AuthMethodRegistrationCompletedState } from "../state/AuthMethodRegistrationCompletedState.js";
|
|
6
|
+
import { AuthMethodRegistrationFailedState } from "../state/AuthMethodRegistrationFailedState.js";
|
|
7
|
+
/**
|
|
8
|
+
* Result of challenging an authentication method for registration.
|
|
9
|
+
* Uses base state type to avoid circular dependencies.
|
|
10
|
+
*/
|
|
11
|
+
export declare class AuthMethodRegistrationChallengeMethodResult extends AuthFlowResultBase<AuthMethodRegistrationChallengeMethodResultState, AuthMethodRegistrationChallengeMethodError, CustomAuthAccountData> {
|
|
12
|
+
/**
|
|
13
|
+
* Creates an AuthMethodRegistrationChallengeMethodResult with an error.
|
|
14
|
+
* @param error The error that occurred.
|
|
15
|
+
* @returns The AuthMethodRegistrationChallengeMethodResult with error.
|
|
16
|
+
*/
|
|
17
|
+
static createWithError(error: unknown): AuthMethodRegistrationChallengeMethodResult;
|
|
18
|
+
/**
|
|
19
|
+
* Checks if the result indicates that verification is required.
|
|
20
|
+
* @returns true if verification is required, false otherwise.
|
|
21
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
22
|
+
*/
|
|
23
|
+
isVerificationRequired(): boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Checks if the result indicates that registration is completed (fast-pass scenario).
|
|
26
|
+
* @returns true if registration is completed, false otherwise.
|
|
27
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
28
|
+
*/
|
|
29
|
+
isCompleted(): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Checks if the result is in a failed state.
|
|
32
|
+
* @returns true if the result is failed, false otherwise.
|
|
33
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
34
|
+
*/
|
|
35
|
+
isFailed(): boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Type definition for possible states in AuthMethodRegistrationChallengeMethodResult.
|
|
39
|
+
*/
|
|
40
|
+
export type AuthMethodRegistrationChallengeMethodResultState = AuthMethodVerificationRequiredState | AuthMethodRegistrationCompletedState | AuthMethodRegistrationFailedState;
|
|
41
|
+
//# sourceMappingURL=AuthMethodRegistrationChallengeMethodResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthMethodRegistrationChallengeMethodResult.d.ts","sourceRoot":"","sources":["../../../../../../../src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAC1G,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,yCAAyC,CAAC;AACnG,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,oCAAoC,EAAE,MAAM,kDAAkD,CAAC;AACxG,OAAO,EAAE,iCAAiC,EAAE,MAAM,+CAA+C,CAAC;AAElG;;;GAGG;AACH,qBAAa,2CAA4C,SAAQ,kBAAkB,CAC/E,gDAAgD,EAChD,0CAA0C,EAC1C,qBAAqB,CACxB;IACG;;;;OAIG;IACH,MAAM,CAAC,eAAe,CAClB,KAAK,EAAE,OAAO,GACf,2CAA2C;IAU9C;;;;OAIG;IACH,sBAAsB,IAAI,OAAO;IAOjC;;;;OAIG;IACH,WAAW,IAAI,OAAO;IAOtB;;;;OAIG;IACH,QAAQ,IAAI,OAAO;CAGtB;AAED;;GAEG;AACH,MAAM,MAAM,gDAAgD,GACtD,mCAAmC,GACnC,oCAAoC,GACpC,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*! @azure/msal-browser v4.23.0 2025-09-17 */
|
|
2
|
+
'use strict';
|
|
3
|
+
import { AuthFlowResultBase } from '../../AuthFlowResultBase.mjs';
|
|
4
|
+
import { AuthMethodRegistrationChallengeMethodError } from '../error_type/AuthMethodRegistrationError.mjs';
|
|
5
|
+
import { AuthMethodRegistrationFailedState } from '../state/AuthMethodRegistrationFailedState.mjs';
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
|
+
* Licensed under the MIT License.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Result of challenging an authentication method for registration.
|
|
13
|
+
* Uses base state type to avoid circular dependencies.
|
|
14
|
+
*/
|
|
15
|
+
class AuthMethodRegistrationChallengeMethodResult extends AuthFlowResultBase {
|
|
16
|
+
/**
|
|
17
|
+
* Creates an AuthMethodRegistrationChallengeMethodResult with an error.
|
|
18
|
+
* @param error The error that occurred.
|
|
19
|
+
* @returns The AuthMethodRegistrationChallengeMethodResult with error.
|
|
20
|
+
*/
|
|
21
|
+
static createWithError(error) {
|
|
22
|
+
const result = new AuthMethodRegistrationChallengeMethodResult(new AuthMethodRegistrationFailedState());
|
|
23
|
+
result.error = new AuthMethodRegistrationChallengeMethodError(AuthMethodRegistrationChallengeMethodResult.createErrorData(error));
|
|
24
|
+
return result;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Checks if the result indicates that verification is required.
|
|
28
|
+
* @returns true if verification is required, false otherwise.
|
|
29
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
30
|
+
*/
|
|
31
|
+
isVerificationRequired() {
|
|
32
|
+
return (this.state.constructor?.name ===
|
|
33
|
+
"AuthMethodVerificationRequiredState");
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Checks if the result indicates that registration is completed (fast-pass scenario).
|
|
37
|
+
* @returns true if registration is completed, false otherwise.
|
|
38
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
39
|
+
*/
|
|
40
|
+
isCompleted() {
|
|
41
|
+
return (this.state.constructor?.name ===
|
|
42
|
+
"AuthMethodRegistrationCompletedState");
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Checks if the result is in a failed state.
|
|
46
|
+
* @returns true if the result is failed, false otherwise.
|
|
47
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
48
|
+
*/
|
|
49
|
+
isFailed() {
|
|
50
|
+
return this.state instanceof AuthMethodRegistrationFailedState;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { AuthMethodRegistrationChallengeMethodResult };
|
|
55
|
+
//# sourceMappingURL=AuthMethodRegistrationChallengeMethodResult.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthMethodRegistrationChallengeMethodResult.mjs","sources":["../../../../../../../../src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAAA;;;AAGG;AASH;;;AAGG;AACG,MAAO,2CAA4C,SAAQ,kBAIhE,CAAA;AACG;;;;AAIG;IACH,OAAO,eAAe,CAClB,KAAc,EAAA;QAEd,MAAM,MAAM,GAAG,IAAI,2CAA2C,CAC1D,IAAI,iCAAiC,EAAE,CAC1C,CAAC;AACF,QAAA,MAAM,CAAC,KAAK,GAAG,IAAI,0CAA0C,CACzD,2CAA2C,CAAC,eAAe,CAAC,KAAK,CAAC,CACrE,CAAC;AACF,QAAA,OAAO,MAAM,CAAC;KACjB;AAED;;;;AAIG;IACH,sBAAsB,GAAA;AAClB,QAAA,QACI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI;AAC5B,YAAA,qCAAqC,EACvC;KACL;AAED;;;;AAIG;IACH,WAAW,GAAA;AACP,QAAA,QACI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI;AAC5B,YAAA,sCAAsC,EACxC;KACL;AAED;;;;AAIG;IACH,QAAQ,GAAA;AACJ,QAAA,OAAO,IAAI,CAAC,KAAK,YAAY,iCAAiC,CAAC;KAClE;AACJ;;;;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AuthFlowResultBase } from "../../AuthFlowResultBase.js";
|
|
2
|
+
import { AuthMethodRegistrationSubmitChallengeError } from "../error_type/AuthMethodRegistrationError.js";
|
|
3
|
+
import { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
4
|
+
import { AuthMethodRegistrationFailedState } from "../state/AuthMethodRegistrationFailedState.js";
|
|
5
|
+
import { AuthMethodRegistrationCompletedState } from "../state/AuthMethodRegistrationCompletedState.js";
|
|
6
|
+
/**
|
|
7
|
+
* Result of submitting a challenge for authentication method registration.
|
|
8
|
+
*/
|
|
9
|
+
export declare class AuthMethodRegistrationSubmitChallengeResult extends AuthFlowResultBase<AuthMethodRegistrationSubmitChallengeResultState, AuthMethodRegistrationSubmitChallengeError, CustomAuthAccountData> {
|
|
10
|
+
/**
|
|
11
|
+
* Creates an AuthMethodRegistrationSubmitChallengeResult with an error.
|
|
12
|
+
* @param error The error that occurred.
|
|
13
|
+
* @returns The AuthMethodRegistrationSubmitChallengeResult with error.
|
|
14
|
+
*/
|
|
15
|
+
static createWithError(error: unknown): AuthMethodRegistrationSubmitChallengeResult;
|
|
16
|
+
/**
|
|
17
|
+
* Checks if the result indicates that registration is completed.
|
|
18
|
+
* @returns true if registration is completed, false otherwise.
|
|
19
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
20
|
+
*/
|
|
21
|
+
isCompleted(): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Checks if the result is in a failed state.
|
|
24
|
+
* @returns true if the result is failed, false otherwise.
|
|
25
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
26
|
+
*/
|
|
27
|
+
isFailed(): boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Type definition for possible states in AuthMethodRegistrationSubmitChallengeResult.
|
|
31
|
+
*/
|
|
32
|
+
export type AuthMethodRegistrationSubmitChallengeResultState = AuthMethodRegistrationCompletedState | AuthMethodRegistrationFailedState;
|
|
33
|
+
//# sourceMappingURL=AuthMethodRegistrationSubmitChallengeResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthMethodRegistrationSubmitChallengeResult.d.ts","sourceRoot":"","sources":["../../../../../../../src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAC1G,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,iCAAiC,EAAE,MAAM,+CAA+C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,kDAAkD,CAAC;AAExG;;GAEG;AACH,qBAAa,2CAA4C,SAAQ,kBAAkB,CAC/E,gDAAgD,EAChD,0CAA0C,EAC1C,qBAAqB,CACxB;IACG;;;;OAIG;IACH,MAAM,CAAC,eAAe,CAClB,KAAK,EAAE,OAAO,GACf,2CAA2C;IAU9C;;;;OAIG;IACH,WAAW,IAAI,OAAO;IAOtB;;;;OAIG;IACH,QAAQ,IAAI,OAAO;CAGtB;AAED;;GAEG;AACH,MAAM,MAAM,gDAAgD,GACtD,oCAAoC,GACpC,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*! @azure/msal-browser v4.23.0 2025-09-17 */
|
|
2
|
+
'use strict';
|
|
3
|
+
import { AuthFlowResultBase } from '../../AuthFlowResultBase.mjs';
|
|
4
|
+
import { AuthMethodRegistrationSubmitChallengeError } from '../error_type/AuthMethodRegistrationError.mjs';
|
|
5
|
+
import { AuthMethodRegistrationFailedState } from '../state/AuthMethodRegistrationFailedState.mjs';
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
|
+
* Licensed under the MIT License.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Result of submitting a challenge for authentication method registration.
|
|
13
|
+
*/
|
|
14
|
+
class AuthMethodRegistrationSubmitChallengeResult extends AuthFlowResultBase {
|
|
15
|
+
/**
|
|
16
|
+
* Creates an AuthMethodRegistrationSubmitChallengeResult with an error.
|
|
17
|
+
* @param error The error that occurred.
|
|
18
|
+
* @returns The AuthMethodRegistrationSubmitChallengeResult with error.
|
|
19
|
+
*/
|
|
20
|
+
static createWithError(error) {
|
|
21
|
+
const result = new AuthMethodRegistrationSubmitChallengeResult(new AuthMethodRegistrationFailedState());
|
|
22
|
+
result.error = new AuthMethodRegistrationSubmitChallengeError(AuthMethodRegistrationSubmitChallengeResult.createErrorData(error));
|
|
23
|
+
return result;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Checks if the result indicates that registration is completed.
|
|
27
|
+
* @returns true if registration is completed, false otherwise.
|
|
28
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
29
|
+
*/
|
|
30
|
+
isCompleted() {
|
|
31
|
+
return (this.state.constructor?.name ===
|
|
32
|
+
"AuthMethodRegistrationCompletedState");
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Checks if the result is in a failed state.
|
|
36
|
+
* @returns true if the result is failed, false otherwise.
|
|
37
|
+
* @warning This API is experimental. It may be changed in the future without notice. Do not use in production applications.
|
|
38
|
+
*/
|
|
39
|
+
isFailed() {
|
|
40
|
+
return this.state instanceof AuthMethodRegistrationFailedState;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { AuthMethodRegistrationSubmitChallengeResult };
|
|
45
|
+
//# sourceMappingURL=AuthMethodRegistrationSubmitChallengeResult.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthMethodRegistrationSubmitChallengeResult.mjs","sources":["../../../../../../../../src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAAA;;;AAGG;AAQH;;AAEG;AACG,MAAO,2CAA4C,SAAQ,kBAIhE,CAAA;AACG;;;;AAIG;IACH,OAAO,eAAe,CAClB,KAAc,EAAA;QAEd,MAAM,MAAM,GAAG,IAAI,2CAA2C,CAC1D,IAAI,iCAAiC,EAAE,CAC1C,CAAC;AACF,QAAA,MAAM,CAAC,KAAK,GAAG,IAAI,0CAA0C,CACzD,2CAA2C,CAAC,eAAe,CAAC,KAAK,CAAC,CACrE,CAAC;AACF,QAAA,OAAO,MAAM,CAAC;KACjB;AAED;;;;AAIG;IACH,WAAW,GAAA;AACP,QAAA,QACI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI;AAC5B,YAAA,sCAAsC,EACxC;KACL;AAED;;;;AAIG;IACH,QAAQ,GAAA;AACJ,QAAA,OAAO,IAAI,CAAC,KAAK,YAAY,iCAAiC,CAAC;KAClE;AACJ;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthMethodRegistrationCompletedState.d.ts","sourceRoot":"","sources":["../../../../../../../src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,qBAAa,oCAAqC,SAAQ,iBAAiB;CAAG"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*! @azure/msal-browser v4.23.0 2025-09-17 */
|
|
2
|
+
'use strict';
|
|
3
|
+
import { AuthFlowStateBase } from '../../AuthFlowState.mjs';
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
|
+
* Licensed under the MIT License.
|
|
8
|
+
*/
|
|
9
|
+
class AuthMethodRegistrationCompletedState extends AuthFlowStateBase {
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { AuthMethodRegistrationCompletedState };
|
|
13
|
+
//# sourceMappingURL=AuthMethodRegistrationCompletedState.mjs.map
|