@azure/msal-browser 5.21.0 → 5.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/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +23 -3
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +5 -2
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthRequest.mjs +49 -0
- package/dist/broker/nativeBroker/PlatformAuthRequest.mjs.map +1 -0
- 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/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.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/crypto/TokenBindingKeyManager.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +27 -2
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs +192 -2
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
- package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs +21 -0
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +80 -0
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs +102 -0
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs +12 -0
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.mjs +20 -0
- package/dist/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.mjs +36 -0
- package/dist/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.mjs +29 -0
- package/dist/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +76 -0
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.mjs +36 -0
- package/dist/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs +36 -0
- package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs +134 -0
- package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs +23 -0
- package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +22 -0
- package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.mjs +61 -0
- package/dist/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +87 -0
- package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/core/error/CustomAuthApiError.mjs +3 -2
- package/dist/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -1
- package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs +602 -0
- package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs.map +1 -0
- package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs +67 -0
- package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs.map +1 -0
- package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs +46 -0
- package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +3 -2
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs +30 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs +193 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs +236 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs +26 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs +66 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs +97 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs +56 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs +23 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs +14 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs.map +1 -0
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +3 -2
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs.map +1 -1
- package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs +38 -0
- package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs.map +1 -0
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs +20 -3
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
- package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom_auth/index.mjs +23 -1
- package/dist/custom_auth/index.mjs.map +1 -1
- package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.mjs +29 -0
- package/dist/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.mjs.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs +59 -0
- package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.mjs +18 -0
- package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.mjs.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.mjs +37 -0
- package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.mjs.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.mjs +23 -0
- package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.mjs.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs +70 -0
- package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs +61 -0
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs.map +1 -0
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.mjs +25 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.mjs.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.mjs +33 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.mjs.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs +40 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs +25 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs +47 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs +60 -0
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs.map +1 -0
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +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/index.mjs.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +8 -2
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +11 -8
- package/dist/interaction_client/RedirectClient.mjs.map +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/log-strings-mapping.json +189 -5
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +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/packageMetadata.mjs +2 -2
- package/dist/popup_relay/constants.mjs +1 -1
- package/dist/popup_relay/index.mjs +1 -1
- package/dist/popup_relay/relayClient.mjs +1 -1
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/redirect_bridge/index.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/BrowserPerformanceEvents.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.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/dist/webBrokerBridge/PendingRequestRegistry.mjs +1 -1
- package/dist/webBrokerBridge/PerfEventNames.mjs +38 -0
- package/dist/webBrokerBridge/PerfEventNames.mjs.map +1 -0
- package/dist/webBrokerBridge/WebBrokerBridgeError.mjs +1 -1
- package/dist/webBrokerBridge/WebBrokerBridgeErrorMap.mjs +1 -1
- package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs +139 -0
- package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs.map +1 -0
- package/dist/webBrokerBridge/index.mjs +8 -0
- package/dist/webBrokerBridge/index.mjs.map +1 -0
- package/lib/custom-auth-path/log-strings-mapping.json +195 -11
- package/lib/custom-auth-path/msal-custom-auth.cjs +2996 -204
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +2996 -204
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/lib/log-strings-mapping.json +2 -2
- package/lib/msal-browser.cjs +176 -87
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +176 -87
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/popup-relay/msal-popup-relay.cjs +2 -2
- package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
- package/lib/popup-relay/msal-popup-relay.js +2 -2
- package/lib/popup-relay/msal-popup-relay.js.map +1 -1
- package/lib/popup-relay/msal-popup-relay.min.js +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.cjs +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
- package/lib/web-broker-bridge/msal-web-broker-bridge.cjs +353 -0
- package/lib/web-broker-bridge/msal-web-broker-bridge.cjs.map +1 -0
- package/package.json +19 -2
- package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +40 -2
- package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +4 -1
- package/src/broker/nativeBroker/PlatformAuthRequest.ts +118 -6
- package/src/broker/nativeBroker/PlatformAuthResponse.ts +14 -1
- package/src/custom_auth/CustomAuthActionInputs.ts +11 -0
- package/src/custom_auth/CustomAuthPublicClientApplication.ts +40 -4
- package/src/custom_auth/ICustomAuthPublicClientApplicationV2.ts +44 -0
- package/src/custom_auth/controller/CustomAuthStandardController.ts +360 -1
- package/src/custom_auth/controller/ICustomAuthStandardController.ts +14 -0
- package/src/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.ts +18 -0
- package/src/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.ts +20 -0
- package/src/custom_auth/core/auth_flow/v2/CustomAuthResultV2.ts +133 -0
- package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.ts +146 -0
- package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.ts +8 -0
- package/src/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.ts +15 -0
- package/src/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.ts +33 -0
- package/src/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.ts +25 -0
- package/src/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.ts +18 -0
- package/src/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.ts +26 -0
- package/src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts +26 -0
- package/src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts +25 -0
- package/src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts +30 -0
- package/src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts +40 -0
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts +100 -0
- package/src/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.ts +59 -0
- package/src/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.ts +53 -0
- package/src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts +196 -0
- package/src/custom_auth/core/auth_flow/v2/state/CompletedStateV2.ts +16 -0
- package/src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts +44 -0
- package/src/custom_auth/core/auth_flow/v2/state/FailedStateV2.ts +15 -0
- package/src/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.ts +76 -0
- package/src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts +119 -0
- package/src/custom_auth/core/error/CustomAuthApiError.ts +3 -1
- package/src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts +35 -0
- package/src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts +1145 -0
- package/src/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.ts +150 -0
- package/src/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.ts +66 -0
- package/src/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.ts +185 -0
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +1 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.ts +30 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.ts +423 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.ts +553 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.ts +24 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.ts +81 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.ts +177 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.ts +129 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.ts +68 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.ts +50 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/response/HalResource.ts +20 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.ts +202 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.ts +111 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.ts +26 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.ts +44 -0
- package/src/custom_auth/core/telemetry/FlowApiIdHelperV2.ts +64 -0
- package/src/custom_auth/core/telemetry/PublicApiId.ts +18 -0
- package/src/custom_auth/index.ts +96 -0
- package/src/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.ts +25 -0
- package/src/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.ts +33 -0
- package/src/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.ts +69 -0
- package/src/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateParametersV2.ts +9 -0
- package/src/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.ts +13 -0
- package/src/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.ts +35 -0
- package/src/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.ts +19 -0
- package/src/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.ts +31 -0
- package/src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts +32 -0
- package/src/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.ts +22 -0
- package/src/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.ts +96 -0
- package/src/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.ts +83 -0
- package/src/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.ts +12 -0
- package/src/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.ts +21 -0
- package/src/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.ts +32 -0
- package/src/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.ts +28 -0
- package/src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts +20 -0
- package/src/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.ts +48 -0
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.ts +34 -0
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.ts +63 -0
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.ts +24 -0
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.ts +112 -0
- package/src/index.ts +0 -2
- package/src/interaction_client/PlatformAuthInteractionClient.ts +23 -2
- package/src/interaction_client/RedirectClient.ts +15 -5
- package/src/packageMetadata.ts +1 -1
- package/src/webBrokerBridge/PerfEventNames.ts +43 -0
- package/src/webBrokerBridge/index.ts +28 -6
- package/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +1 -0
- package/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthRequest.d.ts +68 -5
- package/types/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthResponse.d.ts +12 -1
- package/types/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -1
- package/types/custom_auth/CustomAuthActionInputs.d.ts +7 -0
- package/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
- package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/types/custom_auth/CustomAuthPublicClientApplication.d.ts +27 -5
- package/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -1
- package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts +30 -0
- package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts.map +1 -0
- package/types/custom_auth/controller/CustomAuthStandardController.d.ts +11 -2
- package/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/types/custom_auth/controller/ICustomAuthStandardController.d.ts +7 -1
- package/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts +14 -0
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts +14 -0
- package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts +53 -0
- package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.d.ts +40 -0
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts +4 -0
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.d.ts +11 -0
- package/types/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.d.ts +23 -0
- package/types/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.d.ts +18 -0
- package/types/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.d.ts +7 -0
- package/types/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts +15 -0
- package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts +16 -0
- package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts +16 -0
- package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts +18 -0
- package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts +23 -0
- package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts +21 -0
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.d.ts +17 -0
- package/types/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.d.ts +14 -0
- package/types/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts +25 -0
- package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts +11 -0
- package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts +28 -0
- package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts +10 -0
- package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.d.ts +18 -0
- package/types/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts +25 -0
- package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/core/error/CustomAuthApiError.d.ts +3 -1
- package/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts +21 -0
- package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts.map +1 -0
- package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts +35 -0
- package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts.map +1 -0
- package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts +26 -0
- package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts.map +1 -0
- package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts +43 -0
- package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts.map +1 -0
- package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts +80 -0
- package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts +17 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts +31 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.d.ts +23 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.d.ts +19 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.d.ts +2 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts +15 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts +52 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.d.ts +3 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts +37 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/HalResource.d.ts +12 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/HalResource.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts +133 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.d.ts +70 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts +10 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts.map +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts +33 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts.map +1 -0
- package/types/custom_auth/core/telemetry/FlowApiIdHelperV2.d.ts +4 -0
- package/types/custom_auth/core/telemetry/FlowApiIdHelperV2.d.ts.map +1 -0
- package/types/custom_auth/core/telemetry/PublicApiId.d.ts +16 -0
- package/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/types/custom_auth/index.d.ts +37 -0
- package/types/custom_auth/index.d.ts.map +1 -1
- package/types/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.d.ts +18 -0
- package/types/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.d.ts.map +1 -0
- package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts +22 -0
- package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts.map +1 -0
- package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts +19 -0
- package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateParametersV2.d.ts +3 -0
- package/types/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateParametersV2.d.ts.map +1 -0
- package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.d.ts +9 -0
- package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.d.ts.map +1 -0
- package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.d.ts +22 -0
- package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.d.ts.map +1 -0
- package/types/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.d.ts +12 -0
- package/types/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.d.ts.map +1 -0
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts +21 -0
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts.map +1 -0
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts +17 -0
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts.map +1 -0
- package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts +9 -0
- package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +1 -0
- package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts +17 -0
- package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts +24 -0
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts.map +1 -0
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.d.ts +4 -0
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.d.ts +14 -0
- package/types/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.d.ts +20 -0
- package/types/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts +15 -0
- package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts +8 -0
- package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts +15 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.d.ts +11 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts +19 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.d.ts +14 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.d.ts +10 -0
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.d.ts.map +1 -0
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/types/packageMetadata.d.ts +1 -1
- package/types/webBrokerBridge/PerfEventNames.d.ts +30 -0
- package/types/webBrokerBridge/PerfEventNames.d.ts.map +1 -0
- package/types/webBrokerBridge/index.d.cts +1 -0
- package/types/webBrokerBridge/index.d.ts +3 -5
- package/types/webBrokerBridge/index.d.ts.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.23.0 2026-09-23 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { createClientConfigurationError, ClientConfigurationErrorCodes, invokeAsync, RequestParameterBuilder, Constants, AuthorizeProtocol, ThrottlingUtils, ResponseHandler, PerformanceEvents, TimeUtils, ProtocolMode, AADServerParamKeys, ProtocolUtils } from '@azure/msal-common/browser';
|
|
4
4
|
import { GetStandardParams, HandleResponsePlatformBroker, HandleCodeResponse, DecryptEarResponse, NativeInteractionClientAcquireToken } from '../telemetry/BrowserPerformanceEvents.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.23.0 2026-09-23 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { parseAuthResponseFromUrl, clearAuthResponseFromUrl, getHomepage } from '../utils/BrowserUtils.mjs';
|
|
4
4
|
import { InteractionType, TemporaryCacheKeys, ApiId, INTERACTION_TYPE } from '../utils/BrowserConstants.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.23.0 2026-09-23 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { invokeAsync, ProtocolMode, Constants, createClientConfigurationError, ClientConfigurationErrorCodes, PopTokenGenerator, PerformanceEvents, JsonWebTokenAlgorithms } from '@azure/msal-common/browser';
|
|
4
4
|
import { InitializeBaseRequest } from '../telemetry/BrowserPerformanceEvents.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.23.0 2026-09-23 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { RequestParameterBuilder, UrlUtils, UrlString, ProtocolUtils } from '@azure/msal-common/browser';
|
|
4
4
|
export { invoke, invokeAsync } from '@azure/msal-common/browser';
|
package/dist/utils/Helpers.mjs
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*! @azure/msal-browser v5.23.0 2026-09-23 */
|
|
2
|
+
'use strict';
|
|
3
|
+
/*
|
|
4
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
|
+
* Licensed under the MIT License.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Shared performance event names for web broker bridge operations.
|
|
9
|
+
*
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
const PairwiseBrokerApplicationInitializeBrokering = "pairwiseBrokerApplicationInitializeBrokering";
|
|
13
|
+
const BrokerClientApplicationHandleBrokerHandshake = "brokerClientApplicationHandleBrokerHandshake";
|
|
14
|
+
const BrokerClientApplicationBrokeredSSOSilentRequest = "brokerClientApplicationBrokeredSSOSilentRequest";
|
|
15
|
+
const BrokerClientApplicationBrokeredSilentRequest = "brokerClientApplicationBrokeredSilentRequest";
|
|
16
|
+
const EmbeddedClientApplicationSendSSOSilentRequest = "embeddedSSOSilent";
|
|
17
|
+
const EmbeddedClientApplicationSendPopupRequest = "embeddedPopup";
|
|
18
|
+
const EmbeddedClientApplicationHandleRedirectRequest = "embeddedHandleRedirect";
|
|
19
|
+
const EmbeddedClientApplicationSendSilentRefreshRequest = "embeddedSilentRefresh";
|
|
20
|
+
const EmbeddedSendSilentRefreshRequestInternal = "embeddedSilentRefreshInternal";
|
|
21
|
+
const SendHandshakeRequest = "sendHandshakeRequest";
|
|
22
|
+
const SendMessageToBroker = "sendMessageToBroker";
|
|
23
|
+
const SendRequest = "sendRequest";
|
|
24
|
+
const HandleResponse = "handleBrokerResponse";
|
|
25
|
+
const GetFrameDepth = "getFrameDepth";
|
|
26
|
+
const OnHandshakeResponse = "onHandshakeResponse";
|
|
27
|
+
const HandleBrokerMessage = "handleBrokerMessage";
|
|
28
|
+
const PostMessageToAllDescendantFrames = "postMessageToAllDescendantFrames";
|
|
29
|
+
const HandleBrokerAuthRequest = "handleBrokerAuthRequest";
|
|
30
|
+
const BrokeredSilentRequest = "brokeredSilentRequest";
|
|
31
|
+
const BrokeredSsoSilentRequest = "brokeredSsoSilentRequest";
|
|
32
|
+
const BrokeredRedirectRequest = "brokeredRedirectRequest";
|
|
33
|
+
const BrokeredPopupRequest = "brokeredPopupRequest";
|
|
34
|
+
const InteractiveBrokerRequest = "interactiveBrokerRequest";
|
|
35
|
+
const AcquireTokenByBroker = "acquireTokenByBroker";
|
|
36
|
+
|
|
37
|
+
export { AcquireTokenByBroker, BrokerClientApplicationBrokeredSSOSilentRequest, BrokerClientApplicationBrokeredSilentRequest, BrokerClientApplicationHandleBrokerHandshake, BrokeredPopupRequest, BrokeredRedirectRequest, BrokeredSilentRequest, BrokeredSsoSilentRequest, EmbeddedClientApplicationHandleRedirectRequest, EmbeddedClientApplicationSendPopupRequest, EmbeddedClientApplicationSendSSOSilentRequest, EmbeddedClientApplicationSendSilentRefreshRequest, EmbeddedSendSilentRefreshRequestInternal, GetFrameDepth, HandleBrokerAuthRequest, HandleBrokerMessage, HandleResponse, InteractiveBrokerRequest, OnHandshakeResponse, PairwiseBrokerApplicationInitializeBrokering, PostMessageToAllDescendantFrames, SendHandshakeRequest, SendMessageToBroker, SendRequest };
|
|
38
|
+
//# sourceMappingURL=PerfEventNames.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PerfEventNames.mjs","sources":["../../src/webBrokerBridge/PerfEventNames.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;;;AAIG;AACI,MAAM,4CAA4C,GACrD,+CAA+C;AAC5C,MAAM,4CAA4C,GACrD,+CAA+C;AAC5C,MAAM,+CAA+C,GACxD,kDAAkD;AAC/C,MAAM,4CAA4C,GACrD,+CAA+C;AAC5C,MAAM,6CAA6C,GACtD,oBAAoB;AACjB,MAAM,yCAAyC,GAAG,gBAAgB;AAClE,MAAM,8CAA8C,GACvD,yBAAyB;AACtB,MAAM,iDAAiD,GAC1D,wBAAwB;AACrB,MAAM,wCAAwC,GACjD,gCAAgC;AAC7B,MAAM,oBAAoB,GAAG,uBAAuB;AACpD,MAAM,mBAAmB,GAAG,sBAAsB;AAClD,MAAM,WAAW,GAAG,cAAc;AAClC,MAAM,cAAc,GAAG,uBAAuB;AAC9C,MAAM,aAAa,GAAG,gBAAgB;AACtC,MAAM,mBAAmB,GAAG,sBAAsB;AAClD,MAAM,mBAAmB,GAAG,sBAAsB;AAClD,MAAM,gCAAgC,GACzC,mCAAmC;AAChC,MAAM,uBAAuB,GAAG,0BAA0B;AAC1D,MAAM,qBAAqB,GAAG,wBAAwB;AACtD,MAAM,wBAAwB,GAAG,2BAA2B;AAC5D,MAAM,uBAAuB,GAAG,0BAA0B;AAC1D,MAAM,oBAAoB,GAAG,uBAAuB;AACpD,MAAM,wBAAwB,GAAG,2BAA2B;AAC5D,MAAM,oBAAoB,GAAG;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.23.0 2026-09-23 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthError, ClientAuthError, ClientAuthErrorCodes, ServerError, InteractionRequiredAuthError } from '@azure/msal-common/browser';
|
|
4
4
|
import { WebBrokerBridgeErrorCode } from './WebBrokerBridgeError.mjs';
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/*! @azure/msal-browser v5.23.0 2026-09-23 */
|
|
2
|
+
'use strict';
|
|
3
|
+
/*
|
|
4
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
|
+
* Licensed under the MIT License.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Promotes `extraParameters.resource` to the top-level `resource` field.
|
|
9
|
+
*
|
|
10
|
+
* Pre-5.5.0 embedded apps do not have a top-level `resource` field.
|
|
11
|
+
*
|
|
12
|
+
* @param request - The request to transform.
|
|
13
|
+
* @returns A new request with `resource` promoted if applicable.
|
|
14
|
+
*/
|
|
15
|
+
function normalizeResourceField(request) {
|
|
16
|
+
if (request.extraParameters?.resource) {
|
|
17
|
+
const { resource, ...remainingParams } = request.extraParameters;
|
|
18
|
+
const result = { ...request };
|
|
19
|
+
result.resource = resource;
|
|
20
|
+
result.extraParameters = remainingParams;
|
|
21
|
+
return result;
|
|
22
|
+
}
|
|
23
|
+
return request;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Demotes the top-level `resource` field into `extraParameters.resource`.
|
|
27
|
+
*
|
|
28
|
+
* Pre-5.5.0 embedded apps do not have a top-level `resource` field.
|
|
29
|
+
*
|
|
30
|
+
* @param request - The request to transform.
|
|
31
|
+
* @returns A new request with `resource` demoted if applicable.
|
|
32
|
+
*/
|
|
33
|
+
function addResourceField(request) {
|
|
34
|
+
if (request.resource) {
|
|
35
|
+
const resource = request.resource;
|
|
36
|
+
const result = { ...request };
|
|
37
|
+
result.extraParameters = {
|
|
38
|
+
...result.extraParameters,
|
|
39
|
+
resource,
|
|
40
|
+
};
|
|
41
|
+
delete result.resource;
|
|
42
|
+
return result;
|
|
43
|
+
}
|
|
44
|
+
return request;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Normalize an incoming request from any embedded-app version so that
|
|
48
|
+
* the broker PCA methods can consume it correctly.
|
|
49
|
+
*
|
|
50
|
+
* - Folds legacy field values into their current equivalents.
|
|
51
|
+
* - Strips legacy field names from the returned object.
|
|
52
|
+
* - Is idempotent: safe to call on requests that already use current names.
|
|
53
|
+
*
|
|
54
|
+
* @param request - The request from a broker auth request.
|
|
55
|
+
* @returns A new request with current field names only.
|
|
56
|
+
*/
|
|
57
|
+
function normalizeIncomingRequest(request) {
|
|
58
|
+
const normalized = normalizeResourceField(request);
|
|
59
|
+
const currentFields = { ...normalized };
|
|
60
|
+
const { tokenQueryParameters, tokenBodyParameters, authorizePostBodyParameters, } = currentFields;
|
|
61
|
+
delete currentFields.tokenQueryParameters;
|
|
62
|
+
delete currentFields.tokenBodyParameters;
|
|
63
|
+
delete currentFields.authorizePostBodyParameters;
|
|
64
|
+
/*
|
|
65
|
+
* tokenQueryParameters (removed in v5) → extraQueryParameters.
|
|
66
|
+
* Current values win on key conflicts.
|
|
67
|
+
*/
|
|
68
|
+
if (tokenQueryParameters) {
|
|
69
|
+
currentFields.extraQueryParameters = {
|
|
70
|
+
...tokenQueryParameters,
|
|
71
|
+
...currentFields.extraQueryParameters,
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
/*
|
|
75
|
+
* tokenBodyParameters (removed in v5) → extraParameters.
|
|
76
|
+
* Current values win on key conflicts.
|
|
77
|
+
*/
|
|
78
|
+
if (tokenBodyParameters) {
|
|
79
|
+
currentFields.extraParameters = {
|
|
80
|
+
...tokenBodyParameters,
|
|
81
|
+
...currentFields.extraParameters,
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
/*
|
|
85
|
+
* authorizePostBodyParameters (removed in v5) → extraParameters.
|
|
86
|
+
* Merged after tokenBodyParameters; current values still win.
|
|
87
|
+
*/
|
|
88
|
+
if (authorizePostBodyParameters) {
|
|
89
|
+
currentFields.extraParameters = {
|
|
90
|
+
...authorizePostBodyParameters,
|
|
91
|
+
...currentFields.extraParameters,
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
return currentFields;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Add legacy field aliases to an outgoing request so that an older broker
|
|
98
|
+
* can still consume the parameters.
|
|
99
|
+
*
|
|
100
|
+
* - Copies current field values into all known legacy field names.
|
|
101
|
+
* - Merges extraParameters into extraQueryParameters (extraParameters wins)
|
|
102
|
+
* so the v4 broker sees them on the /authorize query string.
|
|
103
|
+
* - Deliberately omits authorizePostBodyParameters.
|
|
104
|
+
* - Is idempotent: safe to call multiple times.
|
|
105
|
+
*
|
|
106
|
+
* @param request - The request about to be wrapped in a broker auth request.
|
|
107
|
+
* @returns A new request carrying both current and legacy field names.
|
|
108
|
+
*/
|
|
109
|
+
function addLegacyRequestFields(request) {
|
|
110
|
+
const result = {
|
|
111
|
+
...addResourceField(request),
|
|
112
|
+
};
|
|
113
|
+
// extraQueryParameters → also set legacy tokenQueryParameters (removed in v5)
|
|
114
|
+
if (result.extraQueryParameters) {
|
|
115
|
+
result.tokenQueryParameters = { ...result.extraQueryParameters };
|
|
116
|
+
}
|
|
117
|
+
// extraParameters → also set legacy field aliases (removed in v5)
|
|
118
|
+
if (result.extraParameters) {
|
|
119
|
+
// Token endpoint is always POST, so body params always apply.
|
|
120
|
+
result.tokenBodyParameters = { ...result.extraParameters };
|
|
121
|
+
/*
|
|
122
|
+
* In v5, extraParameters are sent on the /authorize query string (GET)
|
|
123
|
+
* or POST body depending on httpMethod. The v4 broker reads
|
|
124
|
+
* extraQueryParameters for both flows' query strings, so merging here
|
|
125
|
+
* covers both. We intentionally omit authorizePostBodyParameters
|
|
126
|
+
* because v4 throws if it is present without httpMethod === "POST",
|
|
127
|
+
* and the embedded app cannot expect control over how the request
|
|
128
|
+
* is made.
|
|
129
|
+
*/
|
|
130
|
+
result.extraQueryParameters = {
|
|
131
|
+
...result.extraQueryParameters,
|
|
132
|
+
...result.extraParameters,
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
return result;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export { addLegacyRequestFields, addResourceField, normalizeIncomingRequest, normalizeResourceField };
|
|
139
|
+
//# sourceMappingURL=CrossVersionRequestAdapter.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CrossVersionRequestAdapter.mjs","sources":["../../../src/webBrokerBridge/adapter/CrossVersionRequestAdapter.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AA6BH;;;;;;;AAOG;AACG,SAAU,sBAAsB,CAEpC,OAAiB,EAAA;AACf,IAAA,IAAI,OAAO,CAAC,eAAe,EAAE,QAAQ,EAAE;QACnC,MAAM,EAAE,QAAQ,EAAE,GAAG,eAAe,EAAE,GAAG,OAAO,CAAC,eAAe,CAAC;AACjE,QAAA,MAAM,MAAM,GAAG,EAAE,GAAG,OAAO,EAAE,CAAC;AAC9B,QAAA,MAAM,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC3B,QAAA,MAAM,CAAC,eAAe,GAAG,eAAe,CAAC;AACzC,QAAA,OAAO,MAAM,CAAC;AACjB,IAAA,CAAA;AACD,IAAA,OAAO,OAAO,CAAC;AACnB,CAAC;AAED;;;;;;;AAOG;AACG,SAAU,gBAAgB,CAC5B,OAAiB,EAAA;IAEjB,IAAI,OAAO,CAAC,QAAQ,EAAE;AAClB,QAAA,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;AAClC,QAAA,MAAM,MAAM,GAAG,EAAE,GAAG,OAAO,EAAE,CAAC;QAC9B,MAAM,CAAC,eAAe,GAAG;YACrB,GAAG,MAAM,CAAC,eAAe;YACzB,QAAQ;SACX,CAAC;QACF,OAAO,MAAM,CAAC,QAAQ,CAAC;AACvB,QAAA,OAAO,MAAM,CAAC;AACjB,IAAA,CAAA;AACD,IAAA,OAAO,OAAO,CAAC;AACnB,CAAC;AAED;;;;;;;;;;AAUG;AACG,SAAU,wBAAwB,CAEtC,OAAsC,EAAA;AACpC,IAAA,MAAM,UAAU,GAAG,sBAAsB,CAAC,OAAO,CAAC,CAAC;AACnD,IAAA,MAAM,aAAa,GAAG,EAAE,GAAG,UAAU,EAAE,CAAC;IACxC,MAAM,EACF,oBAAoB,EACpB,mBAAmB,EACnB,2BAA2B,GAC9B,GAAG,aAAa,CAAC;IAElB,OAAO,aAAa,CAAC,oBAAoB,CAAC;IAC1C,OAAO,aAAa,CAAC,mBAAmB,CAAC;IACzC,OAAO,aAAa,CAAC,2BAA2B,CAAC;AAEjD;;;AAGG;AACH,IAAA,IAAI,oBAAoB,EAAE;QACtB,aAAa,CAAC,oBAAoB,GAAG;AACjC,YAAA,GAAG,oBAAoB;YACvB,GAAG,aAAa,CAAC,oBAAoB;SACxC,CAAC;AACL,IAAA,CAAA;AAED;;;AAGG;AACH,IAAA,IAAI,mBAAmB,EAAE;QACrB,aAAa,CAAC,eAAe,GAAG;AAC5B,YAAA,GAAG,mBAAmB;YACtB,GAAG,aAAa,CAAC,eAAe;SACnC,CAAC;AACL,IAAA,CAAA;AAED;;;AAGG;AACH,IAAA,IAAI,2BAA2B,EAAE;QAC7B,aAAa,CAAC,eAAe,GAAG;AAC5B,YAAA,GAAG,2BAA2B;YAC9B,GAAG,aAAa,CAAC,eAAe;SACnC,CAAC;AACL,IAAA,CAAA;AAED,IAAA,OAAO,aAAa,CAAC;AACzB,CAAC;AAED;;;;;;;;;;;;AAYG;AACG,SAAU,sBAAsB,CAEpC,OAAiB,EAAA;AACf,IAAA,MAAM,MAAM,GAAkC;QAC1C,GAAG,gBAAgB,CAAC,OAAO,CAAC;KAC/B,CAAC;;IAGF,IAAI,MAAM,CAAC,oBAAoB,EAAE;QAC7B,MAAM,CAAC,oBAAoB,GAAG,EAAE,GAAG,MAAM,CAAC,oBAAoB,EAAE,CAAC;AACpE,IAAA,CAAA;;IAGD,IAAI,MAAM,CAAC,eAAe,EAAE;;QAExB,MAAM,CAAC,mBAAmB,GAAG,EAAE,GAAG,MAAM,CAAC,eAAe,EAAE,CAAC;AAE3D;;;;;;;;AAQG;QACH,MAAM,CAAC,oBAAoB,GAAG;YAC1B,GAAG,MAAM,CAAC,oBAAoB;YAC9B,GAAG,MAAM,CAAC,eAAe;SAC5B,CAAC;AACL,IAAA,CAAA;AAED,IAAA,OAAO,MAAM,CAAC;AAClB;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*! @azure/msal-browser v5.23.0 2026-09-23 */
|
|
2
|
+
'use strict';
|
|
3
|
+
export { WebBrokerBridgeErrorCode } from './WebBrokerBridgeError.mjs';
|
|
4
|
+
export { toAuthError } from './WebBrokerBridgeErrorMap.mjs';
|
|
5
|
+
export { PendingRequestRegistry } from './PendingRequestRegistry.mjs';
|
|
6
|
+
export { addLegacyRequestFields, addResourceField, normalizeIncomingRequest, normalizeResourceField } from './adapter/CrossVersionRequestAdapter.mjs';
|
|
7
|
+
export { AcquireTokenByBroker, BrokerClientApplicationBrokeredSSOSilentRequest, BrokerClientApplicationBrokeredSilentRequest, BrokerClientApplicationHandleBrokerHandshake, BrokeredPopupRequest, BrokeredRedirectRequest, BrokeredSilentRequest, BrokeredSsoSilentRequest, EmbeddedClientApplicationHandleRedirectRequest, EmbeddedClientApplicationSendPopupRequest, EmbeddedClientApplicationSendSSOSilentRequest, EmbeddedClientApplicationSendSilentRefreshRequest, EmbeddedSendSilentRefreshRequestInternal, GetFrameDepth, HandleBrokerAuthRequest, HandleBrokerMessage, HandleResponse, InteractiveBrokerRequest, OnHandshakeResponse, PairwiseBrokerApplicationInitializeBrokering, PostMessageToAllDescendantFrames, SendHandshakeRequest, SendMessageToBroker, SendRequest } from './PerfEventNames.mjs';
|
|
8
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-09-
|
|
3
|
-
"packageVersion": "5.
|
|
4
|
-
"totalStrings":
|
|
2
|
+
"timestamp": "2026-09-23T15:53:07.911Z",
|
|
3
|
+
"packageVersion": "5.23.0",
|
|
4
|
+
"totalStrings": 490,
|
|
5
5
|
"mappings": {
|
|
6
6
|
"0yfud8": {
|
|
7
7
|
"message": "Failed to get access token from cache.",
|
|
@@ -255,10 +255,110 @@
|
|
|
255
255
|
"message": "Requesting MFA challenge with authentication method - '${authMethodId}'.",
|
|
256
256
|
"level": "verbose"
|
|
257
257
|
},
|
|
258
|
+
"03m081": {
|
|
259
|
+
"message": "Failed to submit V2 new password. Error: '${error}'.",
|
|
260
|
+
"level": "errorPii"
|
|
261
|
+
},
|
|
262
|
+
"0ie1qa": {
|
|
263
|
+
"message": "Submitting V2 new password.",
|
|
264
|
+
"level": "verbose"
|
|
265
|
+
},
|
|
266
|
+
"0eq23q": {
|
|
267
|
+
"message": "Failed to resend V2 first-factor code. Error: '${error}'.",
|
|
268
|
+
"level": "errorPii"
|
|
269
|
+
},
|
|
270
|
+
"1xub2c": {
|
|
271
|
+
"message": "Resending V2 first-factor code.",
|
|
272
|
+
"level": "verbose"
|
|
273
|
+
},
|
|
274
|
+
"0br9qy": {
|
|
275
|
+
"message": "Failed to submit V2 first-factor code. Error: '${error}'.",
|
|
276
|
+
"level": "errorPii"
|
|
277
|
+
},
|
|
278
|
+
"1x3xae": {
|
|
279
|
+
"message": "Submitting V2 first-factor code.",
|
|
280
|
+
"level": "verbose"
|
|
281
|
+
},
|
|
282
|
+
"1qw1ey": {
|
|
283
|
+
"message": "Failed to resend V2 MFA challenge. Error: '${error}'.",
|
|
284
|
+
"level": "errorPii"
|
|
285
|
+
},
|
|
286
|
+
"13st9u": {
|
|
287
|
+
"message": "Resending V2 MFA challenge.",
|
|
288
|
+
"level": "verbose"
|
|
289
|
+
},
|
|
290
|
+
"178w0g": {
|
|
291
|
+
"message": "Failed to submit V2 MFA challenge. Error: '${error}'.",
|
|
292
|
+
"level": "errorPii"
|
|
293
|
+
},
|
|
294
|
+
"10k0lc": {
|
|
295
|
+
"message": "Submitting V2 MFA challenge.",
|
|
296
|
+
"level": "verbose"
|
|
297
|
+
},
|
|
298
|
+
"0z5x7r": {
|
|
299
|
+
"message": "Failed to request V2 challenge. Error: '${error}'.",
|
|
300
|
+
"level": "errorPii"
|
|
301
|
+
},
|
|
302
|
+
"1r2ypl": {
|
|
303
|
+
"message": "Requesting challenge for the selected V2 method.",
|
|
304
|
+
"level": "verbose"
|
|
305
|
+
},
|
|
306
|
+
"0ax1kt": {
|
|
307
|
+
"message": "Failed to request V2 MFA challenge. Error: '${error}'.",
|
|
308
|
+
"level": "errorPii"
|
|
309
|
+
},
|
|
310
|
+
"0qvjzk": {
|
|
311
|
+
"message": "Failed to submit V2 sign-in password. Error: '${error}'.",
|
|
312
|
+
"level": "errorPii"
|
|
313
|
+
},
|
|
314
|
+
"0zoo5u": {
|
|
315
|
+
"message": "Failed to sign in with a V2 continuation. Error: '${error}'.",
|
|
316
|
+
"level": "errorPii"
|
|
317
|
+
},
|
|
318
|
+
"09mk3f": {
|
|
319
|
+
"message": "Signing in with a V2 continuation.",
|
|
320
|
+
"level": "verbose"
|
|
321
|
+
},
|
|
322
|
+
"0l4w01": {
|
|
323
|
+
"message": "Failed to submit V2 sign-up attributes. Error: '${error}'.",
|
|
324
|
+
"level": "errorPii"
|
|
325
|
+
},
|
|
326
|
+
"07t30r": {
|
|
327
|
+
"message": "Failed to submit V2 sign-up password. Error: '${error}'.",
|
|
328
|
+
"level": "errorPii"
|
|
329
|
+
},
|
|
258
330
|
"1a17tw": {
|
|
259
331
|
"message": "User has already signed in.",
|
|
260
332
|
"level": "error"
|
|
261
333
|
},
|
|
334
|
+
"196wno": {
|
|
335
|
+
"message": "An error occurred during native auth V2 sign-up: '${error}'",
|
|
336
|
+
"level": "errorPii"
|
|
337
|
+
},
|
|
338
|
+
"0010xn": {
|
|
339
|
+
"message": "Starting native auth V2 sign-up.",
|
|
340
|
+
"level": "verbose"
|
|
341
|
+
},
|
|
342
|
+
"11afy0": {
|
|
343
|
+
"message": "An error occurred during native auth V2 sign-in: '${error}'",
|
|
344
|
+
"level": "errorPii"
|
|
345
|
+
},
|
|
346
|
+
"145cnd": {
|
|
347
|
+
"message": "Starting native auth V2 sign-in.",
|
|
348
|
+
"level": "verbose"
|
|
349
|
+
},
|
|
350
|
+
"1f279y": {
|
|
351
|
+
"message": "An error occurred during native auth V2 reset-password: '${error}'",
|
|
352
|
+
"level": "errorPii"
|
|
353
|
+
},
|
|
354
|
+
"1yrzgs": {
|
|
355
|
+
"message": "Native auth V2 password-reset flow started.",
|
|
356
|
+
"level": "verbose"
|
|
357
|
+
},
|
|
358
|
+
"0301h1": {
|
|
359
|
+
"message": "Starting native auth V2 password-reset flow.",
|
|
360
|
+
"level": "verbose"
|
|
361
|
+
},
|
|
262
362
|
"1s0wwh": {
|
|
263
363
|
"message": "An error occurred during starting reset-password: '${error}'",
|
|
264
364
|
"level": "errorPii"
|
|
@@ -411,6 +511,50 @@
|
|
|
411
511
|
"message": "Calling initiate endpoint for sign in.",
|
|
412
512
|
"level": "verbose"
|
|
413
513
|
},
|
|
514
|
+
"1poo9g": {
|
|
515
|
+
"message": "V2 start response has no authentication method advertising a challenge link",
|
|
516
|
+
"level": "error"
|
|
517
|
+
},
|
|
518
|
+
"0d2mys": {
|
|
519
|
+
"message": "resendCode",
|
|
520
|
+
"level": "verbose"
|
|
521
|
+
},
|
|
522
|
+
"1bi1xn": {
|
|
523
|
+
"message": "Submitting V2 sign-in password.",
|
|
524
|
+
"level": "verbose"
|
|
525
|
+
},
|
|
526
|
+
"15nu4j": {
|
|
527
|
+
"message": "V2 continuation sign-in completed.",
|
|
528
|
+
"level": "verbose"
|
|
529
|
+
},
|
|
530
|
+
"0hrwdj": {
|
|
531
|
+
"message": "V2 password reset applied; sign-in required.",
|
|
532
|
+
"level": "verbose"
|
|
533
|
+
},
|
|
534
|
+
"0js2ub": {
|
|
535
|
+
"message": "Submitting additional V2 sign-up attributes.",
|
|
536
|
+
"level": "verbose"
|
|
537
|
+
},
|
|
538
|
+
"16ks6n": {
|
|
539
|
+
"message": "Submitting V2 one-time code.",
|
|
540
|
+
"level": "verbose"
|
|
541
|
+
},
|
|
542
|
+
"0k8yah": {
|
|
543
|
+
"message": "V2 self-service password reset method selection required.",
|
|
544
|
+
"level": "verbose"
|
|
545
|
+
},
|
|
546
|
+
"1en88i": {
|
|
547
|
+
"message": "Starting V2 self-service password reset.",
|
|
548
|
+
"level": "verbose"
|
|
549
|
+
},
|
|
550
|
+
"19e1ak": {
|
|
551
|
+
"message": "Starting V2 sign-up.",
|
|
552
|
+
"level": "verbose"
|
|
553
|
+
},
|
|
554
|
+
"1jeyrn": {
|
|
555
|
+
"message": "Starting V2 sign-in.",
|
|
556
|
+
"level": "verbose"
|
|
557
|
+
},
|
|
414
558
|
"13zvmd": {
|
|
415
559
|
"message": "Attributes are required in the sign up flow.",
|
|
416
560
|
"level": "verbose"
|
|
@@ -943,6 +1087,30 @@
|
|
|
943
1087
|
"message": "getRedirectUri called",
|
|
944
1088
|
"level": "verbose"
|
|
945
1089
|
},
|
|
1090
|
+
"1x9eyr": {
|
|
1091
|
+
"message": "CustomAuthRequestInterceptor.addAdditionalHeaderFields threw an error; continuing without additional headers: '${e}'",
|
|
1092
|
+
"level": "warningPii"
|
|
1093
|
+
},
|
|
1094
|
+
"0u4c13": {
|
|
1095
|
+
"message": "V2 API returned an error: '${apiError.error}'",
|
|
1096
|
+
"level": "error"
|
|
1097
|
+
},
|
|
1098
|
+
"1wtzk1": {
|
|
1099
|
+
"message": "V2 HAL request is missing the continuation token that threads the flow forward",
|
|
1100
|
+
"level": "error"
|
|
1101
|
+
},
|
|
1102
|
+
"0hzeol": {
|
|
1103
|
+
"message": "V2 authorize-challenge continue response is missing the authorization code",
|
|
1104
|
+
"level": "error"
|
|
1105
|
+
},
|
|
1106
|
+
"15sfif": {
|
|
1107
|
+
"message": "V2 authorize-challenge entry failed: '${apiError.error}'",
|
|
1108
|
+
"level": "error"
|
|
1109
|
+
},
|
|
1110
|
+
"1aahxi": {
|
|
1111
|
+
"message": "Processing V2 token response.",
|
|
1112
|
+
"level": "verbose"
|
|
1113
|
+
},
|
|
946
1114
|
"1pmscr": {
|
|
947
1115
|
"message": "Overriding existing interaction_in_progress for clientId: ${existingInteraction.clientId}, type: ${existingInteraction.type}",
|
|
948
1116
|
"level": "warning"
|
|
@@ -1591,6 +1759,30 @@
|
|
|
1591
1759
|
"message": "initializeLogoutRequest called",
|
|
1592
1760
|
"level": "verbose"
|
|
1593
1761
|
},
|
|
1762
|
+
"1m3lhk": {
|
|
1763
|
+
"message": "Additional header field \"${trimmedName}\" uses reserved prefix \"${reservedPrefix}\". Ignoring.",
|
|
1764
|
+
"level": "warningPii"
|
|
1765
|
+
},
|
|
1766
|
+
"0vzpop": {
|
|
1767
|
+
"message": "Additional header field \"${trimmedName}\" must start with the \"${CustomHeaderConstants.REQUIRED_PREFIX}\" prefix. Ignoring.",
|
|
1768
|
+
"level": "warningPii"
|
|
1769
|
+
},
|
|
1770
|
+
"09w4yw": {
|
|
1771
|
+
"message": "V2 response serialization failed: body is not a JSON object",
|
|
1772
|
+
"level": "error"
|
|
1773
|
+
},
|
|
1774
|
+
"0fc89v": {
|
|
1775
|
+
"message": "V2 response serialization failed: body is not valid JSON",
|
|
1776
|
+
"level": "error"
|
|
1777
|
+
},
|
|
1778
|
+
"0u0cak": {
|
|
1779
|
+
"message": "V2 HAL response is missing the required embedded authentication methods",
|
|
1780
|
+
"level": "error"
|
|
1781
|
+
},
|
|
1782
|
+
"0a3z6v": {
|
|
1783
|
+
"message": "V2 HAL response is missing the required continuation token",
|
|
1784
|
+
"level": "error"
|
|
1785
|
+
},
|
|
1594
1786
|
"1ptwx4": {
|
|
1595
1787
|
"message": "CustomAuthRequestInterceptor.addAdditionalHeaderFields threw an error; continuing without additional headers: ${e}",
|
|
1596
1788
|
"level": "warningPii"
|
|
@@ -1770,14 +1962,6 @@
|
|
|
1770
1962
|
"1wx7zz": {
|
|
1771
1963
|
"message": "Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.",
|
|
1772
1964
|
"level": "error"
|
|
1773
|
-
},
|
|
1774
|
-
"1m3lhk": {
|
|
1775
|
-
"message": "Additional header field \"${trimmedName}\" uses reserved prefix \"${reservedPrefix}\". Ignoring.",
|
|
1776
|
-
"level": "warningPii"
|
|
1777
|
-
},
|
|
1778
|
-
"0vzpop": {
|
|
1779
|
-
"message": "Additional header field \"${trimmedName}\" must start with the \"${CustomHeaderConstants.REQUIRED_PREFIX}\" prefix. Ignoring.",
|
|
1780
|
-
"level": "warningPii"
|
|
1781
1965
|
}
|
|
1782
1966
|
}
|
|
1783
1967
|
}
|