@azure/msal-browser 4.13.2 → 4.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientNext.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/cache/AccountManager.d.ts +7 -7
- package/dist/cache/AccountManager.d.ts.map +1 -1
- package/dist/cache/AccountManager.mjs +17 -15
- package/dist/cache/AccountManager.mjs.map +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.d.ts +40 -25
- package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/cache/BrowserCacheManager.mjs +215 -124
- package/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/IWindowStorage.d.ts +1 -1
- package/dist/cache/IWindowStorage.d.ts.map +1 -1
- package/dist/cache/LocalStorage.d.ts +1 -1
- package/dist/cache/LocalStorage.d.ts.map +1 -1
- package/dist/cache/LocalStorage.mjs +4 -3
- package/dist/cache/LocalStorage.mjs.map +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.mjs +2 -2
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/config/Configuration.mjs +3 -3
- package/dist/controllers/ControllerFactory.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +18 -10
- package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +16 -9
- 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/IPublicClientApplication.d.ts +55 -0
- package/dist/custom-auth-path/app/IPublicClientApplication.d.ts.map +1 -0
- package/dist/custom-auth-path/app/PublicClientApplication.d.ts +297 -0
- package/dist/custom-auth-path/app/PublicClientApplication.d.ts.map +1 -0
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +346 -0
- package/dist/custom-auth-path/app/PublicClientApplication.mjs.map +1 -0
- package/dist/custom-auth-path/app/PublicClientNext.d.ts +278 -0
- package/dist/custom-auth-path/app/PublicClientNext.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
- package/dist/custom-auth-path/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +17 -0
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +143 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +274 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts +26 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +90 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthRequest.d.ts +78 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/AccountManager.d.ts +49 -0
- package/dist/custom-auth-path/cache/AccountManager.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/AccountManager.mjs +133 -0
- package/dist/custom-auth-path/cache/AccountManager.mjs.map +1 -0
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts +51 -0
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +141 -0
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs.map +1 -0
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +297 -0
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +989 -0
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -0
- package/dist/custom-auth-path/cache/CacheHelpers.d.ts +16 -0
- package/dist/custom-auth-path/cache/CacheHelpers.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/CacheHelpers.mjs +46 -0
- package/dist/custom-auth-path/cache/CacheHelpers.mjs.map +1 -0
- package/dist/custom-auth-path/cache/CookieStorage.d.ts +22 -0
- package/dist/custom-auth-path/cache/CookieStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/CookieStorage.mjs +78 -0
- package/dist/custom-auth-path/cache/CookieStorage.mjs.map +1 -0
- package/dist/custom-auth-path/cache/DatabaseStorage.d.ts +57 -0
- package/dist/custom-auth-path/cache/DatabaseStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/DatabaseStorage.mjs +209 -0
- package/dist/custom-auth-path/cache/DatabaseStorage.mjs.map +1 -0
- package/dist/custom-auth-path/cache/IAsyncStorage.d.ts +28 -0
- package/dist/custom-auth-path/cache/IAsyncStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/ITokenCache.d.ts +12 -0
- package/dist/custom-auth-path/cache/ITokenCache.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/IWindowStorage.d.ts +40 -0
- package/dist/custom-auth-path/cache/IWindowStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/LocalStorage.d.ts +49 -0
- package/dist/custom-auth-path/cache/LocalStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/LocalStorage.mjs +264 -0
- package/dist/custom-auth-path/cache/LocalStorage.mjs.map +1 -0
- package/dist/custom-auth-path/cache/MemoryStorage.d.ts +15 -0
- package/dist/custom-auth-path/cache/MemoryStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/MemoryStorage.mjs +45 -0
- package/dist/custom-auth-path/cache/MemoryStorage.mjs.map +1 -0
- package/dist/custom-auth-path/cache/SessionStorage.d.ts +13 -0
- package/dist/custom-auth-path/cache/SessionStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/SessionStorage.mjs +43 -0
- package/dist/custom-auth-path/cache/SessionStorage.mjs.map +1 -0
- package/dist/custom-auth-path/cache/TokenCache.d.ts +78 -0
- package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/TokenCache.mjs +207 -0
- package/dist/custom-auth-path/cache/TokenCache.mjs.map +1 -0
- package/dist/custom-auth-path/config/Configuration.d.ts +228 -0
- package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -0
- package/dist/custom-auth-path/config/Configuration.mjs +141 -0
- package/dist/custom-auth-path/config/Configuration.mjs.map +1 -0
- package/dist/custom-auth-path/controllers/ControllerFactory.d.ts +6 -0
- package/dist/custom-auth-path/controllers/ControllerFactory.d.ts.map +1 -0
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs +17 -0
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs.map +1 -0
- package/dist/custom-auth-path/controllers/IController.d.ts +59 -0
- package/dist/custom-auth-path/controllers/IController.d.ts.map +1 -0
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts +203 -0
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -0
- package/dist/custom-auth-path/controllers/StandardController.d.ts +425 -0
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -0
- package/dist/custom-auth-path/controllers/StandardController.mjs +1469 -0
- package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -0
- package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts +86 -0
- package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts.map +1 -0
- package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts +97 -0
- package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts.map +1 -0
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +308 -0
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs.map +1 -0
- package/dist/custom-auth-path/crypto/CryptoOps.d.ts +75 -0
- package/dist/custom-auth-path/crypto/CryptoOps.d.ts.map +1 -0
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +191 -0
- package/dist/custom-auth-path/crypto/CryptoOps.mjs.map +1 -0
- package/dist/custom-auth-path/crypto/PkceGenerator.d.ts +9 -0
- package/dist/custom-auth-path/crypto/PkceGenerator.d.ts.map +1 -0
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +65 -0
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs.map +1 -0
- package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts +31 -0
- package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthActionInputs.d.ts +26 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +33 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +47 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +97 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
- package/dist/custom-auth-path/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/configuration/CustomAuthConfiguration.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts +25 -0
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +274 -0
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
- package/dist/custom-auth-path/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +83 -0
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +28 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +105 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +47 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.d.ts +27 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +45 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.d.ts +19 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +33 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.d.ts +9 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +22 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +11 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +18 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +12 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +18 -0
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.d.ts +6 -0
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +18 -0
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +10 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +30 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +18 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +24 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +47 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +25 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +14 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +86 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +20 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +20 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +9 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +31 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +87 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +29 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +113 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +20 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +71 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +22 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +29 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +65 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +45 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +10 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +54 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +15 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts +21 -0
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +34 -0
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +21 -0
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.d.ts +3 -0
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +26 -0
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +122 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +47 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +48 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +47 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +47 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +21 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +21 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +21 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +122 -0
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/index.d.ts +69 -0
- package/dist/custom-auth-path/custom_auth/index.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/index.mjs +57 -0
- package/dist/custom-auth-path/custom_auth/index.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +35 -0
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +55 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +88 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +51 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +48 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +48 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +43 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +23 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +94 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +16 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +16 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +54 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +25 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +15 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +155 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +13 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +50 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +76 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +48 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +54 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +62 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +25 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +41 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +21 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs +24 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +20 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +36 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +29 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +95 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +8 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +13 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +46 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +16 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +17 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +54 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +6 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +26 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +20 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts +48 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +191 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +29 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +30 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +30 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +87 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +126 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +51 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +62 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +48 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +62 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +55 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +21 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +74 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +28 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +139 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +16 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +16 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +77 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +26 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +20 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +241 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +37 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs.map +1 -0
- package/dist/custom-auth-path/encode/Base64Decode.d.ts +15 -0
- package/dist/custom-auth-path/encode/Base64Decode.d.ts.map +1 -0
- package/dist/custom-auth-path/encode/Base64Decode.mjs +44 -0
- package/dist/custom-auth-path/encode/Base64Decode.mjs.map +1 -0
- package/dist/custom-auth-path/encode/Base64Encode.d.ts +20 -0
- package/dist/custom-auth-path/encode/Base64Encode.d.ts.map +1 -0
- package/dist/custom-auth-path/encode/Base64Encode.mjs +48 -0
- package/dist/custom-auth-path/encode/Base64Encode.mjs.map +1 -0
- package/dist/custom-auth-path/error/BrowserAuthError.d.ts +257 -0
- package/dist/custom-auth-path/error/BrowserAuthError.d.ts.map +1 -0
- package/dist/custom-auth-path/error/BrowserAuthError.mjs +82 -0
- package/dist/custom-auth-path/error/BrowserAuthError.mjs.map +1 -0
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.d.ts +52 -0
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +60 -0
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts +34 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts.map +1 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +30 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs.map +1 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +12 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/error/NativeAuthError.d.ts +30 -0
- package/dist/custom-auth-path/error/NativeAuthError.d.ts.map +1 -0
- package/dist/custom-auth-path/error/NativeAuthError.mjs +73 -0
- package/dist/custom-auth-path/error/NativeAuthError.mjs.map +1 -0
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts +3 -0
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +11 -0
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/error/NestedAppAuthError.d.ts +15 -0
- package/dist/custom-auth-path/error/NestedAppAuthError.d.ts.map +1 -0
- package/dist/custom-auth-path/event/EventHandler.d.ts +49 -0
- package/dist/custom-auth-path/event/EventHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/event/EventHandler.mjs +112 -0
- package/dist/custom-auth-path/event/EventHandler.mjs.map +1 -0
- package/dist/custom-auth-path/event/EventMessage.d.ts +40 -0
- package/dist/custom-auth-path/event/EventMessage.d.ts.map +1 -0
- package/dist/custom-auth-path/event/EventType.d.ts +31 -0
- package/dist/custom-auth-path/event/EventType.d.ts.map +1 -0
- package/dist/custom-auth-path/event/EventType.mjs +38 -0
- package/dist/custom-auth-path/event/EventType.mjs.map +1 -0
- package/dist/custom-auth-path/index.d.ts +45 -0
- package/dist/custom-auth-path/index.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts +59 -0
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +128 -0
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +17 -0
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +149 -0
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +630 -0
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts +120 -0
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +469 -0
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts +68 -0
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +427 -0
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts +24 -0
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +76 -0
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.d.ts +17 -0
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +58 -0
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts +43 -0
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +154 -0
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.d.ts +32 -0
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +75 -0
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts +64 -0
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +209 -0
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts +33 -0
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +102 -0
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts +16 -0
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +154 -0
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -0
- package/dist/custom-auth-path/naa/AccountInfo.d.ts +12 -0
- package/dist/custom-auth-path/naa/AccountInfo.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/AuthBridge.d.ts +9 -0
- package/dist/custom-auth-path/naa/AuthBridge.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/AuthResult.d.ts +7 -0
- package/dist/custom-auth-path/naa/AuthResult.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeAccountContext.d.ts +13 -0
- package/dist/custom-auth-path/naa/BridgeAccountContext.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeCapabilities.d.ts +4 -0
- package/dist/custom-auth-path/naa/BridgeCapabilities.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeError.d.ts +10 -0
- package/dist/custom-auth-path/naa/BridgeError.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeProxy.d.ts +69 -0
- package/dist/custom-auth-path/naa/BridgeProxy.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeRequest.d.ts +8 -0
- package/dist/custom-auth-path/naa/BridgeRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeRequestEnvelope.d.ts +13 -0
- package/dist/custom-auth-path/naa/BridgeRequestEnvelope.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeResponseEnvelope.d.ts +14 -0
- package/dist/custom-auth-path/naa/BridgeResponseEnvelope.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeStatusCode.d.ts +12 -0
- package/dist/custom-auth-path/naa/BridgeStatusCode.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/IBridgeProxy.d.ts +11 -0
- package/dist/custom-auth-path/naa/IBridgeProxy.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/InitContext.d.ts +9 -0
- package/dist/custom-auth-path/naa/InitContext.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/TokenRequest.d.ts +19 -0
- package/dist/custom-auth-path/naa/TokenRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/TokenResponse.d.ts +14 -0
- package/dist/custom-auth-path/naa/TokenResponse.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
- package/dist/custom-auth-path/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
- package/dist/custom-auth-path/navigation/INavigationClient.d.ts +17 -0
- package/dist/custom-auth-path/navigation/INavigationClient.d.ts.map +1 -0
- package/dist/custom-auth-path/navigation/NavigationClient.d.ts +23 -0
- package/dist/custom-auth-path/navigation/NavigationClient.d.ts.map +1 -0
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +48 -0
- package/dist/custom-auth-path/navigation/NavigationClient.mjs.map +1 -0
- package/dist/custom-auth-path/navigation/NavigationOptions.d.ts +13 -0
- package/dist/custom-auth-path/navigation/NavigationOptions.d.ts.map +1 -0
- package/dist/custom-auth-path/network/FetchClient.d.ts +21 -0
- package/dist/custom-auth-path/network/FetchClient.d.ts.map +1 -0
- package/dist/custom-auth-path/network/FetchClient.mjs +128 -0
- package/dist/custom-auth-path/network/FetchClient.mjs.map +1 -0
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts +42 -0
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +104 -0
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs.map +1 -0
- package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts +40 -0
- package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts +26 -0
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +50 -0
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs.map +1 -0
- package/dist/custom-auth-path/operatingcontext/UnknownOperatingContext.d.ts +26 -0
- package/dist/custom-auth-path/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
- package/dist/custom-auth-path/packageMetadata.d.ts +3 -0
- package/dist/custom-auth-path/packageMetadata.d.ts.map +1 -0
- package/dist/custom-auth-path/packageMetadata.mjs +8 -0
- package/dist/custom-auth-path/packageMetadata.mjs.map +1 -0
- package/dist/custom-auth-path/protocol/Authorize.d.ts +65 -0
- package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -0
- package/dist/custom-auth-path/protocol/Authorize.mjs +218 -0
- package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -0
- package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts +9 -0
- package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts +7 -0
- package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/ClearCacheRequest.d.ts +11 -0
- package/dist/custom-auth-path/request/ClearCacheRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts +21 -0
- package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/EndSessionRequest.d.ts +16 -0
- package/dist/custom-auth-path/request/EndSessionRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts +9 -0
- package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/PopupRequest.d.ts +36 -0
- package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/PopupWindowAttributes.d.ts +16 -0
- package/dist/custom-auth-path/request/PopupWindowAttributes.d.ts.map +1 -0
- package/dist/custom-auth-path/request/RedirectRequest.d.ts +40 -0
- package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/RequestHelpers.d.ts +14 -0
- package/dist/custom-auth-path/request/RequestHelpers.d.ts.map +1 -0
- package/dist/custom-auth-path/request/RequestHelpers.mjs +61 -0
- package/dist/custom-auth-path/request/RequestHelpers.mjs.map +1 -0
- package/dist/custom-auth-path/request/SilentRequest.d.ts +33 -0
- package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +28 -0
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/response/AuthenticationResult.d.ts +5 -0
- package/dist/custom-auth-path/response/AuthenticationResult.d.ts.map +1 -0
- package/dist/custom-auth-path/response/ResponseHandler.d.ts +8 -0
- package/dist/custom-auth-path/response/ResponseHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/response/ResponseHandler.mjs +46 -0
- package/dist/custom-auth-path/response/ResponseHandler.mjs.map +1 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts +35 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
- package/dist/custom-auth-path/utils/BrowserConstants.d.ts +184 -0
- package/dist/custom-auth-path/utils/BrowserConstants.d.ts.map +1 -0
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +177 -0
- package/dist/custom-auth-path/utils/BrowserConstants.mjs.map +1 -0
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.d.ts +12 -0
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.d.ts.map +1 -0
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +28 -0
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs.map +1 -0
- package/dist/custom-auth-path/utils/BrowserUtils.d.ts +76 -0
- package/dist/custom-auth-path/utils/BrowserUtils.d.ts.map +1 -0
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +173 -0
- package/dist/custom-auth-path/utils/BrowserUtils.mjs.map +1 -0
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts +3 -0
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts.map +1 -0
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +23 -0
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs.map +1 -0
- package/dist/custom_auth/CustomAuthActionInputs.d.ts +26 -0
- package/dist/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
- package/dist/custom_auth/CustomAuthConstants.d.ts +33 -0
- package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -0
- package/dist/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
- package/dist/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
- package/dist/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
- package/dist/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
- package/dist/custom_auth/UserAccountAttributes.d.ts +12 -0
- package/dist/custom_auth/UserAccountAttributes.d.ts.map +1 -0
- package/dist/custom_auth/configuration/CustomAuthConfiguration.d.ts +12 -0
- package/dist/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
- package/dist/custom_auth/controller/CustomAuthStandardController.d.ts +25 -0
- package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
- package/dist/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
- package/dist/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
- package/dist/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
- package/dist/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +28 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts +27 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
- package/dist/custom_auth/core/error/CustomAuthApiError.d.ts +19 -0
- package/dist/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/CustomAuthError.d.ts +9 -0
- package/dist/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/HttpError.d.ts +5 -0
- package/dist/custom_auth/core/error/HttpError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
- package/dist/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
- package/dist/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
- package/dist/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
- package/dist/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
- package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
- package/dist/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
- package/dist/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/MsalCustomAuthError.d.ts +6 -0
- package/dist/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
- package/dist/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
- package/dist/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
- package/dist/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
- package/dist/custom_auth/core/error/UnexpectedError.d.ts +5 -0
- package/dist/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
- package/dist/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
- package/dist/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
- package/dist/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
- package/dist/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
- package/dist/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +24 -0
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
- package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +14 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +12 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +12 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +9 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +31 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +29 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +20 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +22 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +65 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +45 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +10 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +21 -0
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
- package/dist/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
- package/dist/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
- package/dist/custom_auth/core/utils/UrlUtils.d.ts +3 -0
- package/dist/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
- package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +12 -0
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +12 -0
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +12 -0
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
- package/dist/custom_auth/index.d.ts +69 -0
- package/dist/custom_auth/index.d.ts.map +1 -0
- package/dist/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
- package/dist/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +55 -0
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +23 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +7 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +7 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +12 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +15 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
- package/dist/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
- package/dist/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
- package/dist/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +50 -0
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +54 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +25 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +21 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +20 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +29 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +8 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +13 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +7 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +17 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +6 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +20 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +48 -0
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +29 -0
- package/dist/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +30 -0
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +87 -0
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +21 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +28 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +7 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +7 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +12 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +20 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
- package/dist/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
- package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.d.ts +1 -0
- package/dist/error/BrowserAuthError.d.ts.map +1 -1
- package/dist/error/BrowserAuthError.mjs +3 -2
- package/dist/error/BrowserAuthError.mjs.map +1 -1
- package/dist/error/BrowserAuthErrorCodes.d.ts +1 -0
- package/dist/error/BrowserAuthErrorCodes.d.ts.map +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +4 -3
- package/dist/error/BrowserAuthErrorCodes.mjs.map +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +2 -2
- 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 +1 -1
- package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +6 -6
- package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +9 -9
- 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 +2 -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 +8 -3
- package/dist/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +2 -2
- package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +3 -2
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +3 -3
- 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 +2 -2
- package/dist/navigation/NavigationClient.d.ts.map +1 -1
- package/dist/navigation/NavigationClient.mjs +6 -3
- package/dist/navigation/NavigationClient.mjs.map +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -5
- 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/MsalFrameStatsUtils.mjs +1 -1
- package/lib/custom-auth-path/msal-custom-auth.cjs +20624 -0
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -0
- package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts +55 -0
- package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts.map +1 -0
- package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts +297 -0
- package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts.map +1 -0
- package/lib/custom-auth-path/types/app/PublicClientNext.d.ts +278 -0
- package/lib/custom-auth-path/types/app/PublicClientNext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts +26 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthRequest.d.ts +78 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/AccountManager.d.ts +49 -0
- package/lib/custom-auth-path/types/cache/AccountManager.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts +51 -0
- package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +297 -0
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/CacheHelpers.d.ts +16 -0
- package/lib/custom-auth-path/types/cache/CacheHelpers.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/CookieStorage.d.ts +22 -0
- package/lib/custom-auth-path/types/cache/CookieStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/DatabaseStorage.d.ts +57 -0
- package/lib/custom-auth-path/types/cache/DatabaseStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts +28 -0
- package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/ITokenCache.d.ts +12 -0
- package/lib/custom-auth-path/types/cache/ITokenCache.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/IWindowStorage.d.ts +40 -0
- package/lib/custom-auth-path/types/cache/IWindowStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/LocalStorage.d.ts +49 -0
- package/lib/custom-auth-path/types/cache/LocalStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/MemoryStorage.d.ts +15 -0
- package/lib/custom-auth-path/types/cache/MemoryStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/SessionStorage.d.ts +13 -0
- package/lib/custom-auth-path/types/cache/SessionStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/TokenCache.d.ts +78 -0
- package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -0
- package/lib/custom-auth-path/types/config/Configuration.d.ts +228 -0
- package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -0
- package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts +6 -0
- package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts.map +1 -0
- package/lib/custom-auth-path/types/controllers/IController.d.ts +59 -0
- package/lib/custom-auth-path/types/controllers/IController.d.ts.map +1 -0
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts +203 -0
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -0
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts +425 -0
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -0
- package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts +86 -0
- package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts.map +1 -0
- package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts +97 -0
- package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts.map +1 -0
- package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts +75 -0
- package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts.map +1 -0
- package/lib/custom-auth-path/types/crypto/PkceGenerator.d.ts +9 -0
- package/lib/custom-auth-path/types/crypto/PkceGenerator.d.ts.map +1 -0
- package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts +31 -0
- package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/CustomAuthActionInputs.d.ts +26 -0
- package/lib/custom-auth-path/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +33 -0
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
- package/lib/custom-auth-path/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
- package/lib/custom-auth-path/types/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts +25 -0
- package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
- package/lib/custom-auth-path/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
- package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +28 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +27 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthApiError.d.ts +19 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthError.d.ts +9 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/HttpError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/HttpError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/MsalCustomAuthError.d.ts +6 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UnexpectedError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +24 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +14 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +9 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +31 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +29 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +20 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +22 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +65 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +45 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +10 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts +21 -0
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
- package/lib/custom-auth-path/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/utils/UrlUtils.d.ts +3 -0
- package/lib/custom-auth-path/types/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/index.d.ts +69 -0
- package/lib/custom-auth-path/types/custom_auth/index.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
- package/lib/custom-auth-path/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +55 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +23 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +15 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +50 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +54 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +25 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +21 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +20 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +29 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +8 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +13 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +17 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +6 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +20 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +48 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +29 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +30 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +87 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +21 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +28 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +20 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/encode/Base64Decode.d.ts +15 -0
- package/lib/custom-auth-path/types/encode/Base64Decode.d.ts.map +1 -0
- package/lib/custom-auth-path/types/encode/Base64Encode.d.ts +20 -0
- package/lib/custom-auth-path/types/encode/Base64Encode.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts +257 -0
- package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/BrowserAuthErrorCodes.d.ts +52 -0
- package/lib/custom-auth-path/types/error/BrowserAuthErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts +34 -0
- package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
- package/lib/custom-auth-path/types/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/NativeAuthError.d.ts +30 -0
- package/lib/custom-auth-path/types/error/NativeAuthError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts +3 -0
- package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts +15 -0
- package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/event/EventHandler.d.ts +49 -0
- package/lib/custom-auth-path/types/event/EventHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/event/EventMessage.d.ts +40 -0
- package/lib/custom-auth-path/types/event/EventMessage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/event/EventType.d.ts +31 -0
- package/lib/custom-auth-path/types/event/EventType.d.ts.map +1 -0
- package/lib/custom-auth-path/types/index.d.ts +45 -0
- package/lib/custom-auth-path/types/index.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts +59 -0
- package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
- package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +149 -0
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts +120 -0
- package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts +68 -0
- package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts +24 -0
- package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/SilentCacheClient.d.ts +17 -0
- package/lib/custom-auth-path/types/interaction_client/SilentCacheClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts +43 -0
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/SilentRefreshClient.d.ts +32 -0
- package/lib/custom-auth-path/types/interaction_client/SilentRefreshClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts +64 -0
- package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts +33 -0
- package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts +16 -0
- package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/AccountInfo.d.ts +12 -0
- package/lib/custom-auth-path/types/naa/AccountInfo.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/AuthBridge.d.ts +9 -0
- package/lib/custom-auth-path/types/naa/AuthBridge.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/AuthResult.d.ts +7 -0
- package/lib/custom-auth-path/types/naa/AuthResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeAccountContext.d.ts +13 -0
- package/lib/custom-auth-path/types/naa/BridgeAccountContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeCapabilities.d.ts +4 -0
- package/lib/custom-auth-path/types/naa/BridgeCapabilities.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeError.d.ts +10 -0
- package/lib/custom-auth-path/types/naa/BridgeError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeProxy.d.ts +69 -0
- package/lib/custom-auth-path/types/naa/BridgeProxy.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeRequest.d.ts +8 -0
- package/lib/custom-auth-path/types/naa/BridgeRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeRequestEnvelope.d.ts +13 -0
- package/lib/custom-auth-path/types/naa/BridgeRequestEnvelope.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeResponseEnvelope.d.ts +14 -0
- package/lib/custom-auth-path/types/naa/BridgeResponseEnvelope.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeStatusCode.d.ts +12 -0
- package/lib/custom-auth-path/types/naa/BridgeStatusCode.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/IBridgeProxy.d.ts +11 -0
- package/lib/custom-auth-path/types/naa/IBridgeProxy.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/InitContext.d.ts +9 -0
- package/lib/custom-auth-path/types/naa/InitContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/TokenRequest.d.ts +19 -0
- package/lib/custom-auth-path/types/naa/TokenRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/TokenResponse.d.ts +14 -0
- package/lib/custom-auth-path/types/naa/TokenResponse.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
- package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
- package/lib/custom-auth-path/types/navigation/INavigationClient.d.ts +17 -0
- package/lib/custom-auth-path/types/navigation/INavigationClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/navigation/NavigationClient.d.ts +23 -0
- package/lib/custom-auth-path/types/navigation/NavigationClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/navigation/NavigationOptions.d.ts +13 -0
- package/lib/custom-auth-path/types/navigation/NavigationOptions.d.ts.map +1 -0
- package/lib/custom-auth-path/types/network/FetchClient.d.ts +21 -0
- package/lib/custom-auth-path/types/network/FetchClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts +42 -0
- package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts +40 -0
- package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts +26 -0
- package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/operatingcontext/UnknownOperatingContext.d.ts +26 -0
- package/lib/custom-auth-path/types/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/packageMetadata.d.ts +3 -0
- package/lib/custom-auth-path/types/packageMetadata.d.ts.map +1 -0
- package/lib/custom-auth-path/types/protocol/Authorize.d.ts +65 -0
- package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts +9 -0
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts +7 -0
- package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts +11 -0
- package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts +21 -0
- package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts +16 -0
- package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts +9 -0
- package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts +36 -0
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/PopupWindowAttributes.d.ts +16 -0
- package/lib/custom-auth-path/types/request/PopupWindowAttributes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +40 -0
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/RequestHelpers.d.ts +14 -0
- package/lib/custom-auth-path/types/request/RequestHelpers.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts +33 -0
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +28 -0
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/response/AuthenticationResult.d.ts +5 -0
- package/lib/custom-auth-path/types/response/AuthenticationResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/response/ResponseHandler.d.ts +8 -0
- package/lib/custom-auth-path/types/response/ResponseHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts +35 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
- package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts +184 -0
- package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts.map +1 -0
- package/lib/custom-auth-path/types/utils/BrowserProtocolUtils.d.ts +12 -0
- package/lib/custom-auth-path/types/utils/BrowserProtocolUtils.d.ts.map +1 -0
- package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts +76 -0
- package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts.map +1 -0
- package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts +3 -0
- package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts.map +1 -0
- package/lib/msal-browser.cjs +467 -366
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +467 -366
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +68 -68
- package/lib/types/cache/AccountManager.d.ts +7 -7
- package/lib/types/cache/AccountManager.d.ts.map +1 -1
- package/lib/types/cache/BrowserCacheManager.d.ts +40 -25
- package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/types/cache/IWindowStorage.d.ts +1 -1
- package/lib/types/cache/IWindowStorage.d.ts.map +1 -1
- package/lib/types/cache/LocalStorage.d.ts +1 -1
- package/lib/types/cache/LocalStorage.d.ts.map +1 -1
- package/lib/types/cache/TokenCache.d.ts.map +1 -1
- package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthActionInputs.d.ts +26 -0
- package/lib/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +33 -0
- package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -0
- package/lib/types/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
- package/lib/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/types/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
- package/lib/types/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/types/custom_auth/UserAccountAttributes.d.ts +12 -0
- package/lib/types/custom_auth/UserAccountAttributes.d.ts.map +1 -0
- package/lib/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +12 -0
- package/lib/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
- package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts +25 -0
- package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
- package/lib/types/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
- package/lib/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
- package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
- package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +28 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +27 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/CustomAuthApiError.d.ts +19 -0
- package/lib/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/CustomAuthError.d.ts +9 -0
- package/lib/types/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/HttpError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/HttpError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
- package/lib/types/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
- package/lib/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/MsalCustomAuthError.d.ts +6 -0
- package/lib/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
- package/lib/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/UnexpectedError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
- package/lib/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +24 -0
- package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
- package/lib/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +14 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +12 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +12 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +9 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +31 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +29 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +20 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +22 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +65 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +45 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +10 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
- package/lib/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
- package/lib/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +21 -0
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
- package/lib/types/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
- package/lib/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
- package/lib/types/custom_auth/core/utils/UrlUtils.d.ts +3 -0
- package/lib/types/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
- package/lib/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
- package/lib/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
- package/lib/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
- package/lib/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
- package/lib/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +12 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +12 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +12 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
- package/lib/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
- package/lib/types/custom_auth/index.d.ts +69 -0
- package/lib/types/custom_auth/index.d.ts.map +1 -0
- package/lib/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
- package/lib/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +55 -0
- package/lib/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +23 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +7 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +7 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +12 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +15 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
- package/lib/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
- package/lib/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
- package/lib/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
- package/lib/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +50 -0
- package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +54 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +25 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +21 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +20 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +29 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +8 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +13 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +7 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +17 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +6 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +20 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +48 -0
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +29 -0
- package/lib/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +30 -0
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +87 -0
- package/lib/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +21 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +28 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +7 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +7 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +12 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +20 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
- package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
- package/lib/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
- package/lib/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
- package/lib/types/error/BrowserAuthError.d.ts +1 -0
- package/lib/types/error/BrowserAuthError.d.ts.map +1 -1
- package/lib/types/error/BrowserAuthErrorCodes.d.ts +1 -0
- package/lib/types/error/BrowserAuthErrorCodes.d.ts.map +1 -1
- package/lib/types/interaction_client/BaseInteractionClient.d.ts +1 -1
- package/lib/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +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/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/lib/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/lib/types/navigation/NavigationClient.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +12 -2
- package/src/cache/AccountManager.ts +40 -20
- package/src/cache/BrowserCacheManager.ts +323 -202
- package/src/cache/IWindowStorage.ts +6 -1
- package/src/cache/LocalStorage.ts +4 -1
- package/src/cache/TokenCache.ts +1 -0
- package/src/controllers/NestedAppAuthController.ts +31 -9
- package/src/controllers/StandardController.ts +25 -6
- package/src/custom_auth/CustomAuthActionInputs.ts +37 -0
- package/src/custom_auth/CustomAuthConstants.ts +50 -0
- package/src/custom_auth/CustomAuthPublicClientApplication.ts +158 -0
- package/src/custom_auth/ICustomAuthPublicClientApplication.ts +51 -0
- package/src/custom_auth/UserAccountAttributes.ts +16 -0
- package/src/custom_auth/configuration/CustomAuthConfiguration.ts +22 -0
- package/src/custom_auth/controller/CustomAuthStandardController.ts +509 -0
- package/src/custom_auth/controller/ICustomAuthStandardController.ts +53 -0
- package/src/custom_auth/core/CustomAuthAuthority.ts +112 -0
- package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +140 -0
- package/src/custom_auth/core/auth_flow/AuthFlowResultBase.ts +55 -0
- package/src/custom_auth/core/auth_flow/AuthFlowState.ts +73 -0
- package/src/custom_auth/core/error/CustomAuthApiError.ts +41 -0
- package/src/custom_auth/core/error/CustomAuthError.ts +20 -0
- package/src/custom_auth/core/error/HttpError.ts +13 -0
- package/src/custom_auth/core/error/HttpErrorCodes.ts +7 -0
- package/src/custom_auth/core/error/InvalidArgumentError.ts +15 -0
- package/src/custom_auth/core/error/InvalidConfigurationError.ts +13 -0
- package/src/custom_auth/core/error/InvalidConfigurationErrorCodes.ts +8 -0
- package/src/custom_auth/core/error/MethodNotImplementedError.ts +15 -0
- package/src/custom_auth/core/error/MsalCustomAuthError.ts +22 -0
- package/src/custom_auth/core/error/NoCachedAccountFoundError.ts +17 -0
- package/src/custom_auth/core/error/ParsedUrlError.ts +13 -0
- package/src/custom_auth/core/error/ParsedUrlErrorCodes.ts +6 -0
- package/src/custom_auth/core/error/UnexpectedError.ts +25 -0
- package/src/custom_auth/core/error/UnsupportedEnvironmentError.ts +17 -0
- package/src/custom_auth/core/error/UserAccountAttributeError.ts +15 -0
- package/src/custom_auth/core/error/UserAccountAttributeErrorCodes.ts +6 -0
- package/src/custom_auth/core/error/UserAlreadySignedInError.ts +17 -0
- package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +92 -0
- package/src/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.ts +57 -0
- package/src/custom_auth/core/network_client/custom_auth_api/BaseApiClient.ts +168 -0
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts +38 -0
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +18 -0
- package/src/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.ts +13 -0
- package/src/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.ts +172 -0
- package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +186 -0
- package/src/custom_auth/core/network_client/custom_auth_api/SignupApiClient.ts +141 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.ts +26 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.ts +36 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +91 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +66 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +14 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.ts +15 -0
- package/src/custom_auth/core/network_client/http_client/FetchHttpClient.ts +86 -0
- package/src/custom_auth/core/network_client/http_client/IHttpClient.ts +54 -0
- package/src/custom_auth/core/telemetry/PublicApiId.ts +37 -0
- package/src/custom_auth/core/utils/ArgumentValidator.ts +26 -0
- package/src/custom_auth/core/utils/UrlUtils.ts +25 -0
- package/src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts +185 -0
- package/src/custom_auth/get_account/auth_flow/error_type/GetAccountError.ts +45 -0
- package/src/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.ts +72 -0
- package/src/custom_auth/get_account/auth_flow/result/GetAccountResult.ts +69 -0
- package/src/custom_auth/get_account/auth_flow/result/SignOutResult.ts +62 -0
- package/src/custom_auth/get_account/auth_flow/state/GetAccessTokenState.ts +16 -0
- package/src/custom_auth/get_account/auth_flow/state/GetAccountState.ts +16 -0
- package/src/custom_auth/get_account/auth_flow/state/SignOutState.ts +16 -0
- package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +215 -0
- package/src/custom_auth/index.ts +185 -0
- package/src/custom_auth/operating_context/CustomAuthOperatingContext.ts +43 -0
- package/src/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.ts +96 -0
- package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.ts +76 -0
- package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.ts +70 -0
- package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.ts +70 -0
- package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.ts +65 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.ts +130 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.ts +11 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.ts +11 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.ts +73 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordState.ts +29 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.ts +25 -0
- package/src/custom_auth/reset_password/interaction_client/ResetPasswordClient.ts +311 -0
- package/src/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.ts +28 -0
- package/src/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.ts +21 -0
- package/src/custom_auth/sign_in/auth_flow/SignInScenario.ts +12 -0
- package/src/custom_auth/sign_in/auth_flow/error_type/SignInError.ts +79 -0
- package/src/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.ts +67 -0
- package/src/custom_auth/sign_in/auth_flow/result/SignInResult.ts +87 -0
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.ts +44 -0
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.ts +43 -0
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.ts +41 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +141 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInCompletedState.ts +12 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +71 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInFailedState.ts +11 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +83 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInState.ts +34 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInStateParameters.ts +32 -0
- package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +396 -0
- package/src/custom_auth/sign_in/interaction_client/parameter/SignInParams.ts +39 -0
- package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +65 -0
- package/src/custom_auth/sign_up/auth_flow/error_type/SignUpError.ts +138 -0
- package/src/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.ts +70 -0
- package/src/custom_auth/sign_up/auth_flow/result/SignUpResult.ts +88 -0
- package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.ts +70 -0
- package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.ts +90 -0
- package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.ts +80 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts +115 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts +196 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.ts +11 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpFailedState.ts +11 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.ts +112 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpState.ts +34 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.ts +31 -0
- package/src/custom_auth/sign_up/interaction_client/SignUpClient.ts +496 -0
- package/src/custom_auth/sign_up/interaction_client/parameter/SignUpParams.ts +36 -0
- package/src/custom_auth/sign_up/interaction_client/result/SignUpActionResult.ts +77 -0
- package/src/error/BrowserAuthError.ts +1 -0
- package/src/error/BrowserAuthErrorCodes.ts +1 -0
- package/src/interaction_client/BaseInteractionClient.ts +5 -4
- package/src/interaction_client/PlatformAuthInteractionClient.ts +19 -12
- package/src/interaction_client/PopupClient.ts +4 -1
- package/src/interaction_client/RedirectClient.ts +14 -1
- package/src/interaction_client/SilentCacheClient.ts +4 -1
- package/src/interaction_client/StandardInteractionClient.ts +2 -1
- package/src/navigation/NavigationClient.ts +11 -2
- package/src/packageMetadata.ts +1 -1
package/lib/msal-browser.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.14.0 2025-07-01 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v15.
|
|
5
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6
6
|
/*
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
8
|
* Licensed under the MIT License.
|
|
@@ -147,7 +147,6 @@ const CodeChallengeMethodValues = {
|
|
|
147
147
|
*/
|
|
148
148
|
const OAuthResponseType = {
|
|
149
149
|
CODE: "code",
|
|
150
|
-
IDTOKEN_TOKEN: "id_token token",
|
|
151
150
|
IDTOKEN_TOKEN_REFRESHTOKEN: "id_token token refresh_token",
|
|
152
151
|
};
|
|
153
152
|
/**
|
|
@@ -162,29 +161,19 @@ const ServerResponseType = {
|
|
|
162
161
|
* allowed values for response_mode
|
|
163
162
|
*/
|
|
164
163
|
const ResponseMode = {
|
|
165
|
-
QUERY: "query"
|
|
166
|
-
FRAGMENT: "fragment",
|
|
167
|
-
FORM_POST: "form_post",
|
|
168
|
-
};
|
|
164
|
+
QUERY: "query"};
|
|
169
165
|
/**
|
|
170
166
|
* allowed grant_type
|
|
171
167
|
*/
|
|
172
168
|
const GrantType = {
|
|
173
|
-
IMPLICIT_GRANT: "implicit",
|
|
174
169
|
AUTHORIZATION_CODE_GRANT: "authorization_code",
|
|
175
|
-
|
|
176
|
-
RESOURCE_OWNER_PASSWORD_GRANT: "password",
|
|
177
|
-
REFRESH_TOKEN_GRANT: "refresh_token",
|
|
178
|
-
DEVICE_CODE_GRANT: "device_code",
|
|
179
|
-
JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer",
|
|
180
|
-
};
|
|
170
|
+
REFRESH_TOKEN_GRANT: "refresh_token"};
|
|
181
171
|
/**
|
|
182
172
|
* Account types in Cache
|
|
183
173
|
*/
|
|
184
174
|
const CacheAccountType = {
|
|
185
175
|
MSSTS_ACCOUNT_TYPE: "MSSTS",
|
|
186
176
|
ADFS_ACCOUNT_TYPE: "ADFS",
|
|
187
|
-
MSAV1_ACCOUNT_TYPE: "MSA",
|
|
188
177
|
GENERIC_ACCOUNT_TYPE: "Generic", // NTLM, Kerberos, FBA, Basic etc
|
|
189
178
|
};
|
|
190
179
|
/**
|
|
@@ -221,7 +210,6 @@ const AuthorityMetadataSource = {
|
|
|
221
210
|
};
|
|
222
211
|
const SERVER_TELEM_CONSTANTS = {
|
|
223
212
|
SCHEMA_VERSION: 5,
|
|
224
|
-
MAX_CUR_HEADER_BYTES: 80,
|
|
225
213
|
MAX_LAST_HEADER_BYTES: 330,
|
|
226
214
|
MAX_CACHED_ERRORS: 50,
|
|
227
215
|
CACHE_KEY: "server-telemetry",
|
|
@@ -269,9 +257,7 @@ const RegionDiscoverySources = {
|
|
|
269
257
|
* Region Discovery Outcomes
|
|
270
258
|
*/
|
|
271
259
|
const RegionDiscoveryOutcomes = {
|
|
272
|
-
CONFIGURED_MATCHES_DETECTED: "1",
|
|
273
260
|
CONFIGURED_NO_AUTO_DETECTION: "2",
|
|
274
|
-
CONFIGURED_NOT_DETECTED: "3",
|
|
275
261
|
AUTO_DETECTION_REQUESTED_SUCCESSFUL: "4",
|
|
276
262
|
AUTO_DETECTION_REQUESTED_FAILED: "5",
|
|
277
263
|
};
|
|
@@ -298,7 +284,7 @@ const JsonWebTokenTypes = {
|
|
|
298
284
|
// Token renewal offset default in seconds
|
|
299
285
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
300
286
|
|
|
301
|
-
/*! @azure/msal-common v15.
|
|
287
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
302
288
|
/*
|
|
303
289
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
304
290
|
* Licensed under the MIT License.
|
|
@@ -315,7 +301,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
315
301
|
unexpectedError: unexpectedError
|
|
316
302
|
});
|
|
317
303
|
|
|
318
|
-
/*! @azure/msal-common v15.
|
|
304
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
319
305
|
|
|
320
306
|
/*
|
|
321
307
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -364,7 +350,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
364
350
|
: AuthErrorMessages[code]);
|
|
365
351
|
}
|
|
366
352
|
|
|
367
|
-
/*! @azure/msal-common v15.
|
|
353
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
368
354
|
/*
|
|
369
355
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
370
356
|
* Licensed under the MIT License.
|
|
@@ -462,7 +448,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
462
448
|
userTimeoutReached: userTimeoutReached
|
|
463
449
|
});
|
|
464
450
|
|
|
465
|
-
/*! @azure/msal-common v15.
|
|
451
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
466
452
|
|
|
467
453
|
/*
|
|
468
454
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -714,7 +700,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
714
700
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
715
701
|
}
|
|
716
702
|
|
|
717
|
-
/*! @azure/msal-common v15.
|
|
703
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
718
704
|
|
|
719
705
|
/*
|
|
720
706
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -753,7 +739,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
753
739
|
},
|
|
754
740
|
};
|
|
755
741
|
|
|
756
|
-
/*! @azure/msal-common v15.
|
|
742
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
757
743
|
|
|
758
744
|
/*
|
|
759
745
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -944,12 +930,12 @@ class Logger {
|
|
|
944
930
|
}
|
|
945
931
|
}
|
|
946
932
|
|
|
947
|
-
/*! @azure/msal-common v15.
|
|
933
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
948
934
|
/* eslint-disable header/header */
|
|
949
935
|
const name$1 = "@azure/msal-common";
|
|
950
|
-
const version$1 = "15.
|
|
936
|
+
const version$1 = "15.8.0";
|
|
951
937
|
|
|
952
|
-
/*! @azure/msal-common v15.
|
|
938
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
953
939
|
/*
|
|
954
940
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
955
941
|
* Licensed under the MIT License.
|
|
@@ -969,7 +955,7 @@ const AzureCloudInstance = {
|
|
|
969
955
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
970
956
|
};
|
|
971
957
|
|
|
972
|
-
/*! @azure/msal-common v15.
|
|
958
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
973
959
|
|
|
974
960
|
/*
|
|
975
961
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1030,7 +1016,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1030
1016
|
}
|
|
1031
1017
|
}
|
|
1032
1018
|
|
|
1033
|
-
/*! @azure/msal-common v15.
|
|
1019
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1034
1020
|
/*
|
|
1035
1021
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1036
1022
|
* Licensed under the MIT License.
|
|
@@ -1085,7 +1071,7 @@ function wasClockTurnedBack(cachedAt) {
|
|
|
1085
1071
|
return cachedAtSec > nowSeconds();
|
|
1086
1072
|
}
|
|
1087
1073
|
|
|
1088
|
-
/*! @azure/msal-common v15.
|
|
1074
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1089
1075
|
|
|
1090
1076
|
/*
|
|
1091
1077
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1412,7 +1398,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
1412
1398
|
return metadata.expiresAt <= nowSeconds();
|
|
1413
1399
|
}
|
|
1414
1400
|
|
|
1415
|
-
/*! @azure/msal-common v15.
|
|
1401
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1416
1402
|
/*
|
|
1417
1403
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1418
1404
|
* Licensed under the MIT License.
|
|
@@ -1466,7 +1452,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1466
1452
|
urlParseError: urlParseError
|
|
1467
1453
|
});
|
|
1468
1454
|
|
|
1469
|
-
/*! @azure/msal-common v15.
|
|
1455
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1470
1456
|
|
|
1471
1457
|
/*
|
|
1472
1458
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1604,7 +1590,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
1604
1590
|
return new ClientConfigurationError(errorCode);
|
|
1605
1591
|
}
|
|
1606
1592
|
|
|
1607
|
-
/*! @azure/msal-common v15.
|
|
1593
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1608
1594
|
/*
|
|
1609
1595
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1610
1596
|
* Licensed under the MIT License.
|
|
@@ -1701,7 +1687,7 @@ class StringUtils {
|
|
|
1701
1687
|
}
|
|
1702
1688
|
}
|
|
1703
1689
|
|
|
1704
|
-
/*! @azure/msal-common v15.
|
|
1690
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1705
1691
|
|
|
1706
1692
|
/*
|
|
1707
1693
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1892,7 +1878,7 @@ class ScopeSet {
|
|
|
1892
1878
|
}
|
|
1893
1879
|
}
|
|
1894
1880
|
|
|
1895
|
-
/*! @azure/msal-common v15.
|
|
1881
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1896
1882
|
|
|
1897
1883
|
/*
|
|
1898
1884
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1932,7 +1918,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
1932
1918
|
};
|
|
1933
1919
|
}
|
|
1934
1920
|
|
|
1935
|
-
/*! @azure/msal-common v15.
|
|
1921
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1936
1922
|
/*
|
|
1937
1923
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1938
1924
|
* Licensed under the MIT License.
|
|
@@ -2011,7 +1997,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
2011
1997
|
return updatedAccountInfo;
|
|
2012
1998
|
}
|
|
2013
1999
|
|
|
2014
|
-
/*! @azure/msal-common v15.
|
|
2000
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2015
2001
|
/*
|
|
2016
2002
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2017
2003
|
* Licensed under the MIT License.
|
|
@@ -2026,7 +2012,7 @@ const AuthorityType = {
|
|
|
2026
2012
|
Ciam: 3,
|
|
2027
2013
|
};
|
|
2028
2014
|
|
|
2029
|
-
/*! @azure/msal-common v15.
|
|
2015
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2030
2016
|
/*
|
|
2031
2017
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2032
2018
|
* Licensed under the MIT License.
|
|
@@ -2048,7 +2034,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2048
2034
|
return null;
|
|
2049
2035
|
}
|
|
2050
2036
|
|
|
2051
|
-
/*! @azure/msal-common v15.
|
|
2037
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2052
2038
|
/*
|
|
2053
2039
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2054
2040
|
* Licensed under the MIT License.
|
|
@@ -2072,7 +2058,7 @@ const ProtocolMode = {
|
|
|
2072
2058
|
EAR: "EAR",
|
|
2073
2059
|
};
|
|
2074
2060
|
|
|
2075
|
-
/*! @azure/msal-common v15.
|
|
2061
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2076
2062
|
|
|
2077
2063
|
/*
|
|
2078
2064
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2315,7 +2301,7 @@ class AccountEntity {
|
|
|
2315
2301
|
}
|
|
2316
2302
|
}
|
|
2317
2303
|
|
|
2318
|
-
/*! @azure/msal-common v15.
|
|
2304
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2319
2305
|
|
|
2320
2306
|
/*
|
|
2321
2307
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2380,7 +2366,7 @@ function mapToQueryString(parameters, encodeExtraParams = true, extraQueryParame
|
|
|
2380
2366
|
return queryParameterArray.join("&");
|
|
2381
2367
|
}
|
|
2382
2368
|
|
|
2383
|
-
/*! @azure/msal-common v15.
|
|
2369
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2384
2370
|
|
|
2385
2371
|
/*
|
|
2386
2372
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2544,7 +2530,7 @@ class UrlString {
|
|
|
2544
2530
|
}
|
|
2545
2531
|
}
|
|
2546
2532
|
|
|
2547
|
-
/*! @azure/msal-common v15.
|
|
2533
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2548
2534
|
|
|
2549
2535
|
/*
|
|
2550
2536
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2575,7 +2561,6 @@ const rawMetdataJSON = {
|
|
|
2575
2561
|
},
|
|
2576
2562
|
},
|
|
2577
2563
|
instanceDiscoveryMetadata: {
|
|
2578
|
-
tenant_discovery_endpoint: "https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",
|
|
2579
2564
|
metadata: [
|
|
2580
2565
|
{
|
|
2581
2566
|
preferred_network: "login.microsoftonline.com",
|
|
@@ -2684,42 +2669,60 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2684
2669
|
return null;
|
|
2685
2670
|
}
|
|
2686
2671
|
|
|
2687
|
-
/*! @azure/msal-common v15.
|
|
2672
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2688
2673
|
/*
|
|
2689
2674
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2690
2675
|
* Licensed under the MIT License.
|
|
2691
2676
|
*/
|
|
2692
|
-
const
|
|
2693
|
-
const
|
|
2677
|
+
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2678
|
+
const cacheErrorUnknown = "cache_error_unknown";
|
|
2694
2679
|
|
|
2695
|
-
/*! @azure/msal-common v15.
|
|
2680
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2696
2681
|
|
|
2697
2682
|
/*
|
|
2698
2683
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2699
2684
|
* Licensed under the MIT License.
|
|
2700
2685
|
*/
|
|
2701
2686
|
const CacheErrorMessages = {
|
|
2702
|
-
[
|
|
2703
|
-
[
|
|
2687
|
+
[cacheQuotaExceeded]: "Exceeded cache storage capacity.",
|
|
2688
|
+
[cacheErrorUnknown]: "Unexpected error occurred when using cache storage.",
|
|
2704
2689
|
};
|
|
2705
2690
|
/**
|
|
2706
2691
|
* Error thrown when there is an error with the cache
|
|
2707
2692
|
*/
|
|
2708
|
-
class CacheError extends
|
|
2693
|
+
class CacheError extends AuthError {
|
|
2709
2694
|
constructor(errorCode, errorMessage) {
|
|
2710
2695
|
const message = errorMessage ||
|
|
2711
2696
|
(CacheErrorMessages[errorCode]
|
|
2712
2697
|
? CacheErrorMessages[errorCode]
|
|
2713
|
-
: CacheErrorMessages[
|
|
2698
|
+
: CacheErrorMessages[cacheErrorUnknown]);
|
|
2714
2699
|
super(`${errorCode}: ${message}`);
|
|
2715
2700
|
Object.setPrototypeOf(this, CacheError.prototype);
|
|
2716
2701
|
this.name = "CacheError";
|
|
2717
2702
|
this.errorCode = errorCode;
|
|
2718
2703
|
this.errorMessage = message;
|
|
2719
2704
|
}
|
|
2705
|
+
}
|
|
2706
|
+
/**
|
|
2707
|
+
* Helper function to wrap browser errors in a CacheError object
|
|
2708
|
+
* @param e
|
|
2709
|
+
* @returns
|
|
2710
|
+
*/
|
|
2711
|
+
function createCacheError(e) {
|
|
2712
|
+
if (!(e instanceof Error)) {
|
|
2713
|
+
return new CacheError(cacheErrorUnknown);
|
|
2714
|
+
}
|
|
2715
|
+
if (e.name === "QuotaExceededError" ||
|
|
2716
|
+
e.name === "NS_ERROR_DOM_QUOTA_REACHED" ||
|
|
2717
|
+
e.message.includes("exceeded the quota")) {
|
|
2718
|
+
return new CacheError(cacheQuotaExceeded);
|
|
2719
|
+
}
|
|
2720
|
+
else {
|
|
2721
|
+
return new CacheError(e.name, e.message);
|
|
2722
|
+
}
|
|
2720
2723
|
}
|
|
2721
2724
|
|
|
2722
|
-
/*! @azure/msal-common v15.
|
|
2725
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2723
2726
|
|
|
2724
2727
|
/*
|
|
2725
2728
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2742,14 +2745,14 @@ class CacheManager {
|
|
|
2742
2745
|
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
|
2743
2746
|
* @returns Array of AccountInfo objects in cache
|
|
2744
2747
|
*/
|
|
2745
|
-
getAllAccounts(accountFilter) {
|
|
2746
|
-
return this.buildTenantProfiles(this.getAccountsFilteredBy(accountFilter
|
|
2748
|
+
getAllAccounts(accountFilter, correlationId) {
|
|
2749
|
+
return this.buildTenantProfiles(this.getAccountsFilteredBy(accountFilter, correlationId), correlationId, accountFilter);
|
|
2747
2750
|
}
|
|
2748
2751
|
/**
|
|
2749
2752
|
* Gets first tenanted AccountInfo object found based on provided filters
|
|
2750
2753
|
*/
|
|
2751
|
-
getAccountInfoFilteredBy(accountFilter) {
|
|
2752
|
-
const allAccounts = this.getAllAccounts(accountFilter);
|
|
2754
|
+
getAccountInfoFilteredBy(accountFilter, correlationId) {
|
|
2755
|
+
const allAccounts = this.getAllAccounts(accountFilter, correlationId);
|
|
2753
2756
|
if (allAccounts.length > 1) {
|
|
2754
2757
|
// If one or more accounts are found, prioritize accounts that have an ID token
|
|
2755
2758
|
const sortedAccounts = allAccounts.sort((account) => {
|
|
@@ -2770,8 +2773,8 @@ class CacheManager {
|
|
|
2770
2773
|
* @param accountFilter
|
|
2771
2774
|
* @returns
|
|
2772
2775
|
*/
|
|
2773
|
-
getBaseAccountInfo(accountFilter) {
|
|
2774
|
-
const accountEntities = this.getAccountsFilteredBy(accountFilter);
|
|
2776
|
+
getBaseAccountInfo(accountFilter, correlationId) {
|
|
2777
|
+
const accountEntities = this.getAccountsFilteredBy(accountFilter, correlationId);
|
|
2775
2778
|
if (accountEntities.length > 0) {
|
|
2776
2779
|
return accountEntities[0].getAccountInfo();
|
|
2777
2780
|
}
|
|
@@ -2786,12 +2789,12 @@ class CacheManager {
|
|
|
2786
2789
|
* @param accountFilter
|
|
2787
2790
|
* @returns Array of AccountInfo objects that match account and tenant profile filters
|
|
2788
2791
|
*/
|
|
2789
|
-
buildTenantProfiles(cachedAccounts, accountFilter) {
|
|
2792
|
+
buildTenantProfiles(cachedAccounts, correlationId, accountFilter) {
|
|
2790
2793
|
return cachedAccounts.flatMap((accountEntity) => {
|
|
2791
|
-
return this.getTenantProfilesFromAccountEntity(accountEntity, accountFilter?.tenantId, accountFilter);
|
|
2794
|
+
return this.getTenantProfilesFromAccountEntity(accountEntity, correlationId, accountFilter?.tenantId, accountFilter);
|
|
2792
2795
|
});
|
|
2793
2796
|
}
|
|
2794
|
-
getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, tenantProfileFilter) {
|
|
2797
|
+
getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, correlationId, tenantProfileFilter) {
|
|
2795
2798
|
let tenantedAccountInfo = null;
|
|
2796
2799
|
let idTokenClaims;
|
|
2797
2800
|
if (tenantProfileFilter) {
|
|
@@ -2799,7 +2802,7 @@ class CacheManager {
|
|
|
2799
2802
|
return null;
|
|
2800
2803
|
}
|
|
2801
2804
|
}
|
|
2802
|
-
const idToken = this.getIdToken(accountInfo, tokenKeys, tenantProfile.tenantId);
|
|
2805
|
+
const idToken = this.getIdToken(accountInfo, correlationId, tokenKeys, tenantProfile.tenantId);
|
|
2803
2806
|
if (idToken) {
|
|
2804
2807
|
idTokenClaims = extractTokenClaims(idToken.secret, this.cryptoImpl.base64Decode);
|
|
2805
2808
|
if (!this.idTokenClaimsMatchTenantProfileFilter(idTokenClaims, tenantProfileFilter)) {
|
|
@@ -2811,7 +2814,7 @@ class CacheManager {
|
|
|
2811
2814
|
tenantedAccountInfo = updateAccountTenantProfileData(accountInfo, tenantProfile, idTokenClaims, idToken?.secret);
|
|
2812
2815
|
return tenantedAccountInfo;
|
|
2813
2816
|
}
|
|
2814
|
-
getTenantProfilesFromAccountEntity(accountEntity, targetTenantId, tenantProfileFilter) {
|
|
2817
|
+
getTenantProfilesFromAccountEntity(accountEntity, correlationId, targetTenantId, tenantProfileFilter) {
|
|
2815
2818
|
const accountInfo = accountEntity.getAccountInfo();
|
|
2816
2819
|
let searchTenantProfiles = accountInfo.tenantProfiles || new Map();
|
|
2817
2820
|
const tokenKeys = this.getTokenKeys();
|
|
@@ -2831,7 +2834,7 @@ class CacheManager {
|
|
|
2831
2834
|
}
|
|
2832
2835
|
const matchingTenantProfiles = [];
|
|
2833
2836
|
searchTenantProfiles.forEach((tenantProfile) => {
|
|
2834
|
-
const tenantedAccountInfo = this.getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, tenantProfileFilter);
|
|
2837
|
+
const tenantedAccountInfo = this.getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, correlationId, tenantProfileFilter);
|
|
2835
2838
|
if (tenantedAccountInfo) {
|
|
2836
2839
|
matchingTenantProfiles.push(tenantedAccountInfo);
|
|
2837
2840
|
}
|
|
@@ -2905,26 +2908,16 @@ class CacheManager {
|
|
|
2905
2908
|
await this.setRefreshTokenCredential(cacheRecord.refreshToken, correlationId);
|
|
2906
2909
|
}
|
|
2907
2910
|
if (!!cacheRecord.appMetadata) {
|
|
2908
|
-
this.setAppMetadata(cacheRecord.appMetadata);
|
|
2911
|
+
this.setAppMetadata(cacheRecord.appMetadata, correlationId);
|
|
2909
2912
|
}
|
|
2910
2913
|
}
|
|
2911
2914
|
catch (e) {
|
|
2912
2915
|
this.commonLogger?.error(`CacheManager.saveCacheRecord: failed`);
|
|
2913
|
-
if (e instanceof
|
|
2914
|
-
|
|
2915
|
-
if (e.name === "QuotaExceededError" ||
|
|
2916
|
-
e.name === "NS_ERROR_DOM_QUOTA_REACHED" ||
|
|
2917
|
-
e.message.includes("exceeded the quota")) {
|
|
2918
|
-
this.commonLogger?.error(`CacheManager.saveCacheRecord: exceeded storage quota`, correlationId);
|
|
2919
|
-
throw new CacheError(cacheQuotaExceededErrorCode);
|
|
2920
|
-
}
|
|
2921
|
-
else {
|
|
2922
|
-
throw new CacheError(e.name, e.message);
|
|
2923
|
-
}
|
|
2916
|
+
if (e instanceof AuthError) {
|
|
2917
|
+
throw e;
|
|
2924
2918
|
}
|
|
2925
2919
|
else {
|
|
2926
|
-
|
|
2927
|
-
throw new CacheError(cacheUnknownErrorCode);
|
|
2920
|
+
throw createCacheError(e);
|
|
2928
2921
|
}
|
|
2929
2922
|
}
|
|
2930
2923
|
}
|
|
@@ -2948,7 +2941,7 @@ class CacheManager {
|
|
|
2948
2941
|
if (!this.accessTokenKeyMatchesFilter(key, accessTokenFilter, false)) {
|
|
2949
2942
|
return;
|
|
2950
2943
|
}
|
|
2951
|
-
const tokenEntity = this.getAccessTokenCredential(key);
|
|
2944
|
+
const tokenEntity = this.getAccessTokenCredential(key, correlationId);
|
|
2952
2945
|
if (tokenEntity &&
|
|
2953
2946
|
this.credentialMatchesFilter(tokenEntity, accessTokenFilter)) {
|
|
2954
2947
|
const tokenScopeSet = ScopeSet.fromString(tokenEntity.target);
|
|
@@ -2964,7 +2957,7 @@ class CacheManager {
|
|
|
2964
2957
|
* Not checking for casing as keys are all generated in lower case, remember to convert to lower case if object properties are compared
|
|
2965
2958
|
* @param accountFilter - An object containing Account properties to filter by
|
|
2966
2959
|
*/
|
|
2967
|
-
getAccountsFilteredBy(accountFilter) {
|
|
2960
|
+
getAccountsFilteredBy(accountFilter, correlationId) {
|
|
2968
2961
|
const allAccountKeys = this.getAccountKeys();
|
|
2969
2962
|
const matchingAccounts = [];
|
|
2970
2963
|
allAccountKeys.forEach((cacheKey) => {
|
|
@@ -2972,7 +2965,7 @@ class CacheManager {
|
|
|
2972
2965
|
// Don't parse value if the key doesn't match the account filters
|
|
2973
2966
|
return;
|
|
2974
2967
|
}
|
|
2975
|
-
const entity = this.getAccount(cacheKey,
|
|
2968
|
+
const entity = this.getAccount(cacheKey, correlationId);
|
|
2976
2969
|
// Match base account fields
|
|
2977
2970
|
if (!entity) {
|
|
2978
2971
|
return;
|
|
@@ -3209,12 +3202,12 @@ class CacheManager {
|
|
|
3209
3202
|
* @param account
|
|
3210
3203
|
*/
|
|
3211
3204
|
removeAccount(accountKey, correlationId) {
|
|
3212
|
-
const account = this.getAccount(accountKey,
|
|
3205
|
+
const account = this.getAccount(accountKey, correlationId);
|
|
3213
3206
|
if (!account) {
|
|
3214
3207
|
return;
|
|
3215
3208
|
}
|
|
3216
3209
|
this.removeAccountContext(account, correlationId);
|
|
3217
|
-
this.removeItem(accountKey);
|
|
3210
|
+
this.removeItem(accountKey, correlationId);
|
|
3218
3211
|
}
|
|
3219
3212
|
/**
|
|
3220
3213
|
* Removes credentials associated with the provided account
|
|
@@ -3225,7 +3218,7 @@ class CacheManager {
|
|
|
3225
3218
|
const accountId = account.generateAccountId();
|
|
3226
3219
|
allTokenKeys.idToken.forEach((key) => {
|
|
3227
3220
|
if (key.indexOf(accountId) === 0) {
|
|
3228
|
-
this.removeIdToken(key);
|
|
3221
|
+
this.removeIdToken(key, correlationId);
|
|
3229
3222
|
}
|
|
3230
3223
|
});
|
|
3231
3224
|
allTokenKeys.accessToken.forEach((key) => {
|
|
@@ -3235,45 +3228,43 @@ class CacheManager {
|
|
|
3235
3228
|
});
|
|
3236
3229
|
allTokenKeys.refreshToken.forEach((key) => {
|
|
3237
3230
|
if (key.indexOf(accountId) === 0) {
|
|
3238
|
-
this.removeRefreshToken(key);
|
|
3231
|
+
this.removeRefreshToken(key, correlationId);
|
|
3239
3232
|
}
|
|
3240
3233
|
});
|
|
3241
3234
|
}
|
|
3242
3235
|
/**
|
|
3243
|
-
*
|
|
3244
|
-
* @param
|
|
3236
|
+
* Removes accessToken from the cache
|
|
3237
|
+
* @param key
|
|
3238
|
+
* @param correlationId
|
|
3245
3239
|
*/
|
|
3246
3240
|
removeAccessToken(key, correlationId) {
|
|
3247
|
-
const credential = this.getAccessTokenCredential(key);
|
|
3248
|
-
|
|
3241
|
+
const credential = this.getAccessTokenCredential(key, correlationId);
|
|
3242
|
+
this.removeItem(key, correlationId);
|
|
3243
|
+
this.performanceClient.incrementFields({ accessTokensRemoved: 1 }, correlationId);
|
|
3244
|
+
if (!credential ||
|
|
3245
|
+
credential.credentialType.toLowerCase() !==
|
|
3246
|
+
CredentialType.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase() ||
|
|
3247
|
+
credential.tokenType !== AuthenticationScheme.POP) {
|
|
3248
|
+
// If the credential is not a PoP token, we can return
|
|
3249
3249
|
return;
|
|
3250
3250
|
}
|
|
3251
|
-
this.removeItem(key);
|
|
3252
3251
|
// Remove Token Binding Key from key store for PoP Tokens Credentials
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
void this.cryptoImpl
|
|
3260
|
-
.removeTokenBindingKey(kid)
|
|
3261
|
-
.catch(() => {
|
|
3262
|
-
this.commonLogger.error(`Failed to remove token binding key ${kid}`, correlationId);
|
|
3263
|
-
this.performanceClient?.incrementFields({ removeTokenBindingKeyFailure: 1 }, correlationId);
|
|
3264
|
-
});
|
|
3265
|
-
}
|
|
3266
|
-
}
|
|
3252
|
+
const kid = credential.keyId;
|
|
3253
|
+
if (kid) {
|
|
3254
|
+
void this.cryptoImpl.removeTokenBindingKey(kid).catch(() => {
|
|
3255
|
+
this.commonLogger.error(`Failed to remove token binding key ${kid}`, correlationId);
|
|
3256
|
+
this.performanceClient?.incrementFields({ removeTokenBindingKeyFailure: 1 }, correlationId);
|
|
3257
|
+
});
|
|
3267
3258
|
}
|
|
3268
3259
|
}
|
|
3269
3260
|
/**
|
|
3270
3261
|
* Removes all app metadata objects from cache.
|
|
3271
3262
|
*/
|
|
3272
|
-
removeAppMetadata() {
|
|
3263
|
+
removeAppMetadata(correlationId) {
|
|
3273
3264
|
const allCacheKeys = this.getKeys();
|
|
3274
3265
|
allCacheKeys.forEach((cacheKey) => {
|
|
3275
3266
|
if (this.isAppMetadata(cacheKey)) {
|
|
3276
|
-
this.removeItem(cacheKey);
|
|
3267
|
+
this.removeItem(cacheKey, correlationId);
|
|
3277
3268
|
}
|
|
3278
3269
|
});
|
|
3279
3270
|
return true;
|
|
@@ -3282,9 +3273,9 @@ class CacheManager {
|
|
|
3282
3273
|
* Retrieve AccountEntity from cache
|
|
3283
3274
|
* @param account
|
|
3284
3275
|
*/
|
|
3285
|
-
readAccountFromCache(account) {
|
|
3276
|
+
readAccountFromCache(account, correlationId) {
|
|
3286
3277
|
const accountKey = AccountEntity.generateAccountCacheKey(account);
|
|
3287
|
-
return this.getAccount(accountKey,
|
|
3278
|
+
return this.getAccount(accountKey, correlationId);
|
|
3288
3279
|
}
|
|
3289
3280
|
/**
|
|
3290
3281
|
* Retrieve IdTokenEntity from cache
|
|
@@ -3294,7 +3285,7 @@ class CacheManager {
|
|
|
3294
3285
|
* @param performanceClient {?IPerformanceClient}
|
|
3295
3286
|
* @param correlationId {?string}
|
|
3296
3287
|
*/
|
|
3297
|
-
getIdToken(account, tokenKeys, targetRealm, performanceClient
|
|
3288
|
+
getIdToken(account, correlationId, tokenKeys, targetRealm, performanceClient) {
|
|
3298
3289
|
this.commonLogger.trace("CacheManager - getIdToken called");
|
|
3299
3290
|
const idTokenFilter = {
|
|
3300
3291
|
homeAccountId: account.homeAccountId,
|
|
@@ -3303,7 +3294,7 @@ class CacheManager {
|
|
|
3303
3294
|
clientId: this.clientId,
|
|
3304
3295
|
realm: targetRealm,
|
|
3305
3296
|
};
|
|
3306
|
-
const idTokenMap = this.getIdTokensByFilter(idTokenFilter, tokenKeys);
|
|
3297
|
+
const idTokenMap = this.getIdTokensByFilter(idTokenFilter, correlationId, tokenKeys);
|
|
3307
3298
|
const numIdTokens = idTokenMap.size;
|
|
3308
3299
|
if (numIdTokens < 1) {
|
|
3309
3300
|
this.commonLogger.info("CacheManager:getIdToken - No token found");
|
|
@@ -3336,7 +3327,7 @@ class CacheManager {
|
|
|
3336
3327
|
// Multiple tokens for a single tenant profile, remove all and return null
|
|
3337
3328
|
this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them");
|
|
3338
3329
|
tokensToBeRemoved.forEach((idToken, key) => {
|
|
3339
|
-
this.removeIdToken(key);
|
|
3330
|
+
this.removeIdToken(key, correlationId);
|
|
3340
3331
|
});
|
|
3341
3332
|
if (performanceClient && correlationId) {
|
|
3342
3333
|
performanceClient.addFields({ multiMatchedID: idTokenMap.size }, correlationId);
|
|
@@ -3351,7 +3342,7 @@ class CacheManager {
|
|
|
3351
3342
|
* @param filter
|
|
3352
3343
|
* @returns
|
|
3353
3344
|
*/
|
|
3354
|
-
getIdTokensByFilter(filter, tokenKeys) {
|
|
3345
|
+
getIdTokensByFilter(filter, correlationId, tokenKeys) {
|
|
3355
3346
|
const idTokenKeys = (tokenKeys && tokenKeys.idToken) || this.getTokenKeys().idToken;
|
|
3356
3347
|
const idTokens = new Map();
|
|
3357
3348
|
idTokenKeys.forEach((key) => {
|
|
@@ -3361,7 +3352,7 @@ class CacheManager {
|
|
|
3361
3352
|
})) {
|
|
3362
3353
|
return;
|
|
3363
3354
|
}
|
|
3364
|
-
const idToken = this.getIdTokenCredential(key);
|
|
3355
|
+
const idToken = this.getIdTokenCredential(key, correlationId);
|
|
3365
3356
|
if (idToken && this.credentialMatchesFilter(idToken, filter)) {
|
|
3366
3357
|
idTokens.set(key, idToken);
|
|
3367
3358
|
}
|
|
@@ -3390,20 +3381,21 @@ class CacheManager {
|
|
|
3390
3381
|
* Removes idToken from the cache
|
|
3391
3382
|
* @param key
|
|
3392
3383
|
*/
|
|
3393
|
-
removeIdToken(key) {
|
|
3394
|
-
this.removeItem(key);
|
|
3384
|
+
removeIdToken(key, correlationId) {
|
|
3385
|
+
this.removeItem(key, correlationId);
|
|
3395
3386
|
}
|
|
3396
3387
|
/**
|
|
3397
3388
|
* Removes refresh token from the cache
|
|
3398
3389
|
* @param key
|
|
3399
3390
|
*/
|
|
3400
|
-
removeRefreshToken(key) {
|
|
3401
|
-
this.removeItem(key);
|
|
3391
|
+
removeRefreshToken(key, correlationId) {
|
|
3392
|
+
this.removeItem(key, correlationId);
|
|
3402
3393
|
}
|
|
3403
3394
|
/**
|
|
3404
3395
|
* Retrieve AccessTokenEntity from cache
|
|
3405
3396
|
* @param account {AccountInfo}
|
|
3406
3397
|
* @param request {BaseAuthRequest}
|
|
3398
|
+
* @param correlationId {?string}
|
|
3407
3399
|
* @param tokenKeys {?TokenKeys}
|
|
3408
3400
|
* @param performanceClient {?IPerformanceClient}
|
|
3409
3401
|
*/
|
|
@@ -3438,7 +3430,7 @@ class CacheManager {
|
|
|
3438
3430
|
accessTokenKeys.forEach((key) => {
|
|
3439
3431
|
// Validate key
|
|
3440
3432
|
if (this.accessTokenKeyMatchesFilter(key, accessTokenFilter, true)) {
|
|
3441
|
-
const accessToken = this.getAccessTokenCredential(key);
|
|
3433
|
+
const accessToken = this.getAccessTokenCredential(key, correlationId);
|
|
3442
3434
|
// Validate value
|
|
3443
3435
|
if (accessToken &&
|
|
3444
3436
|
this.credentialMatchesFilter(accessToken, accessTokenFilter)) {
|
|
@@ -3508,14 +3500,14 @@ class CacheManager {
|
|
|
3508
3500
|
* @param filter
|
|
3509
3501
|
* @returns
|
|
3510
3502
|
*/
|
|
3511
|
-
getAccessTokensByFilter(filter) {
|
|
3503
|
+
getAccessTokensByFilter(filter, correlationId) {
|
|
3512
3504
|
const tokenKeys = this.getTokenKeys();
|
|
3513
3505
|
const accessTokens = [];
|
|
3514
3506
|
tokenKeys.accessToken.forEach((key) => {
|
|
3515
3507
|
if (!this.accessTokenKeyMatchesFilter(key, filter, true)) {
|
|
3516
3508
|
return;
|
|
3517
3509
|
}
|
|
3518
|
-
const accessToken = this.getAccessTokenCredential(key);
|
|
3510
|
+
const accessToken = this.getAccessTokenCredential(key, correlationId);
|
|
3519
3511
|
if (accessToken &&
|
|
3520
3512
|
this.credentialMatchesFilter(accessToken, filter)) {
|
|
3521
3513
|
accessTokens.push(accessToken);
|
|
@@ -3527,11 +3519,11 @@ class CacheManager {
|
|
|
3527
3519
|
* Helper to retrieve the appropriate refresh token from cache
|
|
3528
3520
|
* @param account {AccountInfo}
|
|
3529
3521
|
* @param familyRT {boolean}
|
|
3522
|
+
* @param correlationId {?string}
|
|
3530
3523
|
* @param tokenKeys {?TokenKeys}
|
|
3531
3524
|
* @param performanceClient {?IPerformanceClient}
|
|
3532
|
-
* @param correlationId {?string}
|
|
3533
3525
|
*/
|
|
3534
|
-
getRefreshToken(account, familyRT, tokenKeys, performanceClient
|
|
3526
|
+
getRefreshToken(account, familyRT, correlationId, tokenKeys, performanceClient) {
|
|
3535
3527
|
this.commonLogger.trace("CacheManager - getRefreshToken called");
|
|
3536
3528
|
const id = familyRT ? THE_FAMILY_ID : undefined;
|
|
3537
3529
|
const refreshTokenFilter = {
|
|
@@ -3547,7 +3539,7 @@ class CacheManager {
|
|
|
3547
3539
|
refreshTokenKeys.forEach((key) => {
|
|
3548
3540
|
// Validate key
|
|
3549
3541
|
if (this.refreshTokenKeyMatchesFilter(key, refreshTokenFilter)) {
|
|
3550
|
-
const refreshToken = this.getRefreshTokenCredential(key);
|
|
3542
|
+
const refreshToken = this.getRefreshTokenCredential(key, correlationId);
|
|
3551
3543
|
// Validate value
|
|
3552
3544
|
if (refreshToken &&
|
|
3553
3545
|
this.credentialMatchesFilter(refreshToken, refreshTokenFilter)) {
|
|
@@ -3897,7 +3889,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3897
3889
|
}
|
|
3898
3890
|
}
|
|
3899
3891
|
|
|
3900
|
-
/*! @azure/msal-common v15.
|
|
3892
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
3901
3893
|
/*
|
|
3902
3894
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3903
3895
|
* Licensed under the MIT License.
|
|
@@ -4389,7 +4381,6 @@ const PerformanceEventAbbreviations = new Map([
|
|
|
4389
4381
|
* @enum {number}
|
|
4390
4382
|
*/
|
|
4391
4383
|
const PerformanceEventStatus = {
|
|
4392
|
-
NotStarted: 0,
|
|
4393
4384
|
InProgress: 1,
|
|
4394
4385
|
Completed: 2,
|
|
4395
4386
|
};
|
|
@@ -4410,7 +4401,7 @@ const IntFields = new Set([
|
|
|
4410
4401
|
"encryptedCacheExpiredCount",
|
|
4411
4402
|
]);
|
|
4412
4403
|
|
|
4413
|
-
/*! @azure/msal-common v15.
|
|
4404
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
4414
4405
|
|
|
4415
4406
|
/*
|
|
4416
4407
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4489,7 +4480,7 @@ class StubPerformanceClient {
|
|
|
4489
4480
|
}
|
|
4490
4481
|
}
|
|
4491
4482
|
|
|
4492
|
-
/*! @azure/msal-common v15.
|
|
4483
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
4493
4484
|
|
|
4494
4485
|
/*
|
|
4495
4486
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4589,7 +4580,7 @@ function isOidcProtocolMode(config) {
|
|
|
4589
4580
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4590
4581
|
}
|
|
4591
4582
|
|
|
4592
|
-
/*! @azure/msal-common v15.
|
|
4583
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
4593
4584
|
/*
|
|
4594
4585
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4595
4586
|
* Licensed under the MIT License.
|
|
@@ -4599,7 +4590,7 @@ const CcsCredentialType = {
|
|
|
4599
4590
|
UPN: "UPN",
|
|
4600
4591
|
};
|
|
4601
4592
|
|
|
4602
|
-
/*! @azure/msal-common v15.
|
|
4593
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
4603
4594
|
/*
|
|
4604
4595
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4605
4596
|
* Licensed under the MIT License.
|
|
@@ -4649,7 +4640,7 @@ const INSTANCE_AWARE = "instance_aware";
|
|
|
4649
4640
|
const EAR_JWK = "ear_jwk";
|
|
4650
4641
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
4651
4642
|
|
|
4652
|
-
/*! @azure/msal-common v15.
|
|
4643
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
4653
4644
|
|
|
4654
4645
|
/*
|
|
4655
4646
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5017,7 +5008,7 @@ function addEARParameters(parameters, jwk) {
|
|
|
5017
5008
|
parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
|
|
5018
5009
|
}
|
|
5019
5010
|
|
|
5020
|
-
/*! @azure/msal-common v15.
|
|
5011
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
5021
5012
|
/*
|
|
5022
5013
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5023
5014
|
* Licensed under the MIT License.
|
|
@@ -5029,7 +5020,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
5029
5020
|
response.hasOwnProperty("jwks_uri"));
|
|
5030
5021
|
}
|
|
5031
5022
|
|
|
5032
|
-
/*! @azure/msal-common v15.
|
|
5023
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
5033
5024
|
/*
|
|
5034
5025
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5035
5026
|
* Licensed under the MIT License.
|
|
@@ -5039,7 +5030,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
5039
5030
|
response.hasOwnProperty("metadata"));
|
|
5040
5031
|
}
|
|
5041
5032
|
|
|
5042
|
-
/*! @azure/msal-common v15.
|
|
5033
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
5043
5034
|
/*
|
|
5044
5035
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5045
5036
|
* Licensed under the MIT License.
|
|
@@ -5049,7 +5040,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
5049
5040
|
response.hasOwnProperty("error_description"));
|
|
5050
5041
|
}
|
|
5051
5042
|
|
|
5052
|
-
/*! @azure/msal-common v15.
|
|
5043
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
5053
5044
|
/*
|
|
5054
5045
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5055
5046
|
* Licensed under the MIT License.
|
|
@@ -5145,7 +5136,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
5145
5136
|
};
|
|
5146
5137
|
};
|
|
5147
5138
|
|
|
5148
|
-
/*! @azure/msal-common v15.
|
|
5139
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
5149
5140
|
|
|
5150
5141
|
/*
|
|
5151
5142
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5251,7 +5242,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5251
5242
|
},
|
|
5252
5243
|
};
|
|
5253
5244
|
|
|
5254
|
-
/*! @azure/msal-common v15.
|
|
5245
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
5255
5246
|
|
|
5256
5247
|
/*
|
|
5257
5248
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6090,7 +6081,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6090
6081
|
};
|
|
6091
6082
|
}
|
|
6092
6083
|
|
|
6093
|
-
/*! @azure/msal-common v15.
|
|
6084
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6094
6085
|
|
|
6095
6086
|
/*
|
|
6096
6087
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6121,7 +6112,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6121
6112
|
}
|
|
6122
6113
|
}
|
|
6123
6114
|
|
|
6124
|
-
/*! @azure/msal-common v15.
|
|
6115
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6125
6116
|
|
|
6126
6117
|
/*
|
|
6127
6118
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6140,7 +6131,7 @@ class ServerError extends AuthError {
|
|
|
6140
6131
|
}
|
|
6141
6132
|
}
|
|
6142
6133
|
|
|
6143
|
-
/*! @azure/msal-common v15.
|
|
6134
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6144
6135
|
/*
|
|
6145
6136
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6146
6137
|
* Licensed under the MIT License.
|
|
@@ -6161,7 +6152,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
6161
6152
|
};
|
|
6162
6153
|
}
|
|
6163
6154
|
|
|
6164
|
-
/*! @azure/msal-common v15.
|
|
6155
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6165
6156
|
|
|
6166
6157
|
/*
|
|
6167
6158
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6181,12 +6172,12 @@ class ThrottlingUtils {
|
|
|
6181
6172
|
* @param cacheManager
|
|
6182
6173
|
* @param thumbprint
|
|
6183
6174
|
*/
|
|
6184
|
-
static preProcess(cacheManager, thumbprint) {
|
|
6175
|
+
static preProcess(cacheManager, thumbprint, correlationId) {
|
|
6185
6176
|
const key = ThrottlingUtils.generateThrottlingStorageKey(thumbprint);
|
|
6186
6177
|
const value = cacheManager.getThrottlingCache(key);
|
|
6187
6178
|
if (value) {
|
|
6188
6179
|
if (value.throttleTime < Date.now()) {
|
|
6189
|
-
cacheManager.removeItem(key);
|
|
6180
|
+
cacheManager.removeItem(key, correlationId);
|
|
6190
6181
|
return;
|
|
6191
6182
|
}
|
|
6192
6183
|
throw new ServerError(value.errorCodes?.join(" ") || Constants.EMPTY_STRING, value.errorMessage, value.subError);
|
|
@@ -6198,7 +6189,7 @@ class ThrottlingUtils {
|
|
|
6198
6189
|
* @param thumbprint
|
|
6199
6190
|
* @param response
|
|
6200
6191
|
*/
|
|
6201
|
-
static postProcess(cacheManager, thumbprint, response) {
|
|
6192
|
+
static postProcess(cacheManager, thumbprint, response, correlationId) {
|
|
6202
6193
|
if (ThrottlingUtils.checkResponseStatus(response) ||
|
|
6203
6194
|
ThrottlingUtils.checkResponseForRetryAfter(response)) {
|
|
6204
6195
|
const thumbprintValue = {
|
|
@@ -6208,7 +6199,7 @@ class ThrottlingUtils {
|
|
|
6208
6199
|
errorMessage: response.body.error_description,
|
|
6209
6200
|
subError: response.body.suberror,
|
|
6210
6201
|
};
|
|
6211
|
-
cacheManager.setThrottlingCache(ThrottlingUtils.generateThrottlingStorageKey(thumbprint), thumbprintValue);
|
|
6202
|
+
cacheManager.setThrottlingCache(ThrottlingUtils.generateThrottlingStorageKey(thumbprint), thumbprintValue, correlationId);
|
|
6212
6203
|
}
|
|
6213
6204
|
}
|
|
6214
6205
|
/**
|
|
@@ -6244,11 +6235,11 @@ class ThrottlingUtils {
|
|
|
6244
6235
|
static removeThrottle(cacheManager, clientId, request, homeAccountIdentifier) {
|
|
6245
6236
|
const thumbprint = getRequestThumbprint(clientId, request, homeAccountIdentifier);
|
|
6246
6237
|
const key = this.generateThrottlingStorageKey(thumbprint);
|
|
6247
|
-
cacheManager.removeItem(key);
|
|
6238
|
+
cacheManager.removeItem(key, request.correlationId);
|
|
6248
6239
|
}
|
|
6249
6240
|
}
|
|
6250
6241
|
|
|
6251
|
-
/*! @azure/msal-common v15.
|
|
6242
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6252
6243
|
|
|
6253
6244
|
/*
|
|
6254
6245
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6279,7 +6270,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
6279
6270
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6280
6271
|
}
|
|
6281
6272
|
|
|
6282
|
-
/*! @azure/msal-common v15.
|
|
6273
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6283
6274
|
|
|
6284
6275
|
/*
|
|
6285
6276
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6361,7 +6352,7 @@ class BaseClient {
|
|
|
6361
6352
|
* @param correlationId - CorrelationId for telemetry
|
|
6362
6353
|
*/
|
|
6363
6354
|
async sendPostRequest(thumbprint, tokenEndpoint, options, correlationId) {
|
|
6364
|
-
ThrottlingUtils.preProcess(this.cacheManager, thumbprint);
|
|
6355
|
+
ThrottlingUtils.preProcess(this.cacheManager, thumbprint, correlationId);
|
|
6365
6356
|
let response;
|
|
6366
6357
|
try {
|
|
6367
6358
|
response = await invokeAsync((this.networkClient.sendPostRequestAsync.bind(this.networkClient)), PerformanceEvents.NetworkClientSendPostRequestAsync, this.logger, this.performanceClient, correlationId)(tokenEndpoint, options);
|
|
@@ -6396,7 +6387,7 @@ class BaseClient {
|
|
|
6396
6387
|
throw createClientAuthError(networkError);
|
|
6397
6388
|
}
|
|
6398
6389
|
}
|
|
6399
|
-
ThrottlingUtils.postProcess(this.cacheManager, thumbprint, response);
|
|
6390
|
+
ThrottlingUtils.postProcess(this.cacheManager, thumbprint, response, correlationId);
|
|
6400
6391
|
return response;
|
|
6401
6392
|
}
|
|
6402
6393
|
/**
|
|
@@ -6427,7 +6418,7 @@ class BaseClient {
|
|
|
6427
6418
|
}
|
|
6428
6419
|
}
|
|
6429
6420
|
|
|
6430
|
-
/*! @azure/msal-common v15.
|
|
6421
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6431
6422
|
/*
|
|
6432
6423
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6433
6424
|
* Licensed under the MIT License.
|
|
@@ -6455,7 +6446,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6455
6446
|
uxNotAllowed: uxNotAllowed
|
|
6456
6447
|
});
|
|
6457
6448
|
|
|
6458
|
-
/*! @azure/msal-common v15.
|
|
6449
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6459
6450
|
|
|
6460
6451
|
/*
|
|
6461
6452
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6545,7 +6536,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
6545
6536
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6546
6537
|
}
|
|
6547
6538
|
|
|
6548
|
-
/*! @azure/msal-common v15.
|
|
6539
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6549
6540
|
|
|
6550
6541
|
/*
|
|
6551
6542
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6617,16 +6608,14 @@ class ProtocolUtils {
|
|
|
6617
6608
|
}
|
|
6618
6609
|
}
|
|
6619
6610
|
|
|
6620
|
-
/*! @azure/msal-common v15.
|
|
6611
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6621
6612
|
|
|
6622
6613
|
/*
|
|
6623
6614
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6624
6615
|
* Licensed under the MIT License.
|
|
6625
6616
|
*/
|
|
6626
6617
|
const KeyLocation = {
|
|
6627
|
-
SW: "sw"
|
|
6628
|
-
UHW: "uhw",
|
|
6629
|
-
};
|
|
6618
|
+
SW: "sw"};
|
|
6630
6619
|
/** @internal */
|
|
6631
6620
|
class PopTokenGenerator {
|
|
6632
6621
|
constructor(cryptoUtils, performanceClient) {
|
|
@@ -6701,7 +6690,7 @@ class PopTokenGenerator {
|
|
|
6701
6690
|
}
|
|
6702
6691
|
}
|
|
6703
6692
|
|
|
6704
|
-
/*! @azure/msal-common v15.
|
|
6693
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6705
6694
|
/*
|
|
6706
6695
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6707
6696
|
* Licensed under the MIT License.
|
|
@@ -6728,7 +6717,7 @@ class PopTokenGenerator {
|
|
|
6728
6717
|
}
|
|
6729
6718
|
}
|
|
6730
6719
|
|
|
6731
|
-
/*! @azure/msal-common v15.
|
|
6720
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6732
6721
|
|
|
6733
6722
|
/*
|
|
6734
6723
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6841,7 +6830,7 @@ class ResponseHandler {
|
|
|
6841
6830
|
!forceCacheRefreshTokenResponse &&
|
|
6842
6831
|
cacheRecord.account) {
|
|
6843
6832
|
const key = cacheRecord.account.generateAccountKey();
|
|
6844
|
-
const account = this.cacheStorage.getAccount(key);
|
|
6833
|
+
const account = this.cacheStorage.getAccount(key, request.correlationId);
|
|
6845
6834
|
if (!account) {
|
|
6846
6835
|
this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache");
|
|
6847
6836
|
return await ResponseHandler.generateAuthenticationResult(this.cryptoObj, authority, cacheRecord, false, request, idTokenClaims, requestStateObj, undefined, serverRequestId);
|
|
@@ -6876,7 +6865,7 @@ class ResponseHandler {
|
|
|
6876
6865
|
let cachedAccount;
|
|
6877
6866
|
if (serverTokenResponse.id_token && !!idTokenClaims) {
|
|
6878
6867
|
cachedIdToken = createIdTokenEntity(this.homeAccountIdentifier, env, serverTokenResponse.id_token, this.clientId, claimsTenantId || "");
|
|
6879
|
-
cachedAccount = buildAccountToCache(this.cacheStorage, authority, this.homeAccountIdentifier, this.cryptoObj.base64Decode, idTokenClaims, serverTokenResponse.client_info, env, claimsTenantId, authCodePayload, undefined, // nativeAccountId
|
|
6868
|
+
cachedAccount = buildAccountToCache(this.cacheStorage, authority, this.homeAccountIdentifier, this.cryptoObj.base64Decode, request.correlationId, idTokenClaims, serverTokenResponse.client_info, env, claimsTenantId, authCodePayload, undefined, // nativeAccountId
|
|
6880
6869
|
this.logger);
|
|
6881
6870
|
}
|
|
6882
6871
|
// AccessToken
|
|
@@ -7025,7 +7014,7 @@ class ResponseHandler {
|
|
|
7025
7014
|
};
|
|
7026
7015
|
}
|
|
7027
7016
|
}
|
|
7028
|
-
function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decode, idTokenClaims, clientInfo, environment, claimsTenantId, authCodePayload, nativeAccountId, logger) {
|
|
7017
|
+
function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, environment, claimsTenantId, authCodePayload, nativeAccountId, logger) {
|
|
7029
7018
|
logger?.verbose("setCachedAccount called");
|
|
7030
7019
|
// Check if base account is already cached
|
|
7031
7020
|
const accountKeys = cacheStorage.getAccountKeys();
|
|
@@ -7034,7 +7023,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
7034
7023
|
});
|
|
7035
7024
|
let cachedAccount = null;
|
|
7036
7025
|
if (baseAccountKey) {
|
|
7037
|
-
cachedAccount = cacheStorage.getAccount(baseAccountKey);
|
|
7026
|
+
cachedAccount = cacheStorage.getAccount(baseAccountKey, correlationId);
|
|
7038
7027
|
}
|
|
7039
7028
|
const baseAccount = cachedAccount ||
|
|
7040
7029
|
AccountEntity.createAccount({
|
|
@@ -7059,7 +7048,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
7059
7048
|
return baseAccount;
|
|
7060
7049
|
}
|
|
7061
7050
|
|
|
7062
|
-
/*! @azure/msal-common v15.
|
|
7051
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7063
7052
|
|
|
7064
7053
|
/*
|
|
7065
7054
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7126,7 +7115,7 @@ class RequestValidator {
|
|
|
7126
7115
|
}
|
|
7127
7116
|
}
|
|
7128
7117
|
|
|
7129
|
-
/*! @azure/msal-common v15.
|
|
7118
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7130
7119
|
/*
|
|
7131
7120
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7132
7121
|
* Licensed under the MIT License.
|
|
@@ -7144,7 +7133,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
7144
7133
|
}
|
|
7145
7134
|
}
|
|
7146
7135
|
|
|
7147
|
-
/*! @azure/msal-common v15.
|
|
7136
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7148
7137
|
|
|
7149
7138
|
/*
|
|
7150
7139
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7377,7 +7366,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7377
7366
|
}
|
|
7378
7367
|
}
|
|
7379
7368
|
|
|
7380
|
-
/*! @azure/msal-common v15.
|
|
7369
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7381
7370
|
|
|
7382
7371
|
/*
|
|
7383
7372
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7450,7 +7439,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7450
7439
|
async acquireTokenWithCachedRefreshToken(request, foci) {
|
|
7451
7440
|
this.performanceClient?.addQueueMeasurement(PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken, request.correlationId);
|
|
7452
7441
|
// fetches family RT or application RT based on FOCI value
|
|
7453
|
-
const refreshToken = invoke(this.cacheManager.getRefreshToken.bind(this.cacheManager), PerformanceEvents.CacheManagerGetRefreshToken, this.logger, this.performanceClient, request.correlationId)(request.account, foci, undefined, this.performanceClient
|
|
7442
|
+
const refreshToken = invoke(this.cacheManager.getRefreshToken.bind(this.cacheManager), PerformanceEvents.CacheManagerGetRefreshToken, this.logger, this.performanceClient, request.correlationId)(request.account, foci, request.correlationId, undefined, this.performanceClient);
|
|
7454
7443
|
if (!refreshToken) {
|
|
7455
7444
|
throw createInteractionRequiredAuthError(noTokensFound);
|
|
7456
7445
|
}
|
|
@@ -7480,7 +7469,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7480
7469
|
// Remove bad refresh token from cache
|
|
7481
7470
|
this.logger.verbose("acquireTokenWithRefreshToken: bad refresh token, removing from cache");
|
|
7482
7471
|
const badRefreshTokenKey = generateCredentialKey(refreshToken);
|
|
7483
|
-
this.cacheManager.removeRefreshToken(badRefreshTokenKey);
|
|
7472
|
+
this.cacheManager.removeRefreshToken(badRefreshTokenKey, request.correlationId);
|
|
7484
7473
|
}
|
|
7485
7474
|
}
|
|
7486
7475
|
throw e;
|
|
@@ -7586,7 +7575,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7586
7575
|
}
|
|
7587
7576
|
}
|
|
7588
7577
|
|
|
7589
|
-
/*! @azure/msal-common v15.
|
|
7578
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7590
7579
|
|
|
7591
7580
|
/*
|
|
7592
7581
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7638,9 +7627,9 @@ class SilentFlowClient extends BaseClient {
|
|
|
7638
7627
|
}
|
|
7639
7628
|
const environment = request.authority || this.authority.getPreferredCache();
|
|
7640
7629
|
const cacheRecord = {
|
|
7641
|
-
account: this.cacheManager.readAccountFromCache(request.account),
|
|
7630
|
+
account: this.cacheManager.readAccountFromCache(request.account, request.correlationId),
|
|
7642
7631
|
accessToken: cachedAccessToken,
|
|
7643
|
-
idToken: this.cacheManager.getIdToken(request.account, tokenKeys, requestTenantId, this.performanceClient
|
|
7632
|
+
idToken: this.cacheManager.getIdToken(request.account, request.correlationId, tokenKeys, requestTenantId, this.performanceClient),
|
|
7644
7633
|
refreshToken: null,
|
|
7645
7634
|
appMetadata: this.cacheManager.readAppMetadataFromCache(environment),
|
|
7646
7635
|
};
|
|
@@ -7684,7 +7673,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
7684
7673
|
}
|
|
7685
7674
|
}
|
|
7686
7675
|
|
|
7687
|
-
/*! @azure/msal-common v15.
|
|
7676
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7688
7677
|
|
|
7689
7678
|
/*
|
|
7690
7679
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7699,7 +7688,7 @@ const StubbedNetworkModule = {
|
|
|
7699
7688
|
},
|
|
7700
7689
|
};
|
|
7701
7690
|
|
|
7702
|
-
/*! @azure/msal-common v15.
|
|
7691
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7703
7692
|
|
|
7704
7693
|
/*
|
|
7705
7694
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7923,7 +7912,7 @@ function extractLoginHint(account) {
|
|
|
7923
7912
|
return account.idTokenClaims?.login_hint || null;
|
|
7924
7913
|
}
|
|
7925
7914
|
|
|
7926
|
-
/*! @azure/msal-common v15.
|
|
7915
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7927
7916
|
|
|
7928
7917
|
/*
|
|
7929
7918
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7981,7 +7970,7 @@ class AuthenticationHeaderParser {
|
|
|
7981
7970
|
}
|
|
7982
7971
|
}
|
|
7983
7972
|
|
|
7984
|
-
/*! @azure/msal-common v15.
|
|
7973
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7985
7974
|
|
|
7986
7975
|
/*
|
|
7987
7976
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8120,7 +8109,7 @@ class ServerTelemetryManager {
|
|
|
8120
8109
|
else {
|
|
8121
8110
|
lastRequests.errors.push(SERVER_TELEM_CONSTANTS.UNKNOWN_ERROR);
|
|
8122
8111
|
}
|
|
8123
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8112
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8124
8113
|
return;
|
|
8125
8114
|
}
|
|
8126
8115
|
/**
|
|
@@ -8129,7 +8118,7 @@ class ServerTelemetryManager {
|
|
|
8129
8118
|
incrementCacheHits() {
|
|
8130
8119
|
const lastRequests = this.getLastRequests();
|
|
8131
8120
|
lastRequests.cacheHits += 1;
|
|
8132
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8121
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8133
8122
|
return lastRequests.cacheHits;
|
|
8134
8123
|
}
|
|
8135
8124
|
/**
|
|
@@ -8153,7 +8142,7 @@ class ServerTelemetryManager {
|
|
|
8153
8142
|
const errorCount = lastRequests.errors.length;
|
|
8154
8143
|
if (numErrorsFlushed === errorCount) {
|
|
8155
8144
|
// All errors were sent on last request, clear Telemetry cache
|
|
8156
|
-
this.cacheManager.removeItem(this.telemetryCacheKey);
|
|
8145
|
+
this.cacheManager.removeItem(this.telemetryCacheKey, this.correlationId);
|
|
8157
8146
|
}
|
|
8158
8147
|
else {
|
|
8159
8148
|
// Partial data was flushed to server, construct a new telemetry cache item with errors that were not flushed
|
|
@@ -8162,7 +8151,7 @@ class ServerTelemetryManager {
|
|
|
8162
8151
|
errors: lastRequests.errors.slice(numErrorsFlushed),
|
|
8163
8152
|
cacheHits: 0,
|
|
8164
8153
|
};
|
|
8165
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, serverTelemEntity);
|
|
8154
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, serverTelemEntity, this.correlationId);
|
|
8166
8155
|
}
|
|
8167
8156
|
}
|
|
8168
8157
|
/**
|
|
@@ -8229,7 +8218,7 @@ class ServerTelemetryManager {
|
|
|
8229
8218
|
setNativeBrokerErrorCode(errorCode) {
|
|
8230
8219
|
const lastRequests = this.getLastRequests();
|
|
8231
8220
|
lastRequests.nativeBrokerErrorCode = errorCode;
|
|
8232
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8221
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8233
8222
|
}
|
|
8234
8223
|
getNativeBrokerErrorCode() {
|
|
8235
8224
|
return this.getLastRequests().nativeBrokerErrorCode;
|
|
@@ -8237,14 +8226,14 @@ class ServerTelemetryManager {
|
|
|
8237
8226
|
clearNativeBrokerErrorCode() {
|
|
8238
8227
|
const lastRequests = this.getLastRequests();
|
|
8239
8228
|
delete lastRequests.nativeBrokerErrorCode;
|
|
8240
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8229
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8241
8230
|
}
|
|
8242
8231
|
static makeExtraSkuString(params) {
|
|
8243
8232
|
return makeExtraSkuString(params);
|
|
8244
8233
|
}
|
|
8245
8234
|
}
|
|
8246
8235
|
|
|
8247
|
-
/*! @azure/msal-common v15.
|
|
8236
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
8248
8237
|
/*
|
|
8249
8238
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8250
8239
|
* Licensed under the MIT License.
|
|
@@ -8252,7 +8241,7 @@ class ServerTelemetryManager {
|
|
|
8252
8241
|
const missingKidError = "missing_kid_error";
|
|
8253
8242
|
const missingAlgError = "missing_alg_error";
|
|
8254
8243
|
|
|
8255
|
-
/*! @azure/msal-common v15.
|
|
8244
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
8256
8245
|
|
|
8257
8246
|
/*
|
|
8258
8247
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8277,7 +8266,7 @@ function createJoseHeaderError(code) {
|
|
|
8277
8266
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8278
8267
|
}
|
|
8279
8268
|
|
|
8280
|
-
/*! @azure/msal-common v15.
|
|
8269
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
8281
8270
|
|
|
8282
8271
|
/*
|
|
8283
8272
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8317,7 +8306,7 @@ class JoseHeader {
|
|
|
8317
8306
|
}
|
|
8318
8307
|
}
|
|
8319
8308
|
|
|
8320
|
-
/*! @azure/msal-common v15.
|
|
8309
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
8321
8310
|
|
|
8322
8311
|
/*
|
|
8323
8312
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8979,7 +8968,8 @@ const invalidBase64String = "invalid_base64_string";
|
|
|
8979
8968
|
const invalidPopTokenRequest = "invalid_pop_token_request";
|
|
8980
8969
|
const failedToBuildHeaders = "failed_to_build_headers";
|
|
8981
8970
|
const failedToParseHeaders = "failed_to_parse_headers";
|
|
8982
|
-
const failedToDecryptEarResponse = "failed_to_decrypt_ear_response";
|
|
8971
|
+
const failedToDecryptEarResponse = "failed_to_decrypt_ear_response";
|
|
8972
|
+
const timedOut = "timed_out";
|
|
8983
8973
|
|
|
8984
8974
|
var BrowserAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
8985
8975
|
__proto__: null,
|
|
@@ -9027,6 +9017,7 @@ var BrowserAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
9027
9017
|
silentPromptValueError: silentPromptValueError,
|
|
9028
9018
|
spaCodeAndNativeAccountIdPresent: spaCodeAndNativeAccountIdPresent,
|
|
9029
9019
|
stateInteractionTypeMismatch: stateInteractionTypeMismatch,
|
|
9020
|
+
timedOut: timedOut,
|
|
9030
9021
|
unableToAcquireTokenFromNativePlatform: unableToAcquireTokenFromNativePlatform,
|
|
9031
9022
|
unableToLoadToken: unableToLoadToken,
|
|
9032
9023
|
unableToParseState: unableToParseState,
|
|
@@ -9094,6 +9085,7 @@ const BrowserAuthErrorMessages = {
|
|
|
9094
9085
|
[failedToBuildHeaders]: "Failed to build request headers object.",
|
|
9095
9086
|
[failedToParseHeaders]: "Failed to parse response headers",
|
|
9096
9087
|
[failedToDecryptEarResponse]: "Failed to decrypt ear response",
|
|
9088
|
+
[timedOut]: "The request timed out.",
|
|
9097
9089
|
};
|
|
9098
9090
|
/**
|
|
9099
9091
|
* BrowserAuthErrorMessage class containing string constants used by error codes and messages.
|
|
@@ -9307,10 +9299,6 @@ function createBrowserAuthError(errorCode, subError) {
|
|
|
9307
9299
|
* Constants
|
|
9308
9300
|
*/
|
|
9309
9301
|
const BrowserConstants = {
|
|
9310
|
-
/**
|
|
9311
|
-
* Interaction in progress cache value
|
|
9312
|
-
*/
|
|
9313
|
-
INTERACTION_IN_PROGRESS_VALUE: "interaction_in_progress",
|
|
9314
9302
|
/**
|
|
9315
9303
|
* Invalid grant error code
|
|
9316
9304
|
*/
|
|
@@ -10162,9 +10150,9 @@ class NavigationClient {
|
|
|
10162
10150
|
else {
|
|
10163
10151
|
window.location.assign(url); // CodeQL [SM03712] Application owner controls the URL. User can't change it.
|
|
10164
10152
|
}
|
|
10165
|
-
return new Promise((resolve) => {
|
|
10153
|
+
return new Promise((resolve, reject) => {
|
|
10166
10154
|
setTimeout(() => {
|
|
10167
|
-
|
|
10155
|
+
reject(createBrowserAuthError(timedOut, "failed_to_redirect"));
|
|
10168
10156
|
}, options.timeout);
|
|
10169
10157
|
});
|
|
10170
10158
|
}
|
|
@@ -10422,7 +10410,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
|
|
|
10422
10410
|
|
|
10423
10411
|
/* eslint-disable header/header */
|
|
10424
10412
|
const name = "@azure/msal-browser";
|
|
10425
|
-
const version = "4.
|
|
10413
|
+
const version = "4.14.0";
|
|
10426
10414
|
|
|
10427
10415
|
/*
|
|
10428
10416
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -11535,7 +11523,7 @@ class LocalStorage {
|
|
|
11535
11523
|
setItem(key, value) {
|
|
11536
11524
|
window.localStorage.setItem(key, value);
|
|
11537
11525
|
}
|
|
11538
|
-
async setUserData(key, value, correlationId) {
|
|
11526
|
+
async setUserData(key, value, correlationId, timestamp) {
|
|
11539
11527
|
if (!this.initialized || !this.encryptionCookie) {
|
|
11540
11528
|
throw createBrowserAuthError(uninitializedPublicClientApplication);
|
|
11541
11529
|
}
|
|
@@ -11544,6 +11532,7 @@ class LocalStorage {
|
|
|
11544
11532
|
id: this.encryptionCookie.id,
|
|
11545
11533
|
nonce: nonce,
|
|
11546
11534
|
data: data,
|
|
11535
|
+
lastUpdatedAt: timestamp,
|
|
11547
11536
|
};
|
|
11548
11537
|
this.memoryStorage.setItem(key, value);
|
|
11549
11538
|
this.setItem(key, JSON.stringify(encryptedData));
|
|
@@ -11813,7 +11802,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11813
11802
|
this.performanceClient.addFields({ previousLibraryVersion: previousVersion }, correlationId);
|
|
11814
11803
|
}
|
|
11815
11804
|
if (previousVersion !== version) {
|
|
11816
|
-
this.
|
|
11805
|
+
this.setItem(StaticCacheKeys.VERSION, version, correlationId);
|
|
11817
11806
|
}
|
|
11818
11807
|
}
|
|
11819
11808
|
/**
|
|
@@ -11837,22 +11826,111 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11837
11826
|
return null;
|
|
11838
11827
|
}
|
|
11839
11828
|
}
|
|
11829
|
+
/**
|
|
11830
|
+
* Helper to setItem in browser storage, with cleanup in case of quota errors
|
|
11831
|
+
* @param key
|
|
11832
|
+
* @param value
|
|
11833
|
+
*/
|
|
11834
|
+
setItem(key, value, correlationId) {
|
|
11835
|
+
let accessTokenKeys = [];
|
|
11836
|
+
const maxRetries = 20;
|
|
11837
|
+
for (let i = 0; i <= maxRetries; i++) {
|
|
11838
|
+
try {
|
|
11839
|
+
this.browserStorage.setItem(key, value);
|
|
11840
|
+
if (i > 0) {
|
|
11841
|
+
// Finally update the token keys array with the tokens removed
|
|
11842
|
+
this.removeAccessTokenKeys(accessTokenKeys.slice(0, i), correlationId);
|
|
11843
|
+
}
|
|
11844
|
+
break; // If setItem succeeds, exit the loop
|
|
11845
|
+
}
|
|
11846
|
+
catch (e) {
|
|
11847
|
+
const cacheError = createCacheError(e);
|
|
11848
|
+
if (cacheError.errorCode ===
|
|
11849
|
+
cacheQuotaExceeded &&
|
|
11850
|
+
i < maxRetries) {
|
|
11851
|
+
if (!accessTokenKeys.length) {
|
|
11852
|
+
if (key ===
|
|
11853
|
+
`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`) {
|
|
11854
|
+
// If we are currently trying to set the token keys, use the value we're trying to set
|
|
11855
|
+
accessTokenKeys = JSON.parse(value)
|
|
11856
|
+
.accessToken;
|
|
11857
|
+
}
|
|
11858
|
+
else {
|
|
11859
|
+
// If token keys have not been initialized, get them
|
|
11860
|
+
accessTokenKeys = this.getTokenKeys().accessToken;
|
|
11861
|
+
}
|
|
11862
|
+
}
|
|
11863
|
+
if (accessTokenKeys.length <= i) {
|
|
11864
|
+
// Nothing to remove, rethrow the error
|
|
11865
|
+
throw cacheError;
|
|
11866
|
+
}
|
|
11867
|
+
// When cache quota is exceeded, start removing access tokens until we can successfully set the item
|
|
11868
|
+
this.removeAccessToken(accessTokenKeys[i], correlationId, false // Don't save token keys yet, do it at the end
|
|
11869
|
+
);
|
|
11870
|
+
}
|
|
11871
|
+
else {
|
|
11872
|
+
// If the error is not a quota exceeded error, rethrow it
|
|
11873
|
+
throw cacheError;
|
|
11874
|
+
}
|
|
11875
|
+
}
|
|
11876
|
+
}
|
|
11877
|
+
}
|
|
11878
|
+
/**
|
|
11879
|
+
* Helper to setUserData in browser storage, with cleanup in case of quota errors
|
|
11880
|
+
* @param key
|
|
11881
|
+
* @param value
|
|
11882
|
+
* @param correlationId
|
|
11883
|
+
*/
|
|
11884
|
+
async setUserData(key, value, correlationId, timestamp) {
|
|
11885
|
+
let accessTokenKeys = [];
|
|
11886
|
+
const maxRetries = 20;
|
|
11887
|
+
for (let i = 0; i <= maxRetries; i++) {
|
|
11888
|
+
try {
|
|
11889
|
+
await invokeAsync(this.browserStorage.setUserData.bind(this.browserStorage), PerformanceEvents.SetUserData, this.logger, this.performanceClient)(key, value, correlationId, timestamp);
|
|
11890
|
+
if (i > 0) {
|
|
11891
|
+
// Finally update the token keys array with the tokens removed
|
|
11892
|
+
this.removeAccessTokenKeys(accessTokenKeys.slice(0, i), correlationId);
|
|
11893
|
+
}
|
|
11894
|
+
break; // If setItem succeeds, exit the loop
|
|
11895
|
+
}
|
|
11896
|
+
catch (e) {
|
|
11897
|
+
const cacheError = createCacheError(e);
|
|
11898
|
+
if (cacheError.errorCode ===
|
|
11899
|
+
cacheQuotaExceeded &&
|
|
11900
|
+
i < maxRetries) {
|
|
11901
|
+
if (!accessTokenKeys.length) {
|
|
11902
|
+
accessTokenKeys = this.getTokenKeys().accessToken;
|
|
11903
|
+
}
|
|
11904
|
+
if (accessTokenKeys.length <= i) {
|
|
11905
|
+
// Nothing left to remove, rethrow the error
|
|
11906
|
+
throw cacheError;
|
|
11907
|
+
}
|
|
11908
|
+
// When cache quota is exceeded, start removing access tokens until we can successfully set the item
|
|
11909
|
+
this.removeAccessToken(accessTokenKeys[i], correlationId, false // Don't save token keys yet, do it at the end
|
|
11910
|
+
);
|
|
11911
|
+
}
|
|
11912
|
+
else {
|
|
11913
|
+
// If the error is not a quota exceeded error, rethrow it
|
|
11914
|
+
throw cacheError;
|
|
11915
|
+
}
|
|
11916
|
+
}
|
|
11917
|
+
}
|
|
11918
|
+
}
|
|
11840
11919
|
/**
|
|
11841
11920
|
* Reads account from cache, deserializes it into an account entity and returns it.
|
|
11842
11921
|
* If account is not found from the key, returns null and removes key from map.
|
|
11843
11922
|
* @param accountKey
|
|
11844
11923
|
* @returns
|
|
11845
11924
|
*/
|
|
11846
|
-
getAccount(accountKey) {
|
|
11925
|
+
getAccount(accountKey, correlationId) {
|
|
11847
11926
|
this.logger.trace("BrowserCacheManager.getAccount called");
|
|
11848
11927
|
const serializedAccount = this.browserStorage.getUserData(accountKey);
|
|
11849
11928
|
if (!serializedAccount) {
|
|
11850
|
-
this.removeAccountKeyFromMap(accountKey);
|
|
11929
|
+
this.removeAccountKeyFromMap(accountKey, correlationId);
|
|
11851
11930
|
return null;
|
|
11852
11931
|
}
|
|
11853
11932
|
const parsedAccount = this.validateAndParseJson(serializedAccount);
|
|
11854
11933
|
if (!parsedAccount || !AccountEntity.isAccountEntity(parsedAccount)) {
|
|
11855
|
-
this.removeAccountKeyFromMap(accountKey);
|
|
11856
11934
|
return null;
|
|
11857
11935
|
}
|
|
11858
11936
|
return CacheManager.toObject(new AccountEntity(), parsedAccount);
|
|
@@ -11864,8 +11942,10 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11864
11942
|
async setAccount(account, correlationId) {
|
|
11865
11943
|
this.logger.trace("BrowserCacheManager.setAccount called");
|
|
11866
11944
|
const key = account.generateAccountKey();
|
|
11867
|
-
|
|
11868
|
-
|
|
11945
|
+
const timestamp = Date.now().toString();
|
|
11946
|
+
account.lastUpdatedAt = timestamp;
|
|
11947
|
+
await this.setUserData(key, JSON.stringify(account), correlationId, timestamp);
|
|
11948
|
+
const wasAdded = this.addAccountKeyToMap(key, correlationId);
|
|
11869
11949
|
/**
|
|
11870
11950
|
* @deprecated - Remove this in next major version in favor of more consistent LOGIN event
|
|
11871
11951
|
*/
|
|
@@ -11886,14 +11966,14 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11886
11966
|
* Add a new account to the key map
|
|
11887
11967
|
* @param key
|
|
11888
11968
|
*/
|
|
11889
|
-
addAccountKeyToMap(key) {
|
|
11969
|
+
addAccountKeyToMap(key, correlationId) {
|
|
11890
11970
|
this.logger.trace("BrowserCacheManager.addAccountKeyToMap called");
|
|
11891
11971
|
this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: ${key}`);
|
|
11892
11972
|
const accountKeys = this.getAccountKeys();
|
|
11893
11973
|
if (accountKeys.indexOf(key) === -1) {
|
|
11894
11974
|
// Only add key if it does not already exist in the map
|
|
11895
11975
|
accountKeys.push(key);
|
|
11896
|
-
this.
|
|
11976
|
+
this.setItem(StaticCacheKeys.ACCOUNT_KEYS, JSON.stringify(accountKeys), correlationId);
|
|
11897
11977
|
this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added");
|
|
11898
11978
|
return true;
|
|
11899
11979
|
}
|
|
@@ -11906,14 +11986,21 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11906
11986
|
* Remove an account from the key map
|
|
11907
11987
|
* @param key
|
|
11908
11988
|
*/
|
|
11909
|
-
removeAccountKeyFromMap(key) {
|
|
11989
|
+
removeAccountKeyFromMap(key, correlationId) {
|
|
11910
11990
|
this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called");
|
|
11911
11991
|
this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: ${key}`);
|
|
11912
11992
|
const accountKeys = this.getAccountKeys();
|
|
11913
11993
|
const removalIndex = accountKeys.indexOf(key);
|
|
11914
11994
|
if (removalIndex > -1) {
|
|
11915
11995
|
accountKeys.splice(removalIndex, 1);
|
|
11916
|
-
|
|
11996
|
+
if (accountKeys.length === 0) {
|
|
11997
|
+
// If no keys left, remove the map
|
|
11998
|
+
this.removeItem(StaticCacheKeys.ACCOUNT_KEYS);
|
|
11999
|
+
return;
|
|
12000
|
+
}
|
|
12001
|
+
else {
|
|
12002
|
+
this.setItem(StaticCacheKeys.ACCOUNT_KEYS, JSON.stringify(accountKeys), correlationId);
|
|
12003
|
+
}
|
|
11917
12004
|
this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed");
|
|
11918
12005
|
}
|
|
11919
12006
|
else {
|
|
@@ -11926,7 +12013,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11926
12013
|
*/
|
|
11927
12014
|
removeAccount(key, correlationId) {
|
|
11928
12015
|
super.removeAccount(key, correlationId);
|
|
11929
|
-
this.removeAccountKeyFromMap(key);
|
|
12016
|
+
this.removeAccountKeyFromMap(key, correlationId);
|
|
11930
12017
|
}
|
|
11931
12018
|
/**
|
|
11932
12019
|
* Removes credentials associated with the provided account
|
|
@@ -11945,25 +12032,60 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11945
12032
|
* Removes given idToken from the cache and from the key map
|
|
11946
12033
|
* @param key
|
|
11947
12034
|
*/
|
|
11948
|
-
removeIdToken(key) {
|
|
11949
|
-
super.removeIdToken(key);
|
|
11950
|
-
this.
|
|
12035
|
+
removeIdToken(key, correlationId) {
|
|
12036
|
+
super.removeIdToken(key, correlationId);
|
|
12037
|
+
const tokenKeys = this.getTokenKeys();
|
|
12038
|
+
const idRemoval = tokenKeys.idToken.indexOf(key);
|
|
12039
|
+
if (idRemoval > -1) {
|
|
12040
|
+
this.logger.info("idToken removed from tokenKeys map");
|
|
12041
|
+
tokenKeys.idToken.splice(idRemoval, 1);
|
|
12042
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12043
|
+
}
|
|
11951
12044
|
}
|
|
11952
12045
|
/**
|
|
11953
12046
|
* Removes given accessToken from the cache and from the key map
|
|
11954
12047
|
* @param key
|
|
11955
12048
|
*/
|
|
11956
|
-
removeAccessToken(key, correlationId) {
|
|
12049
|
+
removeAccessToken(key, correlationId, updateTokenKeys = true) {
|
|
11957
12050
|
super.removeAccessToken(key, correlationId);
|
|
11958
|
-
this.
|
|
12051
|
+
updateTokenKeys && this.removeAccessTokenKeys([key], correlationId);
|
|
12052
|
+
}
|
|
12053
|
+
/**
|
|
12054
|
+
* Remove access token key from the key map
|
|
12055
|
+
* @param key
|
|
12056
|
+
* @param correlationId
|
|
12057
|
+
* @param tokenKeys
|
|
12058
|
+
*/
|
|
12059
|
+
removeAccessTokenKeys(keys, correlationId) {
|
|
12060
|
+
this.logger.trace("removeAccessTokenKey called");
|
|
12061
|
+
const tokenKeys = this.getTokenKeys();
|
|
12062
|
+
let keysRemoved = 0;
|
|
12063
|
+
keys.forEach((key) => {
|
|
12064
|
+
const accessRemoval = tokenKeys.accessToken.indexOf(key);
|
|
12065
|
+
if (accessRemoval > -1) {
|
|
12066
|
+
tokenKeys.accessToken.splice(accessRemoval, 1);
|
|
12067
|
+
keysRemoved++;
|
|
12068
|
+
}
|
|
12069
|
+
});
|
|
12070
|
+
if (keysRemoved > 0) {
|
|
12071
|
+
this.logger.info(`removed ${keysRemoved} accessToken keys from tokenKeys map`);
|
|
12072
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12073
|
+
return;
|
|
12074
|
+
}
|
|
11959
12075
|
}
|
|
11960
12076
|
/**
|
|
11961
12077
|
* Removes given refreshToken from the cache and from the key map
|
|
11962
12078
|
* @param key
|
|
11963
12079
|
*/
|
|
11964
|
-
removeRefreshToken(key) {
|
|
11965
|
-
super.removeRefreshToken(key);
|
|
11966
|
-
this.
|
|
12080
|
+
removeRefreshToken(key, correlationId) {
|
|
12081
|
+
super.removeRefreshToken(key, correlationId);
|
|
12082
|
+
const tokenKeys = this.getTokenKeys();
|
|
12083
|
+
const refreshRemoval = tokenKeys.refreshToken.indexOf(key);
|
|
12084
|
+
if (refreshRemoval > -1) {
|
|
12085
|
+
this.logger.info("refreshToken removed from tokenKeys map");
|
|
12086
|
+
tokenKeys.refreshToken.splice(refreshRemoval, 1);
|
|
12087
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12088
|
+
}
|
|
11967
12089
|
}
|
|
11968
12090
|
/**
|
|
11969
12091
|
* Gets the keys for the cached tokens associated with this clientId
|
|
@@ -11973,101 +12095,37 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11973
12095
|
return getTokenKeys(this.clientId, this.browserStorage);
|
|
11974
12096
|
}
|
|
11975
12097
|
/**
|
|
11976
|
-
*
|
|
11977
|
-
* @param
|
|
11978
|
-
* @param
|
|
12098
|
+
* Stores the token keys in the cache
|
|
12099
|
+
* @param tokenKeys
|
|
12100
|
+
* @param correlationId
|
|
12101
|
+
* @returns
|
|
11979
12102
|
*/
|
|
11980
|
-
|
|
11981
|
-
|
|
11982
|
-
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
|
|
11986
|
-
|
|
11987
|
-
tokenKeys.idToken.push(key);
|
|
11988
|
-
}
|
|
11989
|
-
break;
|
|
11990
|
-
case CredentialType.ACCESS_TOKEN:
|
|
11991
|
-
if (tokenKeys.accessToken.indexOf(key) === -1) {
|
|
11992
|
-
this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map");
|
|
11993
|
-
tokenKeys.accessToken.push(key);
|
|
11994
|
-
}
|
|
11995
|
-
break;
|
|
11996
|
-
case CredentialType.REFRESH_TOKEN:
|
|
11997
|
-
if (tokenKeys.refreshToken.indexOf(key) === -1) {
|
|
11998
|
-
this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map");
|
|
11999
|
-
tokenKeys.refreshToken.push(key);
|
|
12000
|
-
}
|
|
12001
|
-
break;
|
|
12002
|
-
default:
|
|
12003
|
-
this.logger.error(`BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ${type}`);
|
|
12004
|
-
throw createClientAuthError(unexpectedCredentialType);
|
|
12103
|
+
setTokenKeys(tokenKeys, correlationId) {
|
|
12104
|
+
if (tokenKeys.idToken.length === 0 &&
|
|
12105
|
+
tokenKeys.accessToken.length === 0 &&
|
|
12106
|
+
tokenKeys.refreshToken.length === 0) {
|
|
12107
|
+
// If no keys left, remove the map
|
|
12108
|
+
this.removeItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`);
|
|
12109
|
+
return;
|
|
12005
12110
|
}
|
|
12006
|
-
|
|
12007
|
-
|
|
12008
|
-
/**
|
|
12009
|
-
* Removes the given key from the token key map
|
|
12010
|
-
* @param key
|
|
12011
|
-
* @param type
|
|
12012
|
-
*/
|
|
12013
|
-
removeTokenKey(key, type) {
|
|
12014
|
-
this.logger.trace("BrowserCacheManager removeTokenKey called");
|
|
12015
|
-
const tokenKeys = this.getTokenKeys();
|
|
12016
|
-
switch (type) {
|
|
12017
|
-
case CredentialType.ID_TOKEN:
|
|
12018
|
-
this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: ${key} from map`);
|
|
12019
|
-
const idRemoval = tokenKeys.idToken.indexOf(key);
|
|
12020
|
-
if (idRemoval > -1) {
|
|
12021
|
-
this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map");
|
|
12022
|
-
tokenKeys.idToken.splice(idRemoval, 1);
|
|
12023
|
-
}
|
|
12024
|
-
else {
|
|
12025
|
-
this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");
|
|
12026
|
-
}
|
|
12027
|
-
break;
|
|
12028
|
-
case CredentialType.ACCESS_TOKEN:
|
|
12029
|
-
this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: ${key} from map`);
|
|
12030
|
-
const accessRemoval = tokenKeys.accessToken.indexOf(key);
|
|
12031
|
-
if (accessRemoval > -1) {
|
|
12032
|
-
this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map");
|
|
12033
|
-
tokenKeys.accessToken.splice(accessRemoval, 1);
|
|
12034
|
-
}
|
|
12035
|
-
else {
|
|
12036
|
-
this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");
|
|
12037
|
-
}
|
|
12038
|
-
break;
|
|
12039
|
-
case CredentialType.REFRESH_TOKEN:
|
|
12040
|
-
this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: ${key} from map`);
|
|
12041
|
-
const refreshRemoval = tokenKeys.refreshToken.indexOf(key);
|
|
12042
|
-
if (refreshRemoval > -1) {
|
|
12043
|
-
this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map");
|
|
12044
|
-
tokenKeys.refreshToken.splice(refreshRemoval, 1);
|
|
12045
|
-
}
|
|
12046
|
-
else {
|
|
12047
|
-
this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken does not exist in map. Either it was previously removed or it was never added.");
|
|
12048
|
-
}
|
|
12049
|
-
break;
|
|
12050
|
-
default:
|
|
12051
|
-
this.logger.error(`BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: ${type}`);
|
|
12052
|
-
throw createClientAuthError(unexpectedCredentialType);
|
|
12111
|
+
else {
|
|
12112
|
+
this.setItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`, JSON.stringify(tokenKeys), correlationId);
|
|
12053
12113
|
}
|
|
12054
|
-
this.browserStorage.setItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`, JSON.stringify(tokenKeys));
|
|
12055
12114
|
}
|
|
12056
12115
|
/**
|
|
12057
12116
|
* generates idToken entity from a string
|
|
12058
12117
|
* @param idTokenKey
|
|
12059
12118
|
*/
|
|
12060
|
-
getIdTokenCredential(idTokenKey) {
|
|
12119
|
+
getIdTokenCredential(idTokenKey, correlationId) {
|
|
12061
12120
|
const value = this.browserStorage.getUserData(idTokenKey);
|
|
12062
12121
|
if (!value) {
|
|
12063
12122
|
this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit");
|
|
12064
|
-
this.
|
|
12123
|
+
this.removeIdToken(idTokenKey, correlationId);
|
|
12065
12124
|
return null;
|
|
12066
12125
|
}
|
|
12067
12126
|
const parsedIdToken = this.validateAndParseJson(value);
|
|
12068
12127
|
if (!parsedIdToken || !isIdTokenEntity(parsedIdToken)) {
|
|
12069
12128
|
this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit");
|
|
12070
|
-
this.removeTokenKey(idTokenKey, CredentialType.ID_TOKEN);
|
|
12071
12129
|
return null;
|
|
12072
12130
|
}
|
|
12073
12131
|
this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit");
|
|
@@ -12080,25 +12138,31 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12080
12138
|
async setIdTokenCredential(idToken, correlationId) {
|
|
12081
12139
|
this.logger.trace("BrowserCacheManager.setIdTokenCredential called");
|
|
12082
12140
|
const idTokenKey = generateCredentialKey(idToken);
|
|
12083
|
-
|
|
12084
|
-
|
|
12141
|
+
const timestamp = Date.now().toString();
|
|
12142
|
+
idToken.lastUpdatedAt = timestamp;
|
|
12143
|
+
await this.setUserData(idTokenKey, JSON.stringify(idToken), correlationId, timestamp);
|
|
12144
|
+
const tokenKeys = this.getTokenKeys();
|
|
12145
|
+
if (tokenKeys.idToken.indexOf(idTokenKey) === -1) {
|
|
12146
|
+
this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map");
|
|
12147
|
+
tokenKeys.idToken.push(idTokenKey);
|
|
12148
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12149
|
+
}
|
|
12085
12150
|
}
|
|
12086
12151
|
/**
|
|
12087
12152
|
* generates accessToken entity from a string
|
|
12088
12153
|
* @param key
|
|
12089
12154
|
*/
|
|
12090
|
-
getAccessTokenCredential(accessTokenKey) {
|
|
12155
|
+
getAccessTokenCredential(accessTokenKey, correlationId) {
|
|
12091
12156
|
const value = this.browserStorage.getUserData(accessTokenKey);
|
|
12092
12157
|
if (!value) {
|
|
12093
12158
|
this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit");
|
|
12094
|
-
this.
|
|
12159
|
+
this.removeAccessTokenKeys([accessTokenKey], correlationId);
|
|
12095
12160
|
return null;
|
|
12096
12161
|
}
|
|
12097
12162
|
const parsedAccessToken = this.validateAndParseJson(value);
|
|
12098
12163
|
if (!parsedAccessToken ||
|
|
12099
12164
|
!isAccessTokenEntity(parsedAccessToken)) {
|
|
12100
12165
|
this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit");
|
|
12101
|
-
this.removeTokenKey(accessTokenKey, CredentialType.ACCESS_TOKEN);
|
|
12102
12166
|
return null;
|
|
12103
12167
|
}
|
|
12104
12168
|
this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit");
|
|
@@ -12111,25 +12175,33 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12111
12175
|
async setAccessTokenCredential(accessToken, correlationId) {
|
|
12112
12176
|
this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");
|
|
12113
12177
|
const accessTokenKey = generateCredentialKey(accessToken);
|
|
12114
|
-
|
|
12115
|
-
|
|
12178
|
+
const timestamp = Date.now().toString();
|
|
12179
|
+
accessToken.lastUpdatedAt = timestamp;
|
|
12180
|
+
await this.setUserData(accessTokenKey, JSON.stringify(accessToken), correlationId, timestamp);
|
|
12181
|
+
const tokenKeys = this.getTokenKeys();
|
|
12182
|
+
const index = tokenKeys.accessToken.indexOf(accessTokenKey);
|
|
12183
|
+
if (index !== -1) {
|
|
12184
|
+
tokenKeys.accessToken.splice(index, 1); // Remove existing key before pushing to the end
|
|
12185
|
+
}
|
|
12186
|
+
this.logger.trace(`access token ${index === -1 ? "added to" : "updated in"} map`);
|
|
12187
|
+
tokenKeys.accessToken.push(accessTokenKey);
|
|
12188
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12116
12189
|
}
|
|
12117
12190
|
/**
|
|
12118
12191
|
* generates refreshToken entity from a string
|
|
12119
12192
|
* @param refreshTokenKey
|
|
12120
12193
|
*/
|
|
12121
|
-
getRefreshTokenCredential(refreshTokenKey) {
|
|
12194
|
+
getRefreshTokenCredential(refreshTokenKey, correlationId) {
|
|
12122
12195
|
const value = this.browserStorage.getUserData(refreshTokenKey);
|
|
12123
12196
|
if (!value) {
|
|
12124
12197
|
this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit");
|
|
12125
|
-
this.
|
|
12198
|
+
this.removeRefreshToken(refreshTokenKey, correlationId);
|
|
12126
12199
|
return null;
|
|
12127
12200
|
}
|
|
12128
12201
|
const parsedRefreshToken = this.validateAndParseJson(value);
|
|
12129
12202
|
if (!parsedRefreshToken ||
|
|
12130
12203
|
!isRefreshTokenEntity(parsedRefreshToken)) {
|
|
12131
12204
|
this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit");
|
|
12132
|
-
this.removeTokenKey(refreshTokenKey, CredentialType.REFRESH_TOKEN);
|
|
12133
12205
|
return null;
|
|
12134
12206
|
}
|
|
12135
12207
|
this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit");
|
|
@@ -12142,8 +12214,15 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12142
12214
|
async setRefreshTokenCredential(refreshToken, correlationId) {
|
|
12143
12215
|
this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");
|
|
12144
12216
|
const refreshTokenKey = generateCredentialKey(refreshToken);
|
|
12145
|
-
|
|
12146
|
-
|
|
12217
|
+
const timestamp = Date.now().toString();
|
|
12218
|
+
refreshToken.lastUpdatedAt = timestamp;
|
|
12219
|
+
await this.setUserData(refreshTokenKey, JSON.stringify(refreshToken), correlationId, timestamp);
|
|
12220
|
+
const tokenKeys = this.getTokenKeys();
|
|
12221
|
+
if (tokenKeys.refreshToken.indexOf(refreshTokenKey) === -1) {
|
|
12222
|
+
this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map");
|
|
12223
|
+
tokenKeys.refreshToken.push(refreshTokenKey);
|
|
12224
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12225
|
+
}
|
|
12147
12226
|
}
|
|
12148
12227
|
/**
|
|
12149
12228
|
* fetch appMetadata entity from the platform cache
|
|
@@ -12168,10 +12247,10 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12168
12247
|
* set appMetadata entity to the platform cache
|
|
12169
12248
|
* @param appMetadata
|
|
12170
12249
|
*/
|
|
12171
|
-
setAppMetadata(appMetadata) {
|
|
12250
|
+
setAppMetadata(appMetadata, correlationId) {
|
|
12172
12251
|
this.logger.trace("BrowserCacheManager.setAppMetadata called");
|
|
12173
12252
|
const appMetadataKey = generateAppMetadataKey(appMetadata);
|
|
12174
|
-
this.
|
|
12253
|
+
this.setItem(appMetadataKey, JSON.stringify(appMetadata), correlationId);
|
|
12175
12254
|
}
|
|
12176
12255
|
/**
|
|
12177
12256
|
* fetch server telemetry entity from the platform cache
|
|
@@ -12197,9 +12276,9 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12197
12276
|
* @param serverTelemetryKey
|
|
12198
12277
|
* @param serverTelemetry
|
|
12199
12278
|
*/
|
|
12200
|
-
setServerTelemetry(serverTelemetryKey, serverTelemetry) {
|
|
12279
|
+
setServerTelemetry(serverTelemetryKey, serverTelemetry, correlationId) {
|
|
12201
12280
|
this.logger.trace("BrowserCacheManager.setServerTelemetry called");
|
|
12202
|
-
this.
|
|
12281
|
+
this.setItem(serverTelemetryKey, JSON.stringify(serverTelemetry), correlationId);
|
|
12203
12282
|
}
|
|
12204
12283
|
/**
|
|
12205
12284
|
*
|
|
@@ -12257,7 +12336,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12257
12336
|
/**
|
|
12258
12337
|
* Gets the active account
|
|
12259
12338
|
*/
|
|
12260
|
-
getActiveAccount() {
|
|
12339
|
+
getActiveAccount(correlationId) {
|
|
12261
12340
|
const activeAccountKeyFilters = this.generateCacheKey(PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
|
|
12262
12341
|
const activeAccountValueFilters = this.browserStorage.getItem(activeAccountKeyFilters);
|
|
12263
12342
|
if (!activeAccountValueFilters) {
|
|
@@ -12271,7 +12350,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12271
12350
|
homeAccountId: activeAccountValueObj.homeAccountId,
|
|
12272
12351
|
localAccountId: activeAccountValueObj.localAccountId,
|
|
12273
12352
|
tenantId: activeAccountValueObj.tenantId,
|
|
12274
|
-
});
|
|
12353
|
+
}, correlationId);
|
|
12275
12354
|
}
|
|
12276
12355
|
this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found");
|
|
12277
12356
|
return null;
|
|
@@ -12280,7 +12359,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12280
12359
|
* Sets the active account's localAccountId in cache
|
|
12281
12360
|
* @param account
|
|
12282
12361
|
*/
|
|
12283
|
-
setActiveAccount(account) {
|
|
12362
|
+
setActiveAccount(account, correlationId) {
|
|
12284
12363
|
const activeAccountKey = this.generateCacheKey(PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
|
|
12285
12364
|
if (account) {
|
|
12286
12365
|
this.logger.verbose("setActiveAccount: Active account set");
|
|
@@ -12288,8 +12367,9 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12288
12367
|
homeAccountId: account.homeAccountId,
|
|
12289
12368
|
localAccountId: account.localAccountId,
|
|
12290
12369
|
tenantId: account.tenantId,
|
|
12370
|
+
lastUpdatedAt: nowSeconds().toString(),
|
|
12291
12371
|
};
|
|
12292
|
-
this.
|
|
12372
|
+
this.setItem(activeAccountKey, JSON.stringify(activeAccountValue), correlationId);
|
|
12293
12373
|
}
|
|
12294
12374
|
else {
|
|
12295
12375
|
this.logger.verbose("setActiveAccount: No account passed, active account not set");
|
|
@@ -12321,9 +12401,9 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12321
12401
|
* @param throttlingCacheKey
|
|
12322
12402
|
* @param throttlingCache
|
|
12323
12403
|
*/
|
|
12324
|
-
setThrottlingCache(throttlingCacheKey, throttlingCache) {
|
|
12404
|
+
setThrottlingCache(throttlingCacheKey, throttlingCache, correlationId) {
|
|
12325
12405
|
this.logger.trace("BrowserCacheManager.setThrottlingCache called");
|
|
12326
|
-
this.
|
|
12406
|
+
this.setItem(throttlingCacheKey, JSON.stringify(throttlingCache), correlationId);
|
|
12327
12407
|
}
|
|
12328
12408
|
/**
|
|
12329
12409
|
* Gets cache item with given key.
|
|
@@ -12402,7 +12482,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12402
12482
|
clear(correlationId) {
|
|
12403
12483
|
// Removes all accounts and their credentials
|
|
12404
12484
|
this.removeAllAccounts(correlationId);
|
|
12405
|
-
this.removeAppMetadata();
|
|
12485
|
+
this.removeAppMetadata(correlationId);
|
|
12406
12486
|
// Remove temp storage first to make sure any cookies are cleared
|
|
12407
12487
|
this.temporaryCacheStorage.getKeys().forEach((cacheKey) => {
|
|
12408
12488
|
if (cacheKey.indexOf(Constants.CACHE_PREFIX) !== -1 ||
|
|
@@ -12431,7 +12511,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12431
12511
|
let removedAccessTokens = 0;
|
|
12432
12512
|
tokenKeys.accessToken.forEach((key) => {
|
|
12433
12513
|
// if the access token has claims in its key, remove the token key and the token
|
|
12434
|
-
const credential = this.getAccessTokenCredential(key);
|
|
12514
|
+
const credential = this.getAccessTokenCredential(key, correlationId);
|
|
12435
12515
|
if (credential?.requestedClaimsHash &&
|
|
12436
12516
|
key.includes(credential.requestedClaimsHash.toLowerCase())) {
|
|
12437
12517
|
this.removeAccessToken(key, correlationId);
|
|
@@ -12667,22 +12747,24 @@ const DEFAULT_BROWSER_CACHE_MANAGER = (clientId, logger, performanceClient, even
|
|
|
12667
12747
|
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
|
12668
12748
|
* @returns Array of AccountInfo objects in cache
|
|
12669
12749
|
*/
|
|
12670
|
-
function getAllAccounts(logger, browserStorage, isInBrowser, accountFilter) {
|
|
12750
|
+
function getAllAccounts(logger, browserStorage, isInBrowser, correlationId, accountFilter) {
|
|
12671
12751
|
logger.verbose("getAllAccounts called");
|
|
12672
|
-
return isInBrowser
|
|
12752
|
+
return isInBrowser
|
|
12753
|
+
? browserStorage.getAllAccounts(accountFilter || {}, correlationId)
|
|
12754
|
+
: [];
|
|
12673
12755
|
}
|
|
12674
12756
|
/**
|
|
12675
12757
|
* Returns the first account found in the cache that matches the account filter passed in.
|
|
12676
12758
|
* @param accountFilter
|
|
12677
12759
|
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
|
12678
12760
|
*/
|
|
12679
|
-
function getAccount(accountFilter, logger, browserStorage) {
|
|
12761
|
+
function getAccount(accountFilter, logger, browserStorage, correlationId) {
|
|
12680
12762
|
logger.trace("getAccount called");
|
|
12681
12763
|
if (Object.keys(accountFilter).length === 0) {
|
|
12682
12764
|
logger.warning("getAccount: No accountFilter provided");
|
|
12683
12765
|
return null;
|
|
12684
12766
|
}
|
|
12685
|
-
const account = browserStorage.getAccountInfoFilteredBy(accountFilter);
|
|
12767
|
+
const account = browserStorage.getAccountInfoFilteredBy(accountFilter, correlationId);
|
|
12686
12768
|
if (account) {
|
|
12687
12769
|
logger.verbose("getAccount: Account matching provided filter found, returning");
|
|
12688
12770
|
return account;
|
|
@@ -12700,7 +12782,7 @@ function getAccount(accountFilter, logger, browserStorage) {
|
|
|
12700
12782
|
* @param username
|
|
12701
12783
|
* @returns The account object stored in MSAL
|
|
12702
12784
|
*/
|
|
12703
|
-
function getAccountByUsername(username, logger, browserStorage) {
|
|
12785
|
+
function getAccountByUsername(username, logger, browserStorage, correlationId) {
|
|
12704
12786
|
logger.trace("getAccountByUsername called");
|
|
12705
12787
|
if (!username) {
|
|
12706
12788
|
logger.warning("getAccountByUsername: No username provided");
|
|
@@ -12708,7 +12790,7 @@ function getAccountByUsername(username, logger, browserStorage) {
|
|
|
12708
12790
|
}
|
|
12709
12791
|
const account = browserStorage.getAccountInfoFilteredBy({
|
|
12710
12792
|
username,
|
|
12711
|
-
});
|
|
12793
|
+
}, correlationId);
|
|
12712
12794
|
if (account) {
|
|
12713
12795
|
logger.verbose("getAccountByUsername: Account matching username found, returning");
|
|
12714
12796
|
logger.verbosePii(`getAccountByUsername: Returning signed-in accounts matching username: ${username}`);
|
|
@@ -12726,7 +12808,7 @@ function getAccountByUsername(username, logger, browserStorage) {
|
|
|
12726
12808
|
* @param homeAccountId
|
|
12727
12809
|
* @returns The account object stored in MSAL
|
|
12728
12810
|
*/
|
|
12729
|
-
function getAccountByHomeId(homeAccountId, logger, browserStorage) {
|
|
12811
|
+
function getAccountByHomeId(homeAccountId, logger, browserStorage, correlationId) {
|
|
12730
12812
|
logger.trace("getAccountByHomeId called");
|
|
12731
12813
|
if (!homeAccountId) {
|
|
12732
12814
|
logger.warning("getAccountByHomeId: No homeAccountId provided");
|
|
@@ -12734,7 +12816,7 @@ function getAccountByHomeId(homeAccountId, logger, browserStorage) {
|
|
|
12734
12816
|
}
|
|
12735
12817
|
const account = browserStorage.getAccountInfoFilteredBy({
|
|
12736
12818
|
homeAccountId,
|
|
12737
|
-
});
|
|
12819
|
+
}, correlationId);
|
|
12738
12820
|
if (account) {
|
|
12739
12821
|
logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning");
|
|
12740
12822
|
logger.verbosePii(`getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ${homeAccountId}`);
|
|
@@ -12752,7 +12834,7 @@ function getAccountByHomeId(homeAccountId, logger, browserStorage) {
|
|
|
12752
12834
|
* @param localAccountId
|
|
12753
12835
|
* @returns The account object stored in MSAL
|
|
12754
12836
|
*/
|
|
12755
|
-
function getAccountByLocalId(localAccountId, logger, browserStorage) {
|
|
12837
|
+
function getAccountByLocalId(localAccountId, logger, browserStorage, correlationId) {
|
|
12756
12838
|
logger.trace("getAccountByLocalId called");
|
|
12757
12839
|
if (!localAccountId) {
|
|
12758
12840
|
logger.warning("getAccountByLocalId: No localAccountId provided");
|
|
@@ -12760,7 +12842,7 @@ function getAccountByLocalId(localAccountId, logger, browserStorage) {
|
|
|
12760
12842
|
}
|
|
12761
12843
|
const account = browserStorage.getAccountInfoFilteredBy({
|
|
12762
12844
|
localAccountId,
|
|
12763
|
-
});
|
|
12845
|
+
}, correlationId);
|
|
12764
12846
|
if (account) {
|
|
12765
12847
|
logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning");
|
|
12766
12848
|
logger.verbosePii(`getAccountByLocalId: Returning signed-in accounts matching localAccountId: ${localAccountId}`);
|
|
@@ -12775,14 +12857,14 @@ function getAccountByLocalId(localAccountId, logger, browserStorage) {
|
|
|
12775
12857
|
* Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
|
|
12776
12858
|
* @param account
|
|
12777
12859
|
*/
|
|
12778
|
-
function setActiveAccount(account, browserStorage) {
|
|
12779
|
-
browserStorage.setActiveAccount(account);
|
|
12860
|
+
function setActiveAccount(account, browserStorage, correlationId) {
|
|
12861
|
+
browserStorage.setActiveAccount(account, correlationId);
|
|
12780
12862
|
}
|
|
12781
12863
|
/**
|
|
12782
12864
|
* Gets the currently active account
|
|
12783
12865
|
*/
|
|
12784
|
-
function getActiveAccount(browserStorage) {
|
|
12785
|
-
return browserStorage.getActiveAccount();
|
|
12866
|
+
function getActiveAccount(browserStorage, correlationId) {
|
|
12867
|
+
return browserStorage.getActiveAccount(correlationId);
|
|
12786
12868
|
}
|
|
12787
12869
|
|
|
12788
12870
|
/*
|
|
@@ -12906,15 +12988,15 @@ class BaseInteractionClient {
|
|
|
12906
12988
|
this.logger = logger.clone(BrowserConstants.MSAL_SKU, version, this.correlationId);
|
|
12907
12989
|
this.performanceClient = performanceClient;
|
|
12908
12990
|
}
|
|
12909
|
-
async clearCacheOnLogout(account) {
|
|
12991
|
+
async clearCacheOnLogout(correlationId, account) {
|
|
12910
12992
|
if (account) {
|
|
12911
|
-
if (AccountEntity.accountInfoIsEqual(account, this.browserStorage.getActiveAccount(), false)) {
|
|
12993
|
+
if (AccountEntity.accountInfoIsEqual(account, this.browserStorage.getActiveAccount(correlationId), false)) {
|
|
12912
12994
|
this.logger.verbose("Setting active account to null");
|
|
12913
|
-
this.browserStorage.setActiveAccount(null);
|
|
12995
|
+
this.browserStorage.setActiveAccount(null, correlationId);
|
|
12914
12996
|
}
|
|
12915
12997
|
// Clear given account.
|
|
12916
12998
|
try {
|
|
12917
|
-
this.browserStorage.removeAccount(AccountEntity.generateAccountCacheKey(account),
|
|
12999
|
+
this.browserStorage.removeAccount(AccountEntity.generateAccountCacheKey(account), correlationId);
|
|
12918
13000
|
this.logger.verbose("Cleared cache items belonging to the account provided in the logout request.");
|
|
12919
13001
|
}
|
|
12920
13002
|
catch (error) {
|
|
@@ -12925,7 +13007,7 @@ class BaseInteractionClient {
|
|
|
12925
13007
|
try {
|
|
12926
13008
|
this.logger.verbose("No account provided in logout request, clearing all cache items.", this.correlationId);
|
|
12927
13009
|
// Clear all accounts and tokens
|
|
12928
|
-
this.browserStorage.clear(
|
|
13010
|
+
this.browserStorage.clear(correlationId);
|
|
12929
13011
|
// Clear any stray keys from IndexedDB
|
|
12930
13012
|
await this.browserCrypto.clearKeystore();
|
|
12931
13013
|
}
|
|
@@ -13247,7 +13329,8 @@ class StandardInteractionClient extends BaseInteractionClient {
|
|
|
13247
13329
|
if (request.loginHint || request.sid) {
|
|
13248
13330
|
return validatedRequest;
|
|
13249
13331
|
}
|
|
13250
|
-
const account = request.account ||
|
|
13332
|
+
const account = request.account ||
|
|
13333
|
+
this.browserStorage.getActiveAccount(this.correlationId);
|
|
13251
13334
|
if (account) {
|
|
13252
13335
|
this.logger.verbose("Setting validated request account", this.correlationId);
|
|
13253
13336
|
this.logger.verbosePii(`Setting validated request account: ${account.homeAccountId}`, this.correlationId);
|
|
@@ -13537,7 +13620,7 @@ class SilentCacheClient extends StandardInteractionClient {
|
|
|
13537
13620
|
logout(logoutRequest) {
|
|
13538
13621
|
this.logger.verbose("logoutRedirect called");
|
|
13539
13622
|
const validLogoutRequest = this.initializeLogoutRequest(logoutRequest);
|
|
13540
|
-
return this.clearCacheOnLogout(validLogoutRequest?.account);
|
|
13623
|
+
return this.clearCacheOnLogout(validLogoutRequest.correlationId, validLogoutRequest?.account);
|
|
13541
13624
|
}
|
|
13542
13625
|
}
|
|
13543
13626
|
|
|
@@ -13661,7 +13744,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
13661
13744
|
// fetch the account from browser cache
|
|
13662
13745
|
const account = this.browserStorage.getBaseAccountInfo({
|
|
13663
13746
|
nativeAccountId,
|
|
13664
|
-
});
|
|
13747
|
+
}, this.correlationId);
|
|
13665
13748
|
if (!account) {
|
|
13666
13749
|
throw createClientAuthError(noAccountFound);
|
|
13667
13750
|
}
|
|
@@ -13777,7 +13860,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
13777
13860
|
const homeAccountIdentifier = this.createHomeAccountIdentifier(response, idTokenClaims);
|
|
13778
13861
|
const cachedhomeAccountId = this.browserStorage.getAccountInfoFilteredBy({
|
|
13779
13862
|
nativeAccountId: request.accountId,
|
|
13780
|
-
})?.homeAccountId;
|
|
13863
|
+
}, this.correlationId)?.homeAccountId;
|
|
13781
13864
|
// add exception for double brokering, please note this is temporary and will be fortified in future
|
|
13782
13865
|
if (request.extraParameters?.child_client_id &&
|
|
13783
13866
|
response.account.id !== request.accountId) {
|
|
@@ -13792,7 +13875,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
13792
13875
|
const authority = await this.getDiscoveredAuthority({
|
|
13793
13876
|
requestAuthority: request.authority,
|
|
13794
13877
|
});
|
|
13795
|
-
const baseAccount = buildAccountToCache(this.browserStorage, authority, homeAccountIdentifier, base64Decode, idTokenClaims, response.client_info, undefined, // environment
|
|
13878
|
+
const baseAccount = buildAccountToCache(this.browserStorage, authority, homeAccountIdentifier, base64Decode, this.correlationId, idTokenClaims, response.client_info, undefined, // environment
|
|
13796
13879
|
idTokenClaims.tid, undefined, // auth code payload
|
|
13797
13880
|
response.account.id, this.logger);
|
|
13798
13881
|
// Ensure expires_in is in number format
|
|
@@ -13800,7 +13883,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
13800
13883
|
// generate authenticationResult
|
|
13801
13884
|
const result = await this.generateAuthenticationResult(response, request, idTokenClaims, baseAccount, authority.canonicalAuthority, reqTimestamp);
|
|
13802
13885
|
// cache accounts and tokens in the appropriate storage
|
|
13803
|
-
await this.cacheAccount(baseAccount);
|
|
13886
|
+
await this.cacheAccount(baseAccount, this.correlationId);
|
|
13804
13887
|
await this.cacheNativeTokens(response, request, homeAccountIdentifier, idTokenClaims, response.access_token, result.tenantId, reqTimestamp);
|
|
13805
13888
|
return result;
|
|
13806
13889
|
}
|
|
@@ -13924,11 +14007,11 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
13924
14007
|
* cache the account entity in browser storage
|
|
13925
14008
|
* @param accountEntity
|
|
13926
14009
|
*/
|
|
13927
|
-
async cacheAccount(accountEntity) {
|
|
14010
|
+
async cacheAccount(accountEntity, correlationId) {
|
|
13928
14011
|
// Store the account info and hence `nativeAccountId` in browser cache
|
|
13929
14012
|
await this.browserStorage.setAccount(accountEntity, this.correlationId);
|
|
13930
14013
|
// Remove any existing cached tokens for this account in browser storage
|
|
13931
|
-
this.browserStorage.removeAccountContext(accountEntity,
|
|
14014
|
+
this.browserStorage.removeAccountContext(accountEntity, correlationId);
|
|
13932
14015
|
}
|
|
13933
14016
|
/**
|
|
13934
14017
|
* Stores the access_token and id_token in inmemory storage
|
|
@@ -15098,7 +15181,7 @@ class PopupClient extends StandardInteractionClient {
|
|
|
15098
15181
|
const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.logoutPopup);
|
|
15099
15182
|
try {
|
|
15100
15183
|
// Clear cache on logout
|
|
15101
|
-
await this.clearCacheOnLogout(validRequest.account);
|
|
15184
|
+
await this.clearCacheOnLogout(this.correlationId, validRequest.account);
|
|
15102
15185
|
// Initialize the client
|
|
15103
15186
|
const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
|
|
15104
15187
|
serverTelemetryManager,
|
|
@@ -15476,6 +15559,11 @@ class RedirectClient extends StandardInteractionClient {
|
|
|
15476
15559
|
this.browserStorage.cacheAuthorizeRequest(redirectRequest);
|
|
15477
15560
|
const form = await getEARForm(document, this.config, discoveredAuthority, redirectRequest, this.logger, this.performanceClient);
|
|
15478
15561
|
form.submit();
|
|
15562
|
+
return new Promise((resolve, reject) => {
|
|
15563
|
+
setTimeout(() => {
|
|
15564
|
+
reject(createBrowserAuthError(timedOut, "failed_to_redirect"));
|
|
15565
|
+
}, this.config.system.redirectNavigationTimeout);
|
|
15566
|
+
});
|
|
15479
15567
|
}
|
|
15480
15568
|
/**
|
|
15481
15569
|
* Checks if navigateToLoginRequestUrl is set, and:
|
|
@@ -15690,7 +15778,7 @@ class RedirectClient extends StandardInteractionClient {
|
|
|
15690
15778
|
try {
|
|
15691
15779
|
this.eventHandler.emitEvent(EventType.LOGOUT_START, exports.InteractionType.Redirect, logoutRequest);
|
|
15692
15780
|
// Clear cache on logout
|
|
15693
|
-
await this.clearCacheOnLogout(validLogoutRequest.account);
|
|
15781
|
+
await this.clearCacheOnLogout(this.correlationId, validLogoutRequest.account);
|
|
15694
15782
|
const navigationOptions = {
|
|
15695
15783
|
apiId: ApiId.logout,
|
|
15696
15784
|
timeout: this.config.system.redirectNavigationTimeout,
|
|
@@ -16185,7 +16273,7 @@ class TokenCache {
|
|
|
16185
16273
|
}
|
|
16186
16274
|
const homeAccountId = AccountEntity.generateHomeAccountId(clientInfo, authority.authorityType, this.logger, this.cryptoObj, idTokenClaims);
|
|
16187
16275
|
const claimsTenantId = idTokenClaims?.tid;
|
|
16188
|
-
const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
|
|
16276
|
+
const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
|
|
16189
16277
|
undefined, // nativeAccountId
|
|
16190
16278
|
this.logger);
|
|
16191
16279
|
await this.storage.setAccount(cachedAccount, correlationId);
|
|
@@ -17223,7 +17311,8 @@ class StandardController {
|
|
|
17223
17311
|
* @returns Array of AccountInfo objects in cache
|
|
17224
17312
|
*/
|
|
17225
17313
|
getAllAccounts(accountFilter) {
|
|
17226
|
-
|
|
17314
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17315
|
+
return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnvironment, correlationId, accountFilter);
|
|
17227
17316
|
}
|
|
17228
17317
|
/**
|
|
17229
17318
|
* Returns the first account found in the cache that matches the account filter passed in.
|
|
@@ -17231,7 +17320,8 @@ class StandardController {
|
|
|
17231
17320
|
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
|
17232
17321
|
*/
|
|
17233
17322
|
getAccount(accountFilter) {
|
|
17234
|
-
|
|
17323
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17324
|
+
return getAccount(accountFilter, this.logger, this.browserStorage, correlationId);
|
|
17235
17325
|
}
|
|
17236
17326
|
/**
|
|
17237
17327
|
* Returns the signed in account matching username.
|
|
@@ -17242,7 +17332,8 @@ class StandardController {
|
|
|
17242
17332
|
* @returns The account object stored in MSAL
|
|
17243
17333
|
*/
|
|
17244
17334
|
getAccountByUsername(username) {
|
|
17245
|
-
|
|
17335
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17336
|
+
return getAccountByUsername(username, this.logger, this.browserStorage, correlationId);
|
|
17246
17337
|
}
|
|
17247
17338
|
/**
|
|
17248
17339
|
* Returns the signed in account matching homeAccountId.
|
|
@@ -17252,7 +17343,8 @@ class StandardController {
|
|
|
17252
17343
|
* @returns The account object stored in MSAL
|
|
17253
17344
|
*/
|
|
17254
17345
|
getAccountByHomeId(homeAccountId) {
|
|
17255
|
-
|
|
17346
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17347
|
+
return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage, correlationId);
|
|
17256
17348
|
}
|
|
17257
17349
|
/**
|
|
17258
17350
|
* Returns the signed in account matching localAccountId.
|
|
@@ -17262,20 +17354,23 @@ class StandardController {
|
|
|
17262
17354
|
* @returns The account object stored in MSAL
|
|
17263
17355
|
*/
|
|
17264
17356
|
getAccountByLocalId(localAccountId) {
|
|
17265
|
-
|
|
17357
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17358
|
+
return getAccountByLocalId(localAccountId, this.logger, this.browserStorage, correlationId);
|
|
17266
17359
|
}
|
|
17267
17360
|
/**
|
|
17268
17361
|
* Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
|
|
17269
17362
|
* @param account
|
|
17270
17363
|
*/
|
|
17271
17364
|
setActiveAccount(account) {
|
|
17272
|
-
|
|
17365
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17366
|
+
setActiveAccount(account, this.browserStorage, correlationId);
|
|
17273
17367
|
}
|
|
17274
17368
|
/**
|
|
17275
17369
|
* Gets the currently active account
|
|
17276
17370
|
*/
|
|
17277
17371
|
getActiveAccount() {
|
|
17278
|
-
|
|
17372
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17373
|
+
return getActiveAccount(this.browserStorage, correlationId);
|
|
17279
17374
|
}
|
|
17280
17375
|
// #endregion
|
|
17281
17376
|
/**
|
|
@@ -17615,9 +17710,7 @@ class StandardController {
|
|
|
17615
17710
|
async acquireTokenSilentDeduped(request, account, correlationId) {
|
|
17616
17711
|
const thumbprint = getRequestThumbprint(this.config.auth.clientId, {
|
|
17617
17712
|
...request,
|
|
17618
|
-
authority: request.authority || this.config.auth.authority,
|
|
17619
|
-
correlationId: correlationId,
|
|
17620
|
-
}, account.homeAccountId);
|
|
17713
|
+
authority: request.authority || this.config.auth.authority}, account.homeAccountId);
|
|
17621
17714
|
const silentRequestKey = JSON.stringify(thumbprint);
|
|
17622
17715
|
const inProgressRequest = this.activeSilentTokenRequests.get(silentRequestKey);
|
|
17623
17716
|
if (typeof inProgressRequest === "undefined") {
|
|
@@ -18279,8 +18372,9 @@ class NestedAppAuthController {
|
|
|
18279
18372
|
// always prioritize the account context from the bridge
|
|
18280
18373
|
const accountContext = this.bridgeProxy.getAccountContext() || this.currentAccountContext;
|
|
18281
18374
|
let currentAccount = null;
|
|
18375
|
+
const correlationId = request.correlationId || this.browserCrypto.createNewGuid();
|
|
18282
18376
|
if (accountContext) {
|
|
18283
|
-
currentAccount = getAccount(accountContext, this.logger, this.browserStorage);
|
|
18377
|
+
currentAccount = getAccount(accountContext, this.logger, this.browserStorage, correlationId);
|
|
18284
18378
|
}
|
|
18285
18379
|
// fall back to brokering if no cached account is found
|
|
18286
18380
|
if (!currentAccount) {
|
|
@@ -18309,7 +18403,7 @@ class NestedAppAuthController {
|
|
|
18309
18403
|
this.logger.verbose("Cached access token has expired");
|
|
18310
18404
|
return Promise.resolve(null);
|
|
18311
18405
|
}
|
|
18312
|
-
const cachedIdToken = this.browserStorage.getIdToken(currentAccount, tokenKeys, currentAccount.tenantId, this.performanceClient
|
|
18406
|
+
const cachedIdToken = this.browserStorage.getIdToken(currentAccount, authRequest.correlationId, tokenKeys, currentAccount.tenantId, this.performanceClient);
|
|
18313
18407
|
if (!cachedIdToken) {
|
|
18314
18408
|
this.logger.verbose("No cached id token found");
|
|
18315
18409
|
return Promise.resolve(null);
|
|
@@ -18406,7 +18500,8 @@ class NestedAppAuthController {
|
|
|
18406
18500
|
* @returns Array of AccountInfo objects in cache
|
|
18407
18501
|
*/
|
|
18408
18502
|
getAllAccounts(accountFilter) {
|
|
18409
|
-
|
|
18503
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18504
|
+
return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnv(), correlationId, accountFilter);
|
|
18410
18505
|
}
|
|
18411
18506
|
/**
|
|
18412
18507
|
* Returns the first account found in the cache that matches the account filter passed in.
|
|
@@ -18414,7 +18509,8 @@ class NestedAppAuthController {
|
|
|
18414
18509
|
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
|
18415
18510
|
*/
|
|
18416
18511
|
getAccount(accountFilter) {
|
|
18417
|
-
|
|
18512
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18513
|
+
return getAccount(accountFilter, this.logger, this.browserStorage, correlationId);
|
|
18418
18514
|
}
|
|
18419
18515
|
/**
|
|
18420
18516
|
* Returns the signed in account matching username.
|
|
@@ -18425,7 +18521,8 @@ class NestedAppAuthController {
|
|
|
18425
18521
|
* @returns The account object stored in MSAL
|
|
18426
18522
|
*/
|
|
18427
18523
|
getAccountByUsername(username) {
|
|
18428
|
-
|
|
18524
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18525
|
+
return getAccountByUsername(username, this.logger, this.browserStorage, correlationId);
|
|
18429
18526
|
}
|
|
18430
18527
|
/**
|
|
18431
18528
|
* Returns the signed in account matching homeAccountId.
|
|
@@ -18435,7 +18532,8 @@ class NestedAppAuthController {
|
|
|
18435
18532
|
* @returns The account object stored in MSAL
|
|
18436
18533
|
*/
|
|
18437
18534
|
getAccountByHomeId(homeAccountId) {
|
|
18438
|
-
|
|
18535
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18536
|
+
return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage, correlationId);
|
|
18439
18537
|
}
|
|
18440
18538
|
/**
|
|
18441
18539
|
* Returns the signed in account matching localAccountId.
|
|
@@ -18445,7 +18543,8 @@ class NestedAppAuthController {
|
|
|
18445
18543
|
* @returns The account object stored in MSAL
|
|
18446
18544
|
*/
|
|
18447
18545
|
getAccountByLocalId(localAccountId) {
|
|
18448
|
-
|
|
18546
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18547
|
+
return getAccountByLocalId(localAccountId, this.logger, this.browserStorage, correlationId);
|
|
18449
18548
|
}
|
|
18450
18549
|
/**
|
|
18451
18550
|
* Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
|
|
@@ -18456,13 +18555,15 @@ class NestedAppAuthController {
|
|
|
18456
18555
|
* StandardController uses this to allow the developer to set the active account
|
|
18457
18556
|
* in the nested app auth scenario the active account is controlled by the app hosting the nested app
|
|
18458
18557
|
*/
|
|
18459
|
-
|
|
18558
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18559
|
+
return setActiveAccount(account, this.browserStorage, correlationId);
|
|
18460
18560
|
}
|
|
18461
18561
|
/**
|
|
18462
18562
|
* Gets the currently active account
|
|
18463
18563
|
*/
|
|
18464
18564
|
getActiveAccount() {
|
|
18465
|
-
|
|
18565
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18566
|
+
return getActiveAccount(this.browserStorage, correlationId);
|
|
18466
18567
|
}
|
|
18467
18568
|
// #endregion
|
|
18468
18569
|
handleRedirectPromise(hash // eslint-disable-line @typescript-eslint/no-unused-vars
|