@azure/msal-browser 4.16.0 → 4.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientNext.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +3 -2
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.d.ts +26 -11
- package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/cache/BrowserCacheManager.mjs +239 -56
- package/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/cache/CacheHelpers.d.ts +2 -2
- package/dist/cache/CacheHelpers.d.ts.map +1 -1
- package/dist/cache/CacheHelpers.mjs +6 -6
- package/dist/cache/CacheHelpers.mjs.map +1 -1
- package/dist/cache/CacheKeys.d.ts +14 -0
- package/dist/cache/CacheKeys.d.ts.map +1 -0
- package/dist/cache/CacheKeys.mjs +33 -0
- package/dist/cache/CacheKeys.mjs.map +1 -0
- package/dist/cache/CookieStorage.d.ts +1 -0
- package/dist/cache/CookieStorage.d.ts.map +1 -1
- package/dist/cache/CookieStorage.mjs +5 -1
- package/dist/cache/CookieStorage.mjs.map +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/EncryptedData.d.ts +8 -0
- package/dist/cache/EncryptedData.d.ts.map +1 -0
- package/dist/cache/EncryptedData.mjs +14 -0
- package/dist/cache/EncryptedData.mjs.map +1 -0
- package/dist/cache/IWindowStorage.d.ts +2 -0
- package/dist/cache/IWindowStorage.d.ts.map +1 -1
- package/dist/cache/LocalStorage.d.ts +2 -0
- package/dist/cache/LocalStorage.d.ts.map +1 -1
- package/dist/cache/LocalStorage.mjs +46 -13
- package/dist/cache/LocalStorage.mjs.map +1 -1
- package/dist/cache/MemoryStorage.d.ts +1 -0
- package/dist/cache/MemoryStorage.d.ts.map +1 -1
- package/dist/cache/MemoryStorage.mjs +5 -1
- package/dist/cache/MemoryStorage.mjs.map +1 -1
- package/dist/cache/SessionStorage.d.ts +1 -0
- package/dist/cache/SessionStorage.d.ts.map +1 -1
- package/dist/cache/SessionStorage.mjs +5 -1
- package/dist/cache/SessionStorage.mjs.map +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.d.ts +4 -0
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +2 -1
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/ControllerFactory.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +2 -1
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +3 -2
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
- package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +26 -11
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +239 -56
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/custom-auth-path/cache/CacheHelpers.d.ts +2 -2
- package/dist/custom-auth-path/cache/CacheHelpers.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/CacheHelpers.mjs +6 -6
- package/dist/custom-auth-path/cache/CacheHelpers.mjs.map +1 -1
- package/dist/custom-auth-path/cache/CacheKeys.d.ts +14 -0
- package/dist/custom-auth-path/cache/CacheKeys.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/CacheKeys.mjs +32 -0
- package/dist/custom-auth-path/cache/CacheKeys.mjs.map +1 -0
- package/dist/custom-auth-path/cache/CookieStorage.d.ts +1 -0
- package/dist/custom-auth-path/cache/CookieStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/CookieStorage.mjs +5 -1
- package/dist/custom-auth-path/cache/CookieStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/EncryptedData.d.ts +8 -0
- package/dist/custom-auth-path/cache/EncryptedData.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/EncryptedData.mjs +14 -0
- package/dist/custom-auth-path/cache/EncryptedData.mjs.map +1 -0
- package/dist/custom-auth-path/cache/IWindowStorage.d.ts +2 -0
- package/dist/custom-auth-path/cache/IWindowStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.d.ts +2 -0
- package/dist/custom-auth-path/cache/LocalStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.mjs +46 -13
- package/dist/custom-auth-path/cache/LocalStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/MemoryStorage.d.ts +1 -0
- package/dist/custom-auth-path/cache/MemoryStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/MemoryStorage.mjs +5 -1
- package/dist/custom-auth-path/cache/MemoryStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/SessionStorage.d.ts +1 -0
- package/dist/custom-auth-path/cache/SessionStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/SessionStorage.mjs +5 -1
- package/dist/custom-auth-path/cache/SessionStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/TokenCache.mjs +1 -1
- package/dist/custom-auth-path/config/Configuration.d.ts +4 -0
- package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +2 -1
- package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +2 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthActionInputs.d.ts +3 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +8 -2
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +10 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +4 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +18 -2
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +8 -4
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +8 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +2 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +6 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +2 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +10 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +3 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
- package/dist/custom-auth-path/event/EventType.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +3 -7
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +2 -2
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -2
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -2
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/custom-auth-path/naa/AccountInfo.d.ts +1 -0
- package/dist/custom-auth-path/naa/AccountInfo.d.ts.map +1 -1
- package/dist/custom-auth-path/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +3 -2
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs.map +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
- package/dist/custom-auth-path/packageMetadata.mjs +2 -2
- package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.d.ts +0 -10
- package/dist/custom-auth-path/utils/BrowserConstants.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +3 -11
- package/dist/custom-auth-path/utils/BrowserConstants.mjs.map +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/Helpers.d.ts +7 -0
- package/dist/custom-auth-path/utils/Helpers.d.ts.map +1 -0
- package/dist/custom-auth-path/utils/Helpers.mjs +20 -0
- package/dist/custom-auth-path/utils/Helpers.mjs.map +1 -0
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/custom_auth/CustomAuthActionInputs.d.ts +3 -0
- package/dist/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/dist/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
- package/dist/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +5 -0
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +3 -0
- package/dist/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +3 -7
- package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +2 -2
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -2
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +1 -2
- 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/naa/AccountInfo.d.ts +1 -0
- package/dist/naa/AccountInfo.d.ts.map +1 -1
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +3 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs.map +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +3 -2
- package/dist/operatingcontext/BaseOperatingContext.mjs.map +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +3 -2
- package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/utils/BrowserConstants.d.ts +0 -10
- package/dist/utils/BrowserConstants.d.ts.map +1 -1
- package/dist/utils/BrowserConstants.mjs +3 -12
- package/dist/utils/BrowserConstants.mjs.map +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/dist/utils/Helpers.d.ts +7 -0
- package/dist/utils/Helpers.d.ts.map +1 -0
- package/dist/utils/Helpers.mjs +20 -0
- package/dist/utils/Helpers.mjs.map +1 -0
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/lib/custom-auth-path/msal-custom-auth.cjs +2663 -2482
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +26 -11
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/CacheHelpers.d.ts +2 -2
- package/lib/custom-auth-path/types/cache/CacheHelpers.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/CacheKeys.d.ts +14 -0
- package/lib/custom-auth-path/types/cache/CacheKeys.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/CookieStorage.d.ts +1 -0
- package/lib/custom-auth-path/types/cache/CookieStorage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/EncryptedData.d.ts +8 -0
- package/lib/custom-auth-path/types/cache/EncryptedData.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/IWindowStorage.d.ts +2 -0
- package/lib/custom-auth-path/types/cache/IWindowStorage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/LocalStorage.d.ts +2 -0
- package/lib/custom-auth-path/types/cache/LocalStorage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/MemoryStorage.d.ts +1 -0
- package/lib/custom-auth-path/types/cache/MemoryStorage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/SessionStorage.d.ts +1 -0
- package/lib/custom-auth-path/types/cache/SessionStorage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/config/Configuration.d.ts +4 -0
- package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthActionInputs.d.ts +3 -0
- package/lib/custom-auth-path/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +3 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/naa/AccountInfo.d.ts +1 -0
- package/lib/custom-auth-path/types/naa/AccountInfo.d.ts.map +1 -1
- package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts +0 -10
- package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts.map +1 -1
- package/lib/custom-auth-path/types/utils/Helpers.d.ts +7 -0
- package/lib/custom-auth-path/types/utils/Helpers.d.ts.map +1 -0
- package/lib/msal-browser.cjs +2762 -2629
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +2762 -2629
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +67 -69
- package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/lib/types/cache/BrowserCacheManager.d.ts +26 -11
- package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/types/cache/CacheHelpers.d.ts +2 -2
- package/lib/types/cache/CacheHelpers.d.ts.map +1 -1
- package/lib/types/cache/CacheKeys.d.ts +14 -0
- package/lib/types/cache/CacheKeys.d.ts.map +1 -0
- package/lib/types/cache/CookieStorage.d.ts +1 -0
- package/lib/types/cache/CookieStorage.d.ts.map +1 -1
- package/lib/types/cache/EncryptedData.d.ts +8 -0
- package/lib/types/cache/EncryptedData.d.ts.map +1 -0
- package/lib/types/cache/IWindowStorage.d.ts +2 -0
- package/lib/types/cache/IWindowStorage.d.ts.map +1 -1
- package/lib/types/cache/LocalStorage.d.ts +2 -0
- package/lib/types/cache/LocalStorage.d.ts.map +1 -1
- package/lib/types/cache/MemoryStorage.d.ts +1 -0
- package/lib/types/cache/MemoryStorage.d.ts.map +1 -1
- package/lib/types/cache/SessionStorage.d.ts +1 -0
- package/lib/types/cache/SessionStorage.d.ts.map +1 -1
- package/lib/types/config/Configuration.d.ts +4 -0
- package/lib/types/config/Configuration.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthActionInputs.d.ts +3 -0
- package/lib/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/lib/types/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
- package/lib/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
- package/lib/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +5 -0
- package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +3 -0
- package/lib/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -1
- package/lib/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/lib/types/naa/AccountInfo.d.ts +1 -0
- package/lib/types/naa/AccountInfo.d.ts.map +1 -1
- package/lib/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/lib/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/lib/types/utils/BrowserConstants.d.ts +0 -10
- package/lib/types/utils/BrowserConstants.d.ts.map +1 -1
- package/lib/types/utils/Helpers.d.ts +7 -0
- package/lib/types/utils/Helpers.d.ts.map +1 -0
- package/package.json +2 -2
- package/src/broker/nativeBroker/PlatformAuthProvider.ts +2 -4
- package/src/cache/BrowserCacheManager.ts +381 -61
- package/src/cache/CacheHelpers.ts +13 -5
- package/src/cache/CacheKeys.ts +39 -0
- package/src/cache/CookieStorage.ts +5 -0
- package/src/cache/EncryptedData.ts +19 -0
- package/src/cache/IWindowStorage.ts +8 -0
- package/src/cache/LocalStorage.ts +83 -27
- package/src/cache/MemoryStorage.ts +5 -0
- package/src/cache/SessionStorage.ts +5 -0
- package/src/config/Configuration.ts +5 -0
- package/src/controllers/StandardController.ts +1 -0
- package/src/custom_auth/CustomAuthActionInputs.ts +3 -0
- package/src/custom_auth/controller/CustomAuthStandardController.ts +18 -10
- package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +12 -0
- package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +3 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +1 -0
- package/src/custom_auth/core/utils/ArgumentValidator.ts +22 -0
- package/src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts +24 -9
- package/src/custom_auth/sign_in/auth_flow/error_type/SignInError.ts +8 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +1 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +10 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +1 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInStateParameters.ts +1 -0
- package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +9 -0
- package/src/custom_auth/sign_in/interaction_client/parameter/SignInParams.ts +3 -0
- package/src/interaction_client/BaseInteractionClient.ts +1 -15
- package/src/interaction_client/PlatformAuthInteractionClient.ts +4 -2
- package/src/interaction_client/PopupClient.ts +0 -5
- package/src/interaction_client/RedirectClient.ts +0 -5
- package/src/naa/AccountInfo.ts +1 -0
- package/src/naa/mapping/NestedAppAuthAdapter.ts +4 -0
- package/src/operatingcontext/BaseOperatingContext.ts +2 -5
- package/src/packageMetadata.ts +1 -1
- package/src/telemetry/BrowserPerformanceClient.ts +2 -4
- package/src/utils/BrowserConstants.ts +0 -15
- package/src/utils/Helpers.ts +19 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthFlowErrorBase.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAK9D;;GAEG;AACH,8BAAsB,iBAAiB;IAChB,SAAS,EAAE,eAAe;gBAA1B,SAAS,EAAE,eAAe;IAE7C,SAAS,CAAC,mBAAmB,IAAI,OAAO;IAIxC,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAYvC,SAAS,CAAC,+BAA+B,IAAI,OAAO;IAYpD,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAa7C,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAWvC,SAAS,CAAC,eAAe,IAAI,OAAO;IAIpC,SAAS,CAAC,yBAAyB,IAAI,OAAO;IAiB9C,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAO7C,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAO7C,SAAS,CAAC,gCAAgC,IAAI,OAAO;IAYrD,SAAS,CAAC,2BAA2B,IAAI,OAAO;IAIhD,SAAS,CAAC,mBAAmB,IAAI,OAAO;
|
|
1
|
+
{"version":3,"file":"AuthFlowErrorBase.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAK9D;;GAEG;AACH,8BAAsB,iBAAiB;IAChB,SAAS,EAAE,eAAe;gBAA1B,SAAS,EAAE,eAAe;IAE7C,SAAS,CAAC,mBAAmB,IAAI,OAAO;IAIxC,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAYvC,SAAS,CAAC,+BAA+B,IAAI,OAAO;IAYpD,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAa7C,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAWvC,SAAS,CAAC,eAAe,IAAI,OAAO;IAIpC,SAAS,CAAC,yBAAyB,IAAI,OAAO;IAiB9C,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAO7C,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAO7C,SAAS,CAAC,gCAAgC,IAAI,OAAO;IAYrD,SAAS,CAAC,2BAA2B,IAAI,OAAO;IAIhD,SAAS,CAAC,mBAAmB,IAAI,OAAO;IAOxC;;;OAGG;IACH,SAAS,CAAC,4BAA4B,IAAI,OAAO;CAOpD;AAED,8BAAsB,mBAAoB,SAAQ,iBAAiB;IAC/D;;;OAGG;IACH,cAAc,IAAI,OAAO;CAG5B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.19.0 2025-08-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { CustomAuthApiError, RedirectError } from '../error/CustomAuthApiError.mjs';
|
|
4
4
|
import { NoCachedAccountFoundError } from '../error/NoCachedAccountFoundError.mjs';
|
|
@@ -90,6 +90,15 @@ class AuthFlowErrorBase {
|
|
|
90
90
|
return (this.errorData instanceof CustomAuthApiError &&
|
|
91
91
|
this.errorData.error === EXPIRED_TOKEN);
|
|
92
92
|
}
|
|
93
|
+
/**
|
|
94
|
+
* @todo verify the password change required error can be detected once the MFA is in place.
|
|
95
|
+
* This error will be raised during signin and refresh tokens when calling /token endpoint.
|
|
96
|
+
*/
|
|
97
|
+
isPasswordResetRequiredError() {
|
|
98
|
+
return (this.errorData instanceof CustomAuthApiError &&
|
|
99
|
+
this.errorData.error === INVALID_REQUEST &&
|
|
100
|
+
this.errorData.errorCodes?.includes(50142) === true);
|
|
101
|
+
}
|
|
93
102
|
}
|
|
94
103
|
class AuthActionErrorBase extends AuthFlowErrorBase {
|
|
95
104
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthFlowErrorBase.mjs","sources":["../../../../../../src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts"],"sourcesContent":[null],"names":["CustomAuthApiErrorCode.USER_NOT_FOUND","CustomAuthApiErrorCode.INVALID_REQUEST","CustomAuthApiErrorCode.UNSUPPORTED_CHALLENGE_TYPE","CustomAuthApiErrorCode.INVALID_GRANT","CustomAuthApiSuberror.INVALID_OOB_VALUE","CustomAuthApiSuberror.PASSWORD_BANNED","CustomAuthApiSuberror.PASSWORD_IS_INVALID","CustomAuthApiSuberror.PASSWORD_RECENTLY_USED","CustomAuthApiSuberror.PASSWORD_TOO_LONG","CustomAuthApiSuberror.PASSWORD_TOO_SHORT","CustomAuthApiSuberror.PASSWORD_TOO_WEAK","CustomAuthApiErrorCode.USER_ALREADY_EXISTS","CustomAuthApiErrorCode.ATTRIBUTES_REQUIRED","CustomAuthApiSuberror.ATTRIBUTE_VALIATION_FAILED","CustomAuthApiErrorCode.EXPIRED_TOKEN"],"mappings":";;;;;;;;AAAA;;;AAGG;AAWH;;AAEG;MACmB,iBAAiB,CAAA;AACnC,IAAA,WAAA,CAAmB,SAA0B,EAAA;QAA1B,IAAS,CAAA,SAAA,GAAT,SAAS,CAAiB;KAAI;IAEvC,mBAAmB,GAAA;QACzB,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,KAAKA,cAAqC,CAAC;KACzE;IAES,kBAAkB,GAA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EACf;KACL;IAES,2BAA2B,GAAA;AACjC,QAAA,OAAO,IAAI,CAAC,SAAS,YAAY,yBAAyB,CAAC;KAC9D;IAES,mBAAmB,GAAA;AACzB,QAAA,QACI,IAAI,CAAC,SAAS,YAAY,kBAAkB;YAC5C,IAAI,CAAC,SAAS,CAAC,KAAK,KAAKC,aAAoC,EAC/D;KACL;AACJ,CAAA;AAEK,MAAgB,mBAAoB,SAAQ,iBAAiB,CAAA;AAC/D;;;AAGG;IACH,cAAc,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,mBAAmB,EAAE,CAAC;KACrC;AACJ;;;;"}
|
|
1
|
+
{"version":3,"file":"AuthFlowErrorBase.mjs","sources":["../../../../../../src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts"],"sourcesContent":[null],"names":["CustomAuthApiErrorCode.USER_NOT_FOUND","CustomAuthApiErrorCode.INVALID_REQUEST","CustomAuthApiErrorCode.UNSUPPORTED_CHALLENGE_TYPE","CustomAuthApiErrorCode.INVALID_GRANT","CustomAuthApiSuberror.INVALID_OOB_VALUE","CustomAuthApiSuberror.PASSWORD_BANNED","CustomAuthApiSuberror.PASSWORD_IS_INVALID","CustomAuthApiSuberror.PASSWORD_RECENTLY_USED","CustomAuthApiSuberror.PASSWORD_TOO_LONG","CustomAuthApiSuberror.PASSWORD_TOO_SHORT","CustomAuthApiSuberror.PASSWORD_TOO_WEAK","CustomAuthApiErrorCode.USER_ALREADY_EXISTS","CustomAuthApiErrorCode.ATTRIBUTES_REQUIRED","CustomAuthApiSuberror.ATTRIBUTE_VALIATION_FAILED","CustomAuthApiErrorCode.EXPIRED_TOKEN"],"mappings":";;;;;;;;AAAA;;;AAGG;AAWH;;AAEG;MACmB,iBAAiB,CAAA;AACnC,IAAA,WAAA,CAAmB,SAA0B,EAAA;QAA1B,IAAS,CAAA,SAAA,GAAT,SAAS,CAAiB;KAAI;IAEvC,mBAAmB,GAAA;QACzB,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,KAAK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,CAAC,YAAY,CAAC;oBACnD,IAAI,CAAC,EACf;KACL;IAES,2BAA2B,GAAA;AACjC,QAAA,OAAO,IAAI,CAAC,SAAS,YAAY,yBAAyB,CAAC;KAC9D;IAES,mBAAmB,GAAA;AACzB,QAAA,QACI,IAAI,CAAC,SAAS,YAAY,kBAAkB;YAC5C,IAAI,CAAC,SAAS,CAAC,KAAK,KAAKC,aAAoC,EAC/D;KACL;AAED;;;AAGG;IACO,4BAA4B,GAAA;AAClC,QAAA,QACI,IAAI,CAAC,SAAS,YAAY,kBAAkB;AAC5C,YAAA,IAAI,CAAC,SAAS,CAAC,KAAK,KAAKb,eAAsC;AAC/D,YAAA,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,IAAI,EACrD;KACL;AACJ,CAAA;AAEK,MAAgB,mBAAoB,SAAQ,iBAAiB,CAAA;AAC/D;;;AAGG;IACH,cAAc,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,mBAAmB,EAAE,CAAC;KACrC;AACJ;;;;"}
|
package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.19.0 2025-08-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { HttpHeaderKeys, DefaultPackageInfo, ChallengeType } from '../../../CustomAuthConstants.mjs';
|
|
4
4
|
import { HTTP_REQUEST_FAILED, CONTINUATION_TOKEN_MISSING, INVALID_RESPONSE_BODY } from './types/ApiErrorCodes.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.19.0 2025-08-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { GrantType, ResetPasswordPollStatus } from '../../../CustomAuthConstants.mjs';
|
|
4
4
|
import { CustomAuthApiError } from '../../error/CustomAuthApiError.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInApiClient.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD,OAAO,EACH,sBAAsB,EACtB,8BAA8B,EAC9B,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACtB,MAAM,6BAA6B,CAAC;AAErC,qBAAa,eAAgB,SAAQ,aAAa;IAC9C;;;;OAIG;IACG,QAAQ,CACV,MAAM,EAAE,qBAAqB,GAC9B,OAAO,CAAC,sBAAsB,CAAC;IAmBlC;;;;OAIG;IACG,gBAAgB,CAClB,MAAM,EAAE,sBAAsB,GAC/B,OAAO,CAAC,uBAAuB,CAAC;IAmBnC;;;;;OAKG;IACG,yBAAyB,CAC3B,MAAM,EAAE,0BAA0B,GACnC,OAAO,CAAC,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"SignInApiClient.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD,OAAO,EACH,sBAAsB,EACtB,8BAA8B,EAC9B,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACtB,MAAM,6BAA6B,CAAC;AAErC,qBAAa,eAAgB,SAAQ,aAAa;IAC9C;;;;OAIG;IACG,QAAQ,CACV,MAAM,EAAE,qBAAqB,GAC9B,OAAO,CAAC,sBAAsB,CAAC;IAmBlC;;;;OAIG;IACG,gBAAgB,CAClB,MAAM,EAAE,sBAAsB,GAC/B,OAAO,CAAC,uBAAuB,CAAC;IAmBnC;;;;;OAKG;IACG,yBAAyB,CAC3B,MAAM,EAAE,0BAA0B,GACnC,OAAO,CAAC,mBAAmB,CAAC;IAczB,oBAAoB,CACtB,MAAM,EAAE,qBAAqB,GAC9B,OAAO,CAAC,mBAAmB,CAAC;IAczB,iCAAiC,CACnC,MAAM,EAAE,8BAA8B,GACvC,OAAO,CAAC,mBAAmB,CAAC;YAejB,aAAa;IAoB3B,OAAO,CAAC,MAAM,CAAC,0BAA0B;CAoC5C"}
|
package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.19.0 2025-08-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { GrantType } from '../../../CustomAuthConstants.mjs';
|
|
4
4
|
import { CustomAuthApiError } from '../../error/CustomAuthApiError.mjs';
|
|
@@ -49,6 +49,7 @@ class SignInApiClient extends BaseApiClient {
|
|
|
49
49
|
grant_type: GrantType.PASSWORD,
|
|
50
50
|
scope: params.scope,
|
|
51
51
|
password: params.password,
|
|
52
|
+
...(params.claims && { claims: params.claims }),
|
|
52
53
|
}, params.telemetryManager, params.correlationId);
|
|
53
54
|
}
|
|
54
55
|
async requestTokensWithOob(params) {
|
|
@@ -57,6 +58,7 @@ class SignInApiClient extends BaseApiClient {
|
|
|
57
58
|
scope: params.scope,
|
|
58
59
|
oob: params.oob,
|
|
59
60
|
grant_type: GrantType.OOB,
|
|
61
|
+
...(params.claims && { claims: params.claims }),
|
|
60
62
|
}, params.telemetryManager, params.correlationId);
|
|
61
63
|
}
|
|
62
64
|
async requestTokenWithContinuationToken(params) {
|
|
@@ -66,6 +68,7 @@ class SignInApiClient extends BaseApiClient {
|
|
|
66
68
|
scope: params.scope,
|
|
67
69
|
grant_type: GrantType.CONTINUATION_TOKEN,
|
|
68
70
|
client_info: true,
|
|
71
|
+
...(params.claims && { claims: params.claims }),
|
|
69
72
|
}, params.telemetryManager, params.correlationId);
|
|
70
73
|
}
|
|
71
74
|
async requestTokens(requestData, telemetryManager, correlationId) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInApiClient.mjs","sources":["../../../../../../../src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts"],"sourcesContent":[null],"names":["CustomAuthApiEndpoint.SIGNIN_INITIATE","CustomAuthApiEndpoint.SIGNIN_CHALLENGE","CustomAuthApiEndpoint.SIGNIN_TOKEN","CustomAuthApiErrorCode.ACCESS_TOKEN_MISSING","CustomAuthApiErrorCode.ID_TOKEN_MISSING","CustomAuthApiErrorCode.REFRESH_TOKEN_MISSING","CustomAuthApiErrorCode.INVALID_EXPIRES_IN","CustomAuthApiErrorCode.INVALID_TOKEN_TYPE","CustomAuthApiErrorCode.CLIENT_INFO_MISSING"],"mappings":";;;;;;;;AAAA;;;AAGG;AAqBG,MAAO,eAAgB,SAAQ,aAAa,CAAA;AAC9C;;;;AAIG;IACH,MAAM,QAAQ,CACV,MAA6B,EAAA;QAE7B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAC7BA,eAAqC,EACrC;YACI,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,cAAc,EAAE,MAAM,CAAC,cAAc;SACxC,EACD,MAAM,CAAC,gBAAgB,EACvB,MAAM,CAAC,aAAa,CACvB,CAAC;QAEF,IAAI,CAAC,8BAA8B,CAC/B,MAAM,CAAC,kBAAkB,EACzB,MAAM,CAAC,aAAa,CACvB,CAAC;AAEF,QAAA,OAAO,MAAM,CAAC;KACjB;AAED;;;;AAIG;IACH,MAAM,gBAAgB,CAClB,MAA8B,EAAA;QAE9B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAC7BC,gBAAsC,EACtC;YACI,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;YAC7C,cAAc,EAAE,MAAM,CAAC,cAAc;SACxC,EACD,MAAM,CAAC,gBAAgB,EACvB,MAAM,CAAC,aAAa,CACvB,CAAC;QAEF,IAAI,CAAC,8BAA8B,CAC/B,MAAM,CAAC,kBAAkB,EACzB,MAAM,CAAC,aAAa,CACvB,CAAC;AAEF,QAAA,OAAO,MAAM,CAAC;KACjB;AAED;;;;;AAKG;IACH,MAAM,yBAAyB,CAC3B,MAAkC,EAAA;QAElC,OAAO,IAAI,CAAC,aAAa,CACrB;YACI,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;YAC7C,UAAU,EAAE,SAAS,CAAC,QAAQ;YAC9B,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,QAAQ,EAAE,MAAM,CAAC,QAAQ;
|
|
1
|
+
{"version":3,"file":"SignInApiClient.mjs","sources":["../../../../../../../src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts"],"sourcesContent":[null],"names":["CustomAuthApiEndpoint.SIGNIN_INITIATE","CustomAuthApiEndpoint.SIGNIN_CHALLENGE","CustomAuthApiEndpoint.SIGNIN_TOKEN","CustomAuthApiErrorCode.ACCESS_TOKEN_MISSING","CustomAuthApiErrorCode.ID_TOKEN_MISSING","CustomAuthApiErrorCode.REFRESH_TOKEN_MISSING","CustomAuthApiErrorCode.INVALID_EXPIRES_IN","CustomAuthApiErrorCode.INVALID_TOKEN_TYPE","CustomAuthApiErrorCode.CLIENT_INFO_MISSING"],"mappings":";;;;;;;;AAAA;;;AAGG;AAqBG,MAAO,eAAgB,SAAQ,aAAa,CAAA;AAC9C;;;;AAIG;IACH,MAAM,QAAQ,CACV,MAA6B,EAAA;QAE7B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAC7BA,eAAqC,EACrC;YACI,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,cAAc,EAAE,MAAM,CAAC,cAAc;SACxC,EACD,MAAM,CAAC,gBAAgB,EACvB,MAAM,CAAC,aAAa,CACvB,CAAC;QAEF,IAAI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IAAI,CAAC,aAAa,CAAC,aAAa,EAAE;AACrC,YAAA,SAAS,GAAGC,qBAA4C,CAAC;YACzD,gBAAgB,GAAG,+CAA+C,CAAC;AACtE,SAAA;aAAM,IAAI,CAAC,aAAa,CAAC,UAAU,IAAI,aAAa,CAAC,UAAU,IAAI,CAAC,EAAE;AACnE,YAAA,SAAS,GAAGC,kBAAyC,CAAC;YACtD,gBAAgB,GAAG,4CAA4C,CAAC;AACnE,SAAA;AAAM,aAAA,IAAI,aAAa,CAAC,UAAU,KAAK,QAAQ,EAAE;AAC9C,YAAA,SAAS,GAAGC,kBAAyC,CAAC;AACtD,YAAA,gBAAgB,GAAG,CAAe,YAAA,EAAA,aAAa,CAAC,UAAU,mCAAmC,CAAC;AACjG,SAAA;AAAM,aAAA,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE;AACnC,YAAA,SAAS,GAAGC,mBAA0C,CAAC;YACvD,gBAAgB,GAAG,6CAA6C,CAAC;AACpE,SAAA;AAED,QAAA,IAAI,CAAC,SAAS,IAAI,CAAC,gBAAgB,EAAE;YACjC,OAAO;AACV,SAAA;QAED,MAAM,IAAI,kBAAkB,CACxB,SAAS,EACT,gBAAgB,EAChB,aAAa,CAAC,cAAc,CAC/B,CAAC;KACL;AACJ;;;;"}
|
|
@@ -10,6 +10,7 @@ export interface SignInChallengeRequest extends ApiRequestBase {
|
|
|
10
10
|
interface SignInTokenRequestBase extends ApiRequestBase {
|
|
11
11
|
continuation_token: string;
|
|
12
12
|
scope: string;
|
|
13
|
+
claims?: string;
|
|
13
14
|
}
|
|
14
15
|
export interface SignInPasswordTokenRequest extends SignInTokenRequestBase {
|
|
15
16
|
password: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiRequestTypes.d.ts","sourceRoot":"","sources":["../../../../../../../src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IACzD,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC1D,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAED,UAAU,sBAAuB,SAAQ,cAAc;IACnD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ApiRequestTypes.d.ts","sourceRoot":"","sources":["../../../../../../../src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IACzD,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC1D,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAED,UAAU,sBAAuB,SAAQ,cAAc;IACnD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,0BAA2B,SAAQ,sBAAsB;IACtE,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,qBAAsB,SAAQ,sBAAsB;IACjE,GAAG,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,8BAA+B,SAAQ,sBAAsB;IAC1E,QAAQ,EAAE,MAAM,CAAC;CACpB;AAGD,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACvC;AAED,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC1D,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,UAAU,yBAA0B,SAAQ,cAAc;IACtD,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,4BACb,SAAQ,yBAAyB;IACjC,GAAG,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iCACb,SAAQ,yBAAyB;IACjC,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,mCACb,SAAQ,yBAAyB;IACjC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC;AAGD,MAAM,WAAW,yBAA0B,SAAQ,cAAc;IAC7D,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,6BAA8B,SAAQ,cAAc;IACjE,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,4BAA6B,SAAQ,cAAc;IAChE,kBAAkB,EAAE,MAAM,CAAC;IAC3B,GAAG,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,0BAA2B,SAAQ,cAAc;IAC9D,kBAAkB,EAAE,MAAM,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,kCAAmC,SAAQ,cAAc;IACtE,kBAAkB,EAAE,MAAM,CAAC;CAC9B"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare function ensureArgumentIsNotNullOrUndefined<T>(argName: string, argValue: T | undefined | null, correlationId?: string): asserts argValue is T;
|
|
2
2
|
export declare function ensureArgumentIsNotEmptyString(argName: string, argValue: string | undefined, correlationId?: string): void;
|
|
3
|
+
export declare function ensureArgumentIsJSONString(argName: string, argValue: string, correlationId?: string): void;
|
|
3
4
|
//# sourceMappingURL=ArgumentValidator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArgumentValidator.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/utils/ArgumentValidator.ts"],"names":[],"mappings":"AAOA,wBAAgB,kCAAkC,CAAC,CAAC,EAChD,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,CAAC,GAAG,SAAS,GAAG,IAAI,EAC9B,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,QAAQ,IAAI,CAAC,CAIvB;AAED,wBAAgB,8BAA8B,CAC1C,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,aAAa,CAAC,EAAE,MAAM,GACvB,IAAI,CAIN"}
|
|
1
|
+
{"version":3,"file":"ArgumentValidator.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/utils/ArgumentValidator.ts"],"names":[],"mappings":"AAOA,wBAAgB,kCAAkC,CAAC,CAAC,EAChD,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,CAAC,GAAG,SAAS,GAAG,IAAI,EAC9B,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,QAAQ,IAAI,CAAC,CAIvB;AAED,wBAAgB,8BAA8B,CAC1C,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,aAAa,CAAC,EAAE,MAAM,GACvB,IAAI,CAIN;AAED,wBAAgB,0BAA0B,CACtC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,aAAa,CAAC,EAAE,MAAM,GACvB,IAAI,CAgBN"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.19.0 2025-08-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { InvalidArgumentError } from '../error/InvalidArgumentError.mjs';
|
|
4
4
|
|
|
@@ -15,7 +15,23 @@ function ensureArgumentIsNotEmptyString(argName, argValue, correlationId) {
|
|
|
15
15
|
if (!argValue || argValue.trim() === "") {
|
|
16
16
|
throw new InvalidArgumentError(argName, correlationId);
|
|
17
17
|
}
|
|
18
|
+
}
|
|
19
|
+
function ensureArgumentIsJSONString(argName, argValue, correlationId) {
|
|
20
|
+
try {
|
|
21
|
+
const parsed = JSON.parse(argValue);
|
|
22
|
+
if (typeof parsed !== "object" ||
|
|
23
|
+
parsed === null ||
|
|
24
|
+
Array.isArray(parsed)) {
|
|
25
|
+
throw new InvalidArgumentError(argName, correlationId);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
catch (e) {
|
|
29
|
+
if (e instanceof SyntaxError) {
|
|
30
|
+
throw new InvalidArgumentError(argName, correlationId);
|
|
31
|
+
}
|
|
32
|
+
throw e; // Rethrow unexpected errors
|
|
33
|
+
}
|
|
18
34
|
}
|
|
19
35
|
|
|
20
|
-
export { ensureArgumentIsNotEmptyString, ensureArgumentIsNotNullOrUndefined };
|
|
36
|
+
export { ensureArgumentIsJSONString, ensureArgumentIsNotEmptyString, ensureArgumentIsNotNullOrUndefined };
|
|
21
37
|
//# sourceMappingURL=ArgumentValidator.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArgumentValidator.mjs","sources":["../../../../../../src/custom_auth/core/utils/ArgumentValidator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;SAIa,kCAAkC,CAC9C,OAAe,EACf,QAA8B,EAC9B,aAAsB,EAAA;AAEtB,IAAA,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS,EAAE;AAC7C,QAAA,MAAM,IAAI,oBAAoB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAC1D,KAAA;AACL,CAAC;SAEe,8BAA8B,CAC1C,OAAe,EACf,QAA4B,EAC5B,aAAsB,EAAA;IAEtB,IAAI,CAAC,QAA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AM,CAAC,CAAC;AACX,KAAA;AACL;;;;"}
|
package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomAuthAccountData.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AAGnG,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EACH,WAAW,EAGX,MAAM,EACN,WAAW,EACd,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"CustomAuthAccountData.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AAGnG,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EACH,WAAW,EAGX,MAAM,EACN,WAAW,EACd,MAAM,4BAA4B,CAAC;AAOpC,qBAAa,qBAAqB;IAE1B,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAJb,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,8BAA8B,EACtC,WAAW,EAAE,2BAA2B,EACxC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM;IAa1C;;;;;OAKG;IACG,OAAO,IAAI,OAAO,CAAC,aAAa,CAAC;IA8BvC,UAAU,IAAI,WAAW;IAIzB;;;;;OAKG;IACH,UAAU,IAAI,MAAM,GAAG,SAAS;IAIhC;;;OAGG;IACH,SAAS,IAAI,eAAe,GAAG,SAAS;IAIxC;;;;;;OAMG;IACG,cAAc,CAChB,0BAA0B,EAAE,0BAA0B,GACvD,OAAO,CAAC,oBAAoB,CAAC;IA2DhC,OAAO,CAAC,6BAA6B;CAyBxC;AAED,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG;IACxC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;CAC5E,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.19.0 2025-08-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { SignOutResult } from './result/SignOutResult.mjs';
|
|
4
4
|
import { GetAccessTokenResult } from './result/GetAccessTokenResult.mjs';
|
|
5
5
|
import { NoCachedAccountFoundError } from '../../core/error/NoCachedAccountFoundError.mjs';
|
|
6
6
|
import { DefaultScopes } from '../../CustomAuthConstants.mjs';
|
|
7
7
|
import { AuthenticationScheme } from '@azure/msal-common/browser';
|
|
8
|
-
import { ensureArgumentIsNotEmptyString, ensureArgumentIsNotNullOrUndefined } from '../../core/utils/ArgumentValidator.mjs';
|
|
8
|
+
import { ensureArgumentIsNotEmptyString, ensureArgumentIsNotNullOrUndefined, ensureArgumentIsJSONString } from '../../core/utils/ArgumentValidator.mjs';
|
|
9
9
|
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -78,6 +78,9 @@ class CustomAuthAccountData {
|
|
|
78
78
|
async getAccessToken(accessTokenRetrievalInputs) {
|
|
79
79
|
try {
|
|
80
80
|
ensureArgumentIsNotNullOrUndefined("accessTokenRetrievalInputs", accessTokenRetrievalInputs, this.correlationId);
|
|
81
|
+
if (accessTokenRetrievalInputs.claims) {
|
|
82
|
+
ensureArgumentIsJSONString("accessTokenRetrievalInputs.claims", accessTokenRetrievalInputs.claims, this.correlationId);
|
|
83
|
+
}
|
|
81
84
|
this.logger.verbose("Getting current account.", this.correlationId);
|
|
82
85
|
const currentAccount = this.cacheClient.getCurrentAccount(this.account.username);
|
|
83
86
|
if (!currentAccount) {
|
|
@@ -88,7 +91,7 @@ class CustomAuthAccountData {
|
|
|
88
91
|
accessTokenRetrievalInputs.scopes.length > 0
|
|
89
92
|
? accessTokenRetrievalInputs.scopes
|
|
90
93
|
: [...DefaultScopes];
|
|
91
|
-
const commonSilentFlowRequest = this.createCommonSilentFlowRequest(currentAccount, accessTokenRetrievalInputs.forceRefresh, newScopes);
|
|
94
|
+
const commonSilentFlowRequest = this.createCommonSilentFlowRequest(currentAccount, accessTokenRetrievalInputs.forceRefresh, newScopes, accessTokenRetrievalInputs.claims);
|
|
92
95
|
const result = await this.cacheClient.acquireToken(commonSilentFlowRequest);
|
|
93
96
|
this.logger.verbose("Successfully got access token from cache.", this.correlationId);
|
|
94
97
|
return new GetAccessTokenResult(result);
|
|
@@ -98,7 +101,7 @@ class CustomAuthAccountData {
|
|
|
98
101
|
return GetAccessTokenResult.createWithError(error);
|
|
99
102
|
}
|
|
100
103
|
}
|
|
101
|
-
createCommonSilentFlowRequest(accountInfo, forceRefresh = false, requestScopes) {
|
|
104
|
+
createCommonSilentFlowRequest(accountInfo, forceRefresh = false, requestScopes, claims) {
|
|
102
105
|
const silentRequest = {
|
|
103
106
|
authority: this.config.auth.authority,
|
|
104
107
|
correlationId: this.correlationId,
|
|
@@ -110,6 +113,7 @@ class CustomAuthAccountData {
|
|
|
110
113
|
accessToken: true,
|
|
111
114
|
refreshToken: true,
|
|
112
115
|
},
|
|
116
|
+
...(claims && { claims: claims }),
|
|
113
117
|
};
|
|
114
118
|
return {
|
|
115
119
|
...silentRequest,
|
package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomAuthAccountData.mjs","sources":["../../../../../../src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;AAAA;;;AAGG;
|
|
1
|
+
{"version":3,"file":"CustomAuthAccountData.mjs","sources":["../../../../../../src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts"],"sourcesContent":[null],"names":["ArgumentValidator.ensureArgumentIsNotEmptyString","ArgumentValidator.ensureArgumentIsNotNullOrUndefined","ArgumentValidator.ensureArgumentIsJSONString"],"mappings":";;;;;;;;;AAAA;;;AAGG;AAmBH;;AAEG;MACU,qBAAqB,CAAA;IAC9B,WACqB,CAAA,OAAoB,EACpB,MAAsC,EACtC,WAAwC,EACxC,MAAc,EACd,aAAqB,EAAA;QAJrB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAa;QACpB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAgC;QACtC,IAAW,CAAA,WAAA,GAAX,WAAW,CAA6B;QACxC,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QACd,IAAa,CAAA,aAAA,GAAb,aAAa,CAAQ;AAEtC,QAAAA,8BAAgD,CAC5C,eAAe,EACf,aAAa,CAChB,CAAC;QACFC,kCAAoD,CAChD,SAAS,EACT,OAAO,EACP,aAAa,CAChB,CAAC;KACL;AAED;;;;;AAKG;AACH,IAAA,MAAM,OAAO,GAAA;QACT,IAAI;AACA,YAAA,MAAM,cAAc,GAAG,IAAI,CAAC,WAAW,CAAC,iBAAiB,CACrD,IAAI,CAAC,aAAa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YAAA,GAAwB,KAAK,EAC7B,aAA4B,EAC5B,MAAe,EAAA;AAEf,QAAA,MAAM,aAAa,GAAkB;AACjC,YAAA,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS;YACrC,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,MAAM,EAAE,aAAa,IAAI,EAAE;AAC3B,YAAA,OAAO,EAAE,WAAW;YACpB,YAAY,EAAE,YAAY,IAAI,KAAK;AACnC,YAAA,YAAY,EAAE;AACV,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,WAAW,EAAE,IAAI;AACjB,gBAAA,YAAY,EAAE,IAAI;AACrB,aAAA;YACD,IAAI,MAAM,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;SACpC,CAAC;QAEF,OAAO;AACH,YAAA,GAAG,aAAa;YAChB,oBAAoB,EAAE,oBAAoB,CAAC,MAAM;SACzB,CAAC;KAChC;AACJ;;;;"}
|
package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.19.0 2025-08-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
|
|
4
4
|
import { GetCurrentAccountAccessTokenError } from '../error_type/GetAccountError.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.19.0 2025-08-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
export { CustomAuthPublicClientApplication } from './CustomAuthPublicClientApplication.mjs';
|
|
4
4
|
export { CustomAuthAccountData } from './get_account/auth_flow/CustomAuthAccountData.mjs';
|
package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.19.0 2025-08-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthActionErrorBase } from '../../../core/auth_flow/AuthFlowErrorBase.mjs';
|
|
4
4
|
import { CustomAuthApiError } from '../../../core/error/CustomAuthApiError.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.19.0 2025-08-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
|
|
4
4
|
import { ResetPasswordResendCodeError } from '../error_type/ResetPasswordError.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.19.0 2025-08-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
|
|
4
4
|
import { ResetPasswordError } from '../error_type/ResetPasswordError.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.19.0 2025-08-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
|
|
4
4
|
import { ResetPasswordSubmitCodeError } from '../error_type/ResetPasswordError.mjs';
|