@azure/msal-browser 5.25.1 → 5.26.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 +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthRequest.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/NestedAppAuthController.mjs +7 -2
- package/dist/controllers/NestedAppAuthController.mjs.map +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 +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs +49 -19
- 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 +1 -1
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +8 -7
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs +4 -3
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs +174 -0
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +67 -17
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs +3 -4
- package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs +7 -15
- package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +1 -5
- package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs.map +1 -1
- 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 +61 -52
- package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs.map +1 -1
- package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs +6 -3
- package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs.map +1 -1
- package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs +1 -1
- 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 +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 +1 -2
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs +12 -10
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs +3 -3
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs +3 -7
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs +2 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs +8 -2
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs.map +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 +2 -11
- 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/state/NewPasswordRequiredStateV2.mjs +1 -3
- package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs.map +1 -1
- 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/state/PasswordRequiredStateV2.mjs +5 -5
- package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs +5 -16
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs +35 -0
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.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/state/AttributesRequiredStateV2.mjs +1 -3
- package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs +1 -3
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs +1 -1
- 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/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 +4 -3
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +4 -3
- 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 +4 -3
- package/dist/interaction_client/SilentIframeClient.mjs.map +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 +6 -6
- 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/request/SilentRequestHelpers.mjs +9 -3
- package/dist/request/SilentRequestHelpers.mjs.map +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/BrowserDetection.mjs +53 -0
- package/dist/utils/BrowserDetection.mjs.map +1 -0
- 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 +1 -1
- package/dist/webBrokerBridge/WebBrokerBridgeError.mjs +1 -1
- package/dist/webBrokerBridge/WebBrokerBridgeErrorMap.mjs +1 -1
- package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs +1 -1
- package/dist/webBrokerBridge/index.mjs +1 -1
- package/lib/custom-auth-path/log-strings-mapping.json +6 -6
- package/lib/custom-auth-path/msal-custom-auth.cjs +601 -657
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +602 -658
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/lib/log-strings-mapping.json +7 -3
- package/lib/msal-browser.cjs +136 -78
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +136 -78
- 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 +1 -1
- package/package.json +2 -2
- package/src/controllers/NestedAppAuthController.ts +6 -1
- package/src/custom_auth/CustomAuthActionInputs.ts +16 -6
- package/src/custom_auth/controller/CustomAuthStandardController.ts +78 -17
- package/src/custom_auth/core/auth_flow/v2/CustomAuthResultV2.ts +18 -30
- package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.ts +1 -0
- package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.ts +239 -0
- package/src/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.ts +2 -5
- package/src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts +0 -2
- package/src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts +13 -10
- package/src/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.ts +19 -0
- package/src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts +3 -6
- package/src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts +4 -6
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts +114 -17
- package/src/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.ts +6 -3
- package/src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts +17 -19
- package/src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts +5 -5
- package/src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts +0 -4
- package/src/custom_auth/core/error/CustomAuthApiError.ts +2 -1
- package/src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts +3 -4
- package/src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts +75 -68
- package/src/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.ts +6 -3
- package/src/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.ts +2 -4
- package/src/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.ts +0 -1
- package/src/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.ts +17 -15
- package/src/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.ts +1 -1
- package/src/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.ts +3 -11
- package/src/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.ts +2 -3
- package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.ts +1 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.ts +2 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.ts +1 -1
- package/src/custom_auth/core/utils/ArgumentValidator.ts +13 -0
- package/src/custom_auth/index.ts +4 -14
- package/src/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.ts +6 -10
- package/src/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.ts +0 -2
- package/src/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.ts +3 -6
- package/src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts +2 -4
- package/src/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.ts +2 -4
- package/src/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.ts +5 -4
- package/src/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.ts +4 -23
- package/src/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.ts +56 -0
- package/src/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.ts +1 -5
- package/src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts +2 -5
- package/src/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.ts +0 -2
- package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.ts +0 -2
- package/src/interaction_client/PopupClient.ts +9 -1
- package/src/interaction_client/RedirectClient.ts +9 -4
- package/src/interaction_client/SilentIframeClient.ts +9 -2
- package/src/packageMetadata.ts +1 -1
- package/src/request/SilentRequestHelpers.ts +11 -2
- package/src/utils/BrowserDetection.ts +85 -0
- package/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/types/custom_auth/CustomAuthActionInputs.d.ts +16 -5
- package/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
- package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/types/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
- package/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts +9 -11
- package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts +1 -0
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts +90 -0
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts +1 -2
- package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts +1 -2
- package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts +8 -7
- package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.d.ts +13 -0
- package/types/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.d.ts.map +1 -0
- package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts +2 -3
- package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts +5 -6
- package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts +9 -6
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts +2 -2
- package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts +5 -3
- package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/error/CustomAuthApiError.d.ts +2 -1
- package/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts +1 -3
- package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts +2 -2
- package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts +2 -2
- package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts +2 -4
- package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts +0 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts +2 -2
- package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.d.ts +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts +1 -2
- package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts +2 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts.map +1 -1
- package/types/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
- package/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
- package/types/custom_auth/index.d.ts +3 -12
- package/types/custom_auth/index.d.ts.map +1 -1
- package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts +5 -7
- package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts.map +1 -1
- package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts +4 -6
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts +3 -4
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts +3 -4
- package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts +4 -9
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.d.ts +9 -0
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.d.ts.map +1 -0
- package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts +1 -2
- package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts +1 -2
- package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts.map +1 -1
- package/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/types/packageMetadata.d.ts +1 -1
- package/types/request/SilentRequestHelpers.d.ts +1 -1
- package/types/request/SilentRequestHelpers.d.ts.map +1 -1
- package/types/utils/BrowserDetection.d.ts +17 -0
- package/types/utils/BrowserDetection.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs +0 -102
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs.map +0 -1
- package/dist/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.mjs +0 -20
- package/dist/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.mjs.map +0 -1
- package/dist/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.mjs +0 -36
- package/dist/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.mjs.map +0 -1
- package/dist/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.mjs +0 -29
- package/dist/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.mjs.map +0 -1
- package/dist/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.mjs +0 -36
- package/dist/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.mjs.map +0 -1
- package/dist/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.mjs +0 -61
- package/dist/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.mjs.map +0 -1
- package/dist/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.mjs +0 -29
- package/dist/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.mjs.map +0 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.mjs +0 -18
- package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.mjs.map +0 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.mjs +0 -37
- package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.mjs.map +0 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.mjs +0 -23
- package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.mjs.map +0 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.mjs +0 -25
- package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.mjs.map +0 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.mjs +0 -33
- package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.mjs.map +0 -1
- package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.ts +0 -146
- package/src/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.ts +0 -15
- package/src/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.ts +0 -33
- package/src/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.ts +0 -25
- package/src/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.ts +0 -18
- package/src/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.ts +0 -59
- package/src/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.ts +0 -76
- package/src/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.ts +0 -25
- package/src/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.ts +0 -13
- package/src/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.ts +0 -35
- package/src/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.ts +0 -19
- package/src/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.ts +0 -21
- package/src/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.ts +0 -32
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.d.ts +0 -40
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.d.ts.map +0 -1
- package/types/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.d.ts +0 -11
- package/types/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.d.ts.map +0 -1
- package/types/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.d.ts +0 -23
- package/types/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.d.ts.map +0 -1
- package/types/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.d.ts +0 -18
- package/types/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.d.ts.map +0 -1
- package/types/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.d.ts +0 -7
- package/types/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.d.ts.map +0 -1
- package/types/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.d.ts +0 -17
- package/types/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.d.ts.map +0 -1
- package/types/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.d.ts +0 -18
- package/types/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.d.ts.map +0 -1
- package/types/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.d.ts +0 -18
- package/types/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.d.ts.map +0 -1
- package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.d.ts +0 -9
- package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.d.ts.map +0 -1
- package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.d.ts +0 -22
- package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.d.ts.map +0 -1
- package/types/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.d.ts +0 -12
- package/types/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.d.ts.map +0 -1
- package/types/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.d.ts +0 -14
- package/types/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.d.ts.map +0 -1
- package/types/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.d.ts +0 -20
- package/types/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.d.ts.map +0 -1
package/src/custom_auth/index.ts
CHANGED
|
@@ -248,7 +248,6 @@ export {
|
|
|
248
248
|
ResetPasswordInputsV2,
|
|
249
249
|
SignInInputsV2,
|
|
250
250
|
SignUpInputsV2,
|
|
251
|
-
SignInContinuationInputsV2,
|
|
252
251
|
} from "./CustomAuthActionInputs.js";
|
|
253
252
|
|
|
254
253
|
// Native Auth V2 Result
|
|
@@ -261,15 +260,7 @@ export { CustomAuthFlowScenarioV2 } from "./core/auth_flow/v2/CustomAuthFlowScen
|
|
|
261
260
|
export { AuthenticationMethodV2 } from "./core/auth_flow/v2/AuthenticationMethodV2.js";
|
|
262
261
|
|
|
263
262
|
// Native Auth V2 Errors
|
|
264
|
-
export {
|
|
265
|
-
export { RequestChallengeErrorV2 } from "./core/auth_flow/v2/error/RequestChallengeErrorV2.js";
|
|
266
|
-
export { VerifyChallengeErrorV2 } from "./core/auth_flow/v2/error/VerifyChallengeErrorV2.js";
|
|
267
|
-
export { SubmitNewPasswordErrorV2 } from "./reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.js";
|
|
268
|
-
export { SignInStartErrorV2 } from "./sign_in/auth_flow/v2/error_type/SignInStartErrorV2.js";
|
|
269
|
-
export { SignUpStartErrorV2 } from "./sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.js";
|
|
270
|
-
export { SignInContinuationErrorV2 } from "./sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.js";
|
|
271
|
-
export { SubmitPasswordErrorV2 } from "./sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.js";
|
|
272
|
-
export { SubmitAttributesErrorV2 } from "./sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.js";
|
|
263
|
+
export { AuthFlowErrorV2 } from "./core/auth_flow/v2/error/AuthFlowErrorV2.js";
|
|
273
264
|
|
|
274
265
|
// Native Auth V2 States
|
|
275
266
|
export { CompletedStateV2 } from "./core/auth_flow/v2/state/CompletedStateV2.js";
|
|
@@ -278,7 +269,6 @@ export { NewPasswordRequiredStateV2 } from "./reset_password/auth_flow/v2/state/
|
|
|
278
269
|
export { CodeRequiredStateV2 } from "./core/auth_flow/v2/state/CodeRequiredStateV2.js";
|
|
279
270
|
export { MFAVerificationRequiredStateV2 } from "./core/auth_flow/v2/state/MFAVerificationRequiredStateV2.js";
|
|
280
271
|
export { AuthMethodSelectionRequiredStateV2 } from "./core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.js";
|
|
281
|
-
export { MFARequiredStateV2 } from "./core/auth_flow/v2/state/MFARequiredStateV2.js";
|
|
282
272
|
export { PasswordRequiredStateV2 } from "./sign_in/auth_flow/v2/state/PasswordRequiredStateV2.js";
|
|
283
273
|
export { SignInContinuationStateV2 } from "./sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
|
|
284
274
|
export { AttributesRequiredStateV2 } from "./sign_up/auth_flow/v2/state/AttributesRequiredStateV2.js";
|
|
@@ -302,9 +292,9 @@ export {
|
|
|
302
292
|
RequestChallengeResultStateV2,
|
|
303
293
|
} from "./core/auth_flow/v2/result/RequestChallengeResultV2.js";
|
|
304
294
|
export {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
} from "./core/auth_flow/v2/result/
|
|
295
|
+
ResendCodeResultV2,
|
|
296
|
+
ResendCodeResultStateV2,
|
|
297
|
+
} from "./core/auth_flow/v2/result/ResendCodeResultV2.js";
|
|
308
298
|
export {
|
|
309
299
|
MFASubmitChallengeResultV2,
|
|
310
300
|
MFASubmitChallengeResultStateV2,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
7
7
|
import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
|
|
8
8
|
import type { SignInContinuationStateV2 } from "../../../../sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
|
|
9
|
-
import type { SubmitNewPasswordErrorV2 } from "../error_type/SubmitNewPasswordErrorV2.js";
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* The states a submit-new-password action can resolve to. Submitting the new
|
|
@@ -21,13 +20,10 @@ export type SubmitNewPasswordResultStateV2 =
|
|
|
21
20
|
|
|
22
21
|
/**
|
|
23
22
|
* Result of submitting a new password. It wraps one of
|
|
24
|
-
* {@link SubmitNewPasswordResultStateV2} plus
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* surfaced by the subsequent sign-in.
|
|
23
|
+
* {@link SubmitNewPasswordResultStateV2} plus the unified V2 flow error on
|
|
24
|
+
* failure. Submitting completes the reset but does not sign the user in, so a
|
|
25
|
+
* successful result reaches `SignInContinuationStateV2` and carries no account
|
|
26
|
+
* data; the account is surfaced by the subsequent sign-in.
|
|
29
27
|
*/
|
|
30
|
-
export type SubmitNewPasswordResultV2 =
|
|
31
|
-
SubmitNewPasswordResultStateV2
|
|
32
|
-
SubmitNewPasswordErrorV2
|
|
33
|
-
>;
|
|
28
|
+
export type SubmitNewPasswordResultV2 =
|
|
29
|
+
CustomAuthResultV2<SubmitNewPasswordResultStateV2>;
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
import { AuthFlowActionRequiredStateBase } from "../../../../core/auth_flow/AuthFlowState.js";
|
|
7
7
|
import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
8
8
|
import { SignInContinuationStateV2 } from "../../../../sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
|
|
9
|
-
import { SubmitNewPasswordErrorV2 } from "../error_type/SubmitNewPasswordErrorV2.js";
|
|
10
9
|
import type { NewPasswordRequiredStateParametersV2 } from "./ResetPasswordStateParametersV2.js";
|
|
11
10
|
import type { SubmitNewPasswordResultV2 } from "../result/SubmitNewPasswordResultV2.js";
|
|
12
11
|
|
|
@@ -60,7 +59,6 @@ export class NewPasswordRequiredStateV2 extends AuthFlowActionRequiredStateBase<
|
|
|
60
59
|
);
|
|
61
60
|
|
|
62
61
|
return CustomAuthResultV2.createWithError(error, {
|
|
63
|
-
errorType: SubmitNewPasswordErrorV2,
|
|
64
62
|
scenario: continuationState.scenario,
|
|
65
63
|
correlationId,
|
|
66
64
|
});
|
|
@@ -7,7 +7,6 @@ import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResu
|
|
|
7
7
|
import type { CompletedStateV2 } from "../../../../core/auth_flow/v2/state/CompletedStateV2.js";
|
|
8
8
|
import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
|
|
9
9
|
import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
10
|
-
import type { SignInContinuationErrorV2 } from "../error_type/SignInContinuationErrorV2.js";
|
|
11
10
|
|
|
12
11
|
/**
|
|
13
12
|
* The states a V2 continuation sign-in can resolve to. Signing in redeems the
|
|
@@ -19,13 +18,11 @@ export type SignInContinuationResultStateV2 = CompletedStateV2 | FailedStateV2;
|
|
|
19
18
|
|
|
20
19
|
/**
|
|
21
20
|
* Result of signing the user in from a V2 continuation. It wraps one of
|
|
22
|
-
* {@link SignInContinuationResultStateV2} plus
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* reaches `CompletedStateV2`.
|
|
21
|
+
* {@link SignInContinuationResultStateV2} plus the unified V2 flow error on
|
|
22
|
+
* failure and signed-in account data on success. This is the flow's completion
|
|
23
|
+
* point, so a successful result reaches `CompletedStateV2`.
|
|
26
24
|
*/
|
|
27
25
|
export type SignInContinuationResultV2 = CustomAuthResultV2<
|
|
28
26
|
SignInContinuationResultStateV2,
|
|
29
|
-
SignInContinuationErrorV2,
|
|
30
27
|
CustomAuthAccountData
|
|
31
28
|
>;
|
|
@@ -7,9 +7,8 @@ import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResu
|
|
|
7
7
|
import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
|
|
8
8
|
import type { CompletedStateV2 } from "../../../../core/auth_flow/v2/state/CompletedStateV2.js";
|
|
9
9
|
import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
10
|
-
import type { SignInStartErrorV2 } from "../error_type/SignInStartErrorV2.js";
|
|
11
10
|
import type { PasswordRequiredStateV2 } from "../state/PasswordRequiredStateV2.js";
|
|
12
|
-
import type {
|
|
11
|
+
import type { AuthMethodSelectionRequiredStateV2 } from "../../../../core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.js";
|
|
13
12
|
import type { CodeRequiredStateV2 } from "../../../../core/auth_flow/v2/state/CodeRequiredStateV2.js";
|
|
14
13
|
|
|
15
14
|
/**
|
|
@@ -18,7 +17,7 @@ import type { CodeRequiredStateV2 } from "../../../../core/auth_flow/v2/state/Co
|
|
|
18
17
|
export type SignInStartResultStateV2 =
|
|
19
18
|
| PasswordRequiredStateV2
|
|
20
19
|
| CodeRequiredStateV2
|
|
21
|
-
|
|
|
20
|
+
| AuthMethodSelectionRequiredStateV2
|
|
22
21
|
| CompletedStateV2
|
|
23
22
|
| FailedStateV2;
|
|
24
23
|
|
|
@@ -27,6 +26,5 @@ export type SignInStartResultStateV2 =
|
|
|
27
26
|
*/
|
|
28
27
|
export type SignInStartResultV2 = CustomAuthResultV2<
|
|
29
28
|
SignInStartResultStateV2,
|
|
30
|
-
SignInStartErrorV2,
|
|
31
29
|
CustomAuthAccountData | undefined
|
|
32
30
|
>;
|
|
@@ -6,17 +6,15 @@
|
|
|
6
6
|
import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
7
7
|
import type { CompletedStateV2 } from "../../../../core/auth_flow/v2/state/CompletedStateV2.js";
|
|
8
8
|
import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
|
|
9
|
-
import type {
|
|
9
|
+
import type { AuthMethodSelectionRequiredStateV2 } from "../../../../core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.js";
|
|
10
10
|
import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
11
|
-
import type { SubmitPasswordErrorV2 } from "../error_type/SubmitPasswordErrorV2.js";
|
|
12
11
|
|
|
13
12
|
export type SubmitPasswordResultStateV2 =
|
|
14
13
|
| CompletedStateV2
|
|
15
|
-
|
|
|
14
|
+
| AuthMethodSelectionRequiredStateV2
|
|
16
15
|
| FailedStateV2;
|
|
17
16
|
|
|
18
17
|
export type SubmitPasswordResultV2 = CustomAuthResultV2<
|
|
19
18
|
SubmitPasswordResultStateV2,
|
|
20
|
-
SubmitPasswordErrorV2,
|
|
21
19
|
CustomAuthAccountData | undefined
|
|
22
20
|
>;
|
|
@@ -8,15 +8,15 @@ import type { PasswordRequiredStateParametersV2 } from "./SignInStateParametersV
|
|
|
8
8
|
import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
9
9
|
import { CompletedStateV2 } from "../../../../core/auth_flow/v2/state/CompletedStateV2.js";
|
|
10
10
|
import { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
11
|
-
import { SubmitPasswordErrorV2 } from "../error_type/SubmitPasswordErrorV2.js";
|
|
12
11
|
import type { SubmitPasswordResultV2 } from "../result/SubmitPasswordResultV2.js";
|
|
13
|
-
import {
|
|
12
|
+
import { AuthMethodSelectionRequiredStateV2 } from "../../../../core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.js";
|
|
14
13
|
import {
|
|
15
14
|
FLOW_COMPLETED_V2,
|
|
16
15
|
FLOW_MFA_REQUIRED_V2,
|
|
17
16
|
} from "../../../../core/interaction_client/v2/result/FlowActionResultV2.js";
|
|
18
17
|
import { CustomAuthError } from "../../../../core/error/CustomAuthError.js";
|
|
19
18
|
import { UNSUPPORTED_FLOW_TRANSITION } from "../../../../core/network_client/custom_auth_api/v2/ErrorCodesV2.js";
|
|
19
|
+
import { AuthenticationFactorV2 } from "../../../../core/network_client/custom_auth_api/v2/result/BaseResultsV2.js";
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* State returned when the selected sign-in method requires the user's
|
|
@@ -61,7 +61,7 @@ export class PasswordRequiredStateV2 extends AuthFlowActionRequiredStateBase<Pas
|
|
|
61
61
|
|
|
62
62
|
if (result.type === FLOW_MFA_REQUIRED_V2) {
|
|
63
63
|
return new CustomAuthResultV2(
|
|
64
|
-
new
|
|
64
|
+
new AuthMethodSelectionRequiredStateV2({
|
|
65
65
|
correlationId: result.correlationId,
|
|
66
66
|
logger,
|
|
67
67
|
config: this.stateParameters.config,
|
|
@@ -69,6 +69,8 @@ export class PasswordRequiredStateV2 extends AuthFlowActionRequiredStateBase<Pas
|
|
|
69
69
|
continuationState: result.continuationState,
|
|
70
70
|
cacheClient: this.stateParameters.cacheClient,
|
|
71
71
|
methods: result.methods,
|
|
72
|
+
authenticationFactor:
|
|
73
|
+
AuthenticationFactorV2.MULTI_FACTOR,
|
|
72
74
|
}),
|
|
73
75
|
undefined,
|
|
74
76
|
result.continuationState.scenario
|
|
@@ -87,7 +89,6 @@ export class PasswordRequiredStateV2 extends AuthFlowActionRequiredStateBase<Pas
|
|
|
87
89
|
);
|
|
88
90
|
|
|
89
91
|
return CustomAuthResultV2.createWithError(error, {
|
|
90
|
-
errorType: SubmitPasswordErrorV2,
|
|
91
92
|
scenario: continuationState.scenario,
|
|
92
93
|
correlationId,
|
|
93
94
|
});
|
|
@@ -7,11 +7,8 @@ import { AuthFlowActionRequiredStateBase } from "../../../../core/auth_flow/Auth
|
|
|
7
7
|
import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
8
8
|
import { CompletedStateV2 } from "../../../../core/auth_flow/v2/state/CompletedStateV2.js";
|
|
9
9
|
import { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
|
|
10
|
-
import { SignInContinuationErrorV2 } from "../error_type/SignInContinuationErrorV2.js";
|
|
11
10
|
import type { SignInContinuationStateParametersV2 } from "./SignInStateParametersV2.js";
|
|
12
11
|
import type { SignInContinuationResultV2 } from "../result/SignInContinuationResultV2.js";
|
|
13
|
-
import type { SignInContinuationInputsV2 } from "../../../../CustomAuthActionInputs.js";
|
|
14
|
-
import * as ArgumentValidator from "../../../../core/utils/ArgumentValidator.js";
|
|
15
12
|
|
|
16
13
|
/**
|
|
17
14
|
* Shared state returned when a completed V2 flow can sign the user in by
|
|
@@ -23,35 +20,20 @@ export class SignInContinuationStateV2 extends AuthFlowActionRequiredStateBase<S
|
|
|
23
20
|
|
|
24
21
|
/**
|
|
25
22
|
* Signs the user in using the continuation established by the completed V2
|
|
26
|
-
* flow.
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* @param inputs - Optional scopes requested for the issued token. Claims
|
|
30
|
-
* are accepted for API alignment but are not sent until the V2 service
|
|
31
|
-
* supports them on authorize-challenge.
|
|
32
|
-
* @returns The result of signing in after the password reset.
|
|
23
|
+
* flow. The result either reaches the completed state with the signed-in
|
|
24
|
+
* account data or reports why the follow-up sign-in could not complete.
|
|
25
|
+
* @returns The result of completing the continuation sign-in.
|
|
33
26
|
*/
|
|
34
|
-
async signIn(
|
|
35
|
-
inputs?: SignInContinuationInputsV2
|
|
36
|
-
): Promise<SignInContinuationResultV2> {
|
|
27
|
+
async signIn(): Promise<SignInContinuationResultV2> {
|
|
37
28
|
const { correlationId, logger, continuationState, flowClient } =
|
|
38
29
|
this.stateParameters;
|
|
39
30
|
|
|
40
31
|
try {
|
|
41
|
-
if (inputs?.claims) {
|
|
42
|
-
ArgumentValidator.ensureArgumentIsJSONString(
|
|
43
|
-
"inputs.claims",
|
|
44
|
-
inputs.claims,
|
|
45
|
-
correlationId
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
32
|
logger.verbose("Signing in with a V2 continuation.", correlationId);
|
|
50
33
|
|
|
51
34
|
const result = await flowClient.signInWithContinuation({
|
|
52
35
|
correlationId,
|
|
53
36
|
continuationState,
|
|
54
|
-
scopes: inputs?.scopes,
|
|
55
37
|
});
|
|
56
38
|
|
|
57
39
|
const account = new CustomAuthAccountData(
|
|
@@ -74,7 +56,6 @@ export class SignInContinuationStateV2 extends AuthFlowActionRequiredStateBase<S
|
|
|
74
56
|
);
|
|
75
57
|
|
|
76
58
|
return CustomAuthResultV2.createWithError(error, {
|
|
77
|
-
errorType: SignInContinuationErrorV2,
|
|
78
59
|
scenario: continuationState.scenario,
|
|
79
60
|
correlationId,
|
|
80
61
|
});
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
7
|
+
import type { VerifyChallengeResultV2 } from "../../../../core/auth_flow/v2/result/VerifyChallengeResultV2.js";
|
|
8
|
+
import type {
|
|
9
|
+
CodeRequiredStateParametersV2,
|
|
10
|
+
CustomAuthActionRequiredStateParametersV2,
|
|
11
|
+
} from "../../../../core/auth_flow/v2/state/CustomAuthStateParametersV2.js";
|
|
12
|
+
import { AuthMethodSelectionRequiredStateV2 } from "../../../../core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.js";
|
|
13
|
+
import type {
|
|
14
|
+
FlowMFARequiredResultV2,
|
|
15
|
+
FlowPasswordRequiredResultV2,
|
|
16
|
+
} from "../../../../core/interaction_client/v2/result/FlowActionResultV2.js";
|
|
17
|
+
import { AuthenticationFactorV2 } from "../../../../core/network_client/custom_auth_api/v2/result/BaseResultsV2.js";
|
|
18
|
+
import { PasswordRequiredStateV2 } from "./PasswordRequiredStateV2.js";
|
|
19
|
+
import type { RequestChallengeResultV2 } from "../../../../core/auth_flow/v2/result/RequestChallengeResultV2.js";
|
|
20
|
+
|
|
21
|
+
export class SignInStateTransitionHandlerV2 {
|
|
22
|
+
handlePasswordRequired(
|
|
23
|
+
result: FlowPasswordRequiredResultV2,
|
|
24
|
+
stateParameters: CustomAuthActionRequiredStateParametersV2
|
|
25
|
+
): RequestChallengeResultV2 {
|
|
26
|
+
return new CustomAuthResultV2(
|
|
27
|
+
new PasswordRequiredStateV2({
|
|
28
|
+
...stateParameters,
|
|
29
|
+
correlationId: result.correlationId,
|
|
30
|
+
continuationState: result.continuationState,
|
|
31
|
+
}),
|
|
32
|
+
undefined,
|
|
33
|
+
result.continuationState.scenario
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
handleMfaRequired(
|
|
38
|
+
result: FlowMFARequiredResultV2,
|
|
39
|
+
stateParameters: CodeRequiredStateParametersV2
|
|
40
|
+
): VerifyChallengeResultV2 {
|
|
41
|
+
return new CustomAuthResultV2(
|
|
42
|
+
new AuthMethodSelectionRequiredStateV2({
|
|
43
|
+
correlationId: result.correlationId,
|
|
44
|
+
logger: stateParameters.logger,
|
|
45
|
+
config: stateParameters.config,
|
|
46
|
+
flowClient: stateParameters.flowClient,
|
|
47
|
+
continuationState: result.continuationState,
|
|
48
|
+
cacheClient: stateParameters.cacheClient,
|
|
49
|
+
methods: result.methods,
|
|
50
|
+
authenticationFactor: AuthenticationFactorV2.MULTI_FACTOR,
|
|
51
|
+
}),
|
|
52
|
+
undefined,
|
|
53
|
+
result.continuationState.scenario
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
7
7
|
import type { CodeRequiredStateV2 } from "../../../../core/auth_flow/v2/state/CodeRequiredStateV2.js";
|
|
8
8
|
import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
|
|
9
|
-
import type { SignUpStartErrorV2 } from "../error_type/SignUpStartErrorV2.js";
|
|
10
9
|
import type { AttributesRequiredStateV2 } from "../state/AttributesRequiredStateV2.js";
|
|
11
10
|
import type { SignUpPasswordRequiredStateV2 } from "../state/SignUpPasswordRequiredStateV2.js";
|
|
12
11
|
|
|
@@ -22,7 +21,4 @@ export type SignUpStartResultStateV2 =
|
|
|
22
21
|
/**
|
|
23
22
|
* Result of starting native auth V2 sign-up.
|
|
24
23
|
*/
|
|
25
|
-
export type SignUpStartResultV2 = CustomAuthResultV2<
|
|
26
|
-
SignUpStartResultStateV2,
|
|
27
|
-
SignUpStartErrorV2
|
|
28
|
-
>;
|
|
24
|
+
export type SignUpStartResultV2 = CustomAuthResultV2<SignUpStartResultStateV2>;
|
|
@@ -7,14 +7,11 @@ import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResu
|
|
|
7
7
|
import type { CodeRequiredStateV2 } from "../../../../core/auth_flow/v2/state/CodeRequiredStateV2.js";
|
|
8
8
|
import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
|
|
9
9
|
import type { SignInContinuationStateV2 } from "../../../../sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
|
|
10
|
-
import type { SubmitAttributesErrorV2 } from "../error_type/SubmitAttributesErrorV2.js";
|
|
11
10
|
|
|
12
11
|
export type SubmitAttributesResultStateV2 =
|
|
13
12
|
| CodeRequiredStateV2
|
|
14
13
|
| SignInContinuationStateV2
|
|
15
14
|
| FailedStateV2;
|
|
16
15
|
|
|
17
|
-
export type SubmitAttributesResultV2 =
|
|
18
|
-
SubmitAttributesResultStateV2
|
|
19
|
-
SubmitAttributesErrorV2
|
|
20
|
-
>;
|
|
16
|
+
export type SubmitAttributesResultV2 =
|
|
17
|
+
CustomAuthResultV2<SubmitAttributesResultStateV2>;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
import type { UserAccountAttributes } from "../../../../UserAccountAttributes.js";
|
|
7
7
|
import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
8
|
-
import { SubmitAttributesErrorV2 } from "../error_type/SubmitAttributesErrorV2.js";
|
|
9
8
|
import type { SubmitAttributesResultV2 } from "../result/SubmitAttributesResultV2.js";
|
|
10
9
|
import { SignUpAttributesRequiredStateBaseV2 } from "./SignUpAttributesRequiredStateBaseV2.js";
|
|
11
10
|
import type { AttributesRequiredStateParametersV2 } from "./SignUpStateParametersV2.js";
|
|
@@ -39,7 +38,6 @@ export class AttributesRequiredStateV2 extends SignUpAttributesRequiredStateBase
|
|
|
39
38
|
);
|
|
40
39
|
|
|
41
40
|
return CustomAuthResultV2.createWithError(error, {
|
|
42
|
-
errorType: SubmitAttributesErrorV2,
|
|
43
41
|
scenario: continuationState.scenario,
|
|
44
42
|
correlationId,
|
|
45
43
|
});
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
import type { SignUpAttributeV2 } from "../../../../core/network_client/custom_auth_api/v2/result/SignUpResultsV2.js";
|
|
7
7
|
import type { UserAccountAttributes } from "../../../../UserAccountAttributes.js";
|
|
8
8
|
import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
|
|
9
|
-
import { SubmitAttributesErrorV2 } from "../error_type/SubmitAttributesErrorV2.js";
|
|
10
9
|
import type { SubmitAttributesResultV2 } from "../result/SubmitAttributesResultV2.js";
|
|
11
10
|
import { SignUpAttributesRequiredStateBaseV2 } from "./SignUpAttributesRequiredStateBaseV2.js";
|
|
12
11
|
import type { SignUpPasswordRequiredStateParametersV2 } from "./SignUpStateParametersV2.js";
|
|
@@ -54,7 +53,6 @@ export class SignUpPasswordRequiredStateV2 extends SignUpAttributesRequiredState
|
|
|
54
53
|
);
|
|
55
54
|
|
|
56
55
|
return CustomAuthResultV2.createWithError(error, {
|
|
57
|
-
errorType: SubmitAttributesErrorV2,
|
|
58
56
|
scenario: continuationState.scenario,
|
|
59
57
|
correlationId,
|
|
60
58
|
});
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest.js";
|
|
41
41
|
import { NavigationOptions } from "../navigation/NavigationOptions.js";
|
|
42
42
|
import * as BrowserUtils from "../utils/BrowserUtils.js";
|
|
43
|
+
import { shouldUseEar } from "../utils/BrowserDetection.js";
|
|
43
44
|
import * as PopupRelay from "../popup_relay/relayClient.js";
|
|
44
45
|
import { base64Decode } from "../encode/Base64Decode.js";
|
|
45
46
|
import { PopupRequest } from "../request/PopupRequest.js";
|
|
@@ -300,7 +301,14 @@ export class PopupClient extends StandardInteractionClient {
|
|
|
300
301
|
);
|
|
301
302
|
validRequest.platformBroker = isPlatformBroker;
|
|
302
303
|
|
|
303
|
-
if (
|
|
304
|
+
if (
|
|
305
|
+
shouldUseEar(
|
|
306
|
+
this.config.system.protocolMode,
|
|
307
|
+
this.logger,
|
|
308
|
+
this.performanceClient,
|
|
309
|
+
this.correlationId
|
|
310
|
+
)
|
|
311
|
+
) {
|
|
304
312
|
return this.executeEarFlow(validRequest, popupParams, pkceCodes);
|
|
305
313
|
} else {
|
|
306
314
|
return this.executeCodeFlow(validRequest, popupParams, pkceCodes);
|
|
@@ -35,6 +35,7 @@ import {
|
|
|
35
35
|
TemporaryCacheKeys,
|
|
36
36
|
} from "../utils/BrowserConstants.js";
|
|
37
37
|
import * as BrowserUtils from "../utils/BrowserUtils.js";
|
|
38
|
+
import { shouldUseEar } from "../utils/BrowserDetection.js";
|
|
38
39
|
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
|
39
40
|
import { EventType } from "../event/EventType.js";
|
|
40
41
|
import { NavigationOptions } from "../navigation/NavigationOptions.js";
|
|
@@ -183,10 +184,14 @@ export class RedirectClient extends StandardInteractionClient {
|
|
|
183
184
|
window.addEventListener("pageshow", handleBackButton);
|
|
184
185
|
|
|
185
186
|
try {
|
|
186
|
-
const redirectOperation =
|
|
187
|
-
this.config.system.protocolMode
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
const redirectOperation = shouldUseEar(
|
|
188
|
+
this.config.system.protocolMode,
|
|
189
|
+
this.logger,
|
|
190
|
+
this.performanceClient,
|
|
191
|
+
this.correlationId
|
|
192
|
+
)
|
|
193
|
+
? this.executeEarFlow(validRequest)
|
|
194
|
+
: this.executeCodeFlow(validRequest);
|
|
190
195
|
await Promise.race([redirectOperation, backButtonCancellation]);
|
|
191
196
|
} catch (e) {
|
|
192
197
|
if (e instanceof AuthError) {
|
|
@@ -13,7 +13,6 @@ import {
|
|
|
13
13
|
PerformanceEvents,
|
|
14
14
|
invokeAsync,
|
|
15
15
|
invoke,
|
|
16
|
-
ProtocolMode,
|
|
17
16
|
CommonAuthorizationUrlRequest,
|
|
18
17
|
AuthorizeProtocol,
|
|
19
18
|
PkceCodes,
|
|
@@ -48,6 +47,7 @@ import {
|
|
|
48
47
|
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
|
49
48
|
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
50
49
|
import * as BrowserUtils from "../utils/BrowserUtils.js";
|
|
50
|
+
import { shouldUseEar } from "../utils/BrowserDetection.js";
|
|
51
51
|
import * as ResponseHandler from "../response/ResponseHandler.js";
|
|
52
52
|
import * as Authorize from "../protocol/Authorize.js";
|
|
53
53
|
import { generatePkceCodes } from "../crypto/PkceGenerator.js";
|
|
@@ -183,7 +183,14 @@ export class SilentIframeClient extends StandardInteractionClient {
|
|
|
183
183
|
);
|
|
184
184
|
BrowserUtils.preconnect(silentRequest.authority);
|
|
185
185
|
|
|
186
|
-
if (
|
|
186
|
+
if (
|
|
187
|
+
shouldUseEar(
|
|
188
|
+
this.config.system.protocolMode,
|
|
189
|
+
this.logger,
|
|
190
|
+
this.performanceClient,
|
|
191
|
+
this.correlationId
|
|
192
|
+
)
|
|
193
|
+
) {
|
|
187
194
|
return this.executeEarFlow(silentRequest);
|
|
188
195
|
} else {
|
|
189
196
|
return this.executeCodeFlow(silentRequest);
|
package/src/packageMetadata.ts
CHANGED
|
@@ -75,7 +75,7 @@ export function resolveSilentRequestPreparation(
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* Extends the web thumbprint with silent-flow options while preserving caller-owned references.
|
|
79
79
|
*/
|
|
80
80
|
export function prepareWebSilentRequest({
|
|
81
81
|
request,
|
|
@@ -94,7 +94,16 @@ export function prepareWebSilentRequest({
|
|
|
94
94
|
);
|
|
95
95
|
|
|
96
96
|
return {
|
|
97
|
-
key: JSON.stringify(
|
|
97
|
+
key: JSON.stringify({
|
|
98
|
+
...thumbprint,
|
|
99
|
+
forceRefresh: !!request.forceRefresh,
|
|
100
|
+
cacheLookupPolicy:
|
|
101
|
+
request.cacheLookupPolicy ?? CacheLookupPolicy.Default,
|
|
102
|
+
extraParameters: canonicalizeStringDict(request.extraParameters),
|
|
103
|
+
extraQueryParameters: canonicalizeStringDict(
|
|
104
|
+
request.extraQueryParameters
|
|
105
|
+
),
|
|
106
|
+
}),
|
|
98
107
|
request,
|
|
99
108
|
account,
|
|
100
109
|
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
IPerformanceClient,
|
|
8
|
+
Logger,
|
|
9
|
+
ProtocolMode,
|
|
10
|
+
} from "@azure/msal-common/browser";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Returns true when the supplied user agent is using Safari
|
|
14
|
+
*
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export function isSafari(
|
|
18
|
+
userAgent: string = typeof navigator !== "undefined"
|
|
19
|
+
? navigator.userAgent
|
|
20
|
+
: ""
|
|
21
|
+
): boolean {
|
|
22
|
+
if (
|
|
23
|
+
/OPR\/|OPiOS|PhantomJS|SamsungBrowser|Edge|EdgiOS|EdgA/.test(userAgent)
|
|
24
|
+
) {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const browserNavigator =
|
|
29
|
+
typeof navigator !== "undefined"
|
|
30
|
+
? (navigator as Navigator & {
|
|
31
|
+
userAgentData?: {
|
|
32
|
+
brands?: Array<{ brand?: string } | undefined>;
|
|
33
|
+
};
|
|
34
|
+
})
|
|
35
|
+
: undefined;
|
|
36
|
+
|
|
37
|
+
if (
|
|
38
|
+
/Edg/.test(userAgent) ||
|
|
39
|
+
browserNavigator?.userAgentData?.brands?.some(
|
|
40
|
+
(brand) => brand?.brand === "Microsoft Edge"
|
|
41
|
+
)
|
|
42
|
+
) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
if (/Electron|CriOS|Chrome|Trident|FxiOS|Firefox/.test(userAgent)) {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
return /Safari/.test(userAgent) || /AppleWebKit/.test(userAgent);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Returns true when EAR should be used for the current request.
|
|
55
|
+
*
|
|
56
|
+
* Safari cannot complete EAR's cross-origin form POST, so requests configured
|
|
57
|
+
* for EAR transparently use authorization code flow instead.
|
|
58
|
+
*
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export function shouldUseEar(
|
|
62
|
+
protocolMode: ProtocolMode,
|
|
63
|
+
logger: Logger,
|
|
64
|
+
performanceClient: IPerformanceClient,
|
|
65
|
+
correlationId: string,
|
|
66
|
+
userAgent?: string
|
|
67
|
+
): boolean {
|
|
68
|
+
if (protocolMode !== ProtocolMode.EAR) {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if (!isSafari(userAgent)) {
|
|
73
|
+
return true;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
logger.verbose(
|
|
77
|
+
"Safari detected. Falling back from EAR to authorization code flow.",
|
|
78
|
+
correlationId
|
|
79
|
+
);
|
|
80
|
+
performanceClient.addFields(
|
|
81
|
+
{ "ext.earFallbackReason": "safari" },
|
|
82
|
+
correlationId
|
|
83
|
+
);
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NestedAppAuthController.d.ts","sourceRoot":"","sources":["../../src/controllers/NestedAppAuthController.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,6BAA6B,EAC7B,2BAA2B,EAC3B,WAAW,EACX,MAAM,EACN,OAAO,EACP,kBAAkB,EAOlB,aAAa,EAKhB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EACH,UAAU,EAKb,MAA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