@azure/msal-browser 4.13.2 → 4.15.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 +20549 -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 +469 -447
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +469 -447
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +68 -69
- 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.15.0 2025-07-08 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v15.
|
|
5
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6
6
|
/*
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
8
|
* Licensed under the MIT License.
|
|
@@ -135,19 +135,11 @@ const PromptValue = {
|
|
|
135
135
|
CREATE: "create",
|
|
136
136
|
NO_SESSION: "no_session",
|
|
137
137
|
};
|
|
138
|
-
/**
|
|
139
|
-
* allowed values for codeVerifier
|
|
140
|
-
*/
|
|
141
|
-
const CodeChallengeMethodValues = {
|
|
142
|
-
PLAIN: "plain",
|
|
143
|
-
S256: "S256",
|
|
144
|
-
};
|
|
145
138
|
/**
|
|
146
139
|
* Allowed values for response_type
|
|
147
140
|
*/
|
|
148
141
|
const OAuthResponseType = {
|
|
149
142
|
CODE: "code",
|
|
150
|
-
IDTOKEN_TOKEN: "id_token token",
|
|
151
143
|
IDTOKEN_TOKEN_REFRESHTOKEN: "id_token token refresh_token",
|
|
152
144
|
};
|
|
153
145
|
/**
|
|
@@ -162,29 +154,19 @@ const ServerResponseType = {
|
|
|
162
154
|
* allowed values for response_mode
|
|
163
155
|
*/
|
|
164
156
|
const ResponseMode = {
|
|
165
|
-
QUERY: "query"
|
|
166
|
-
FRAGMENT: "fragment",
|
|
167
|
-
FORM_POST: "form_post",
|
|
168
|
-
};
|
|
157
|
+
QUERY: "query"};
|
|
169
158
|
/**
|
|
170
159
|
* allowed grant_type
|
|
171
160
|
*/
|
|
172
161
|
const GrantType = {
|
|
173
|
-
IMPLICIT_GRANT: "implicit",
|
|
174
162
|
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
|
-
};
|
|
163
|
+
REFRESH_TOKEN_GRANT: "refresh_token"};
|
|
181
164
|
/**
|
|
182
165
|
* Account types in Cache
|
|
183
166
|
*/
|
|
184
167
|
const CacheAccountType = {
|
|
185
168
|
MSSTS_ACCOUNT_TYPE: "MSSTS",
|
|
186
169
|
ADFS_ACCOUNT_TYPE: "ADFS",
|
|
187
|
-
MSAV1_ACCOUNT_TYPE: "MSA",
|
|
188
170
|
GENERIC_ACCOUNT_TYPE: "Generic", // NTLM, Kerberos, FBA, Basic etc
|
|
189
171
|
};
|
|
190
172
|
/**
|
|
@@ -221,7 +203,6 @@ const AuthorityMetadataSource = {
|
|
|
221
203
|
};
|
|
222
204
|
const SERVER_TELEM_CONSTANTS = {
|
|
223
205
|
SCHEMA_VERSION: 5,
|
|
224
|
-
MAX_CUR_HEADER_BYTES: 80,
|
|
225
206
|
MAX_LAST_HEADER_BYTES: 330,
|
|
226
207
|
MAX_CACHED_ERRORS: 50,
|
|
227
208
|
CACHE_KEY: "server-telemetry",
|
|
@@ -269,9 +250,7 @@ const RegionDiscoverySources = {
|
|
|
269
250
|
* Region Discovery Outcomes
|
|
270
251
|
*/
|
|
271
252
|
const RegionDiscoveryOutcomes = {
|
|
272
|
-
CONFIGURED_MATCHES_DETECTED: "1",
|
|
273
253
|
CONFIGURED_NO_AUTO_DETECTION: "2",
|
|
274
|
-
CONFIGURED_NOT_DETECTED: "3",
|
|
275
254
|
AUTO_DETECTION_REQUESTED_SUCCESSFUL: "4",
|
|
276
255
|
AUTO_DETECTION_REQUESTED_FAILED: "5",
|
|
277
256
|
};
|
|
@@ -298,7 +277,7 @@ const JsonWebTokenTypes = {
|
|
|
298
277
|
// Token renewal offset default in seconds
|
|
299
278
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
300
279
|
|
|
301
|
-
/*! @azure/msal-common v15.
|
|
280
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
302
281
|
/*
|
|
303
282
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
304
283
|
* Licensed under the MIT License.
|
|
@@ -315,7 +294,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
315
294
|
unexpectedError: unexpectedError
|
|
316
295
|
});
|
|
317
296
|
|
|
318
|
-
/*! @azure/msal-common v15.
|
|
297
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
319
298
|
|
|
320
299
|
/*
|
|
321
300
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -364,7 +343,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
364
343
|
: AuthErrorMessages[code]);
|
|
365
344
|
}
|
|
366
345
|
|
|
367
|
-
/*! @azure/msal-common v15.
|
|
346
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
368
347
|
/*
|
|
369
348
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
370
349
|
* Licensed under the MIT License.
|
|
@@ -462,7 +441,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
462
441
|
userTimeoutReached: userTimeoutReached
|
|
463
442
|
});
|
|
464
443
|
|
|
465
|
-
/*! @azure/msal-common v15.
|
|
444
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
466
445
|
|
|
467
446
|
/*
|
|
468
447
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -714,7 +693,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
714
693
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
715
694
|
}
|
|
716
695
|
|
|
717
|
-
/*! @azure/msal-common v15.
|
|
696
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
718
697
|
|
|
719
698
|
/*
|
|
720
699
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -753,7 +732,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
753
732
|
},
|
|
754
733
|
};
|
|
755
734
|
|
|
756
|
-
/*! @azure/msal-common v15.
|
|
735
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
757
736
|
|
|
758
737
|
/*
|
|
759
738
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -944,12 +923,12 @@ class Logger {
|
|
|
944
923
|
}
|
|
945
924
|
}
|
|
946
925
|
|
|
947
|
-
/*! @azure/msal-common v15.
|
|
926
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
948
927
|
/* eslint-disable header/header */
|
|
949
928
|
const name$1 = "@azure/msal-common";
|
|
950
|
-
const version$1 = "15.
|
|
929
|
+
const version$1 = "15.8.1";
|
|
951
930
|
|
|
952
|
-
/*! @azure/msal-common v15.
|
|
931
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
953
932
|
/*
|
|
954
933
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
955
934
|
* Licensed under the MIT License.
|
|
@@ -969,7 +948,7 @@ const AzureCloudInstance = {
|
|
|
969
948
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
970
949
|
};
|
|
971
950
|
|
|
972
|
-
/*! @azure/msal-common v15.
|
|
951
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
973
952
|
|
|
974
953
|
/*
|
|
975
954
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1030,7 +1009,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1030
1009
|
}
|
|
1031
1010
|
}
|
|
1032
1011
|
|
|
1033
|
-
/*! @azure/msal-common v15.
|
|
1012
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1034
1013
|
/*
|
|
1035
1014
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1036
1015
|
* Licensed under the MIT License.
|
|
@@ -1085,7 +1064,7 @@ function wasClockTurnedBack(cachedAt) {
|
|
|
1085
1064
|
return cachedAtSec > nowSeconds();
|
|
1086
1065
|
}
|
|
1087
1066
|
|
|
1088
|
-
/*! @azure/msal-common v15.
|
|
1067
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1089
1068
|
|
|
1090
1069
|
/*
|
|
1091
1070
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1412,7 +1391,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
1412
1391
|
return metadata.expiresAt <= nowSeconds();
|
|
1413
1392
|
}
|
|
1414
1393
|
|
|
1415
|
-
/*! @azure/msal-common v15.
|
|
1394
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1416
1395
|
/*
|
|
1417
1396
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1418
1397
|
* Licensed under the MIT License.
|
|
@@ -1423,7 +1402,6 @@ const authorityUriInsecure = "authority_uri_insecure";
|
|
|
1423
1402
|
const urlParseError = "url_parse_error";
|
|
1424
1403
|
const urlEmptyError = "empty_url_error";
|
|
1425
1404
|
const emptyInputScopesError = "empty_input_scopes_error";
|
|
1426
|
-
const invalidPromptValue = "invalid_prompt_value";
|
|
1427
1405
|
const invalidClaims = "invalid_claims";
|
|
1428
1406
|
const tokenRequestEmpty = "token_request_empty";
|
|
1429
1407
|
const logoutRequestEmpty = "logout_request_empty";
|
|
@@ -1453,7 +1431,6 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1453
1431
|
invalidClaims: invalidClaims,
|
|
1454
1432
|
invalidCloudDiscoveryMetadata: invalidCloudDiscoveryMetadata,
|
|
1455
1433
|
invalidCodeChallengeMethod: invalidCodeChallengeMethod,
|
|
1456
|
-
invalidPromptValue: invalidPromptValue,
|
|
1457
1434
|
logoutRequestEmpty: logoutRequestEmpty,
|
|
1458
1435
|
missingNonceAuthenticationHeader: missingNonceAuthenticationHeader,
|
|
1459
1436
|
missingSshJwk: missingSshJwk,
|
|
@@ -1466,7 +1443,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1466
1443
|
urlParseError: urlParseError
|
|
1467
1444
|
});
|
|
1468
1445
|
|
|
1469
|
-
/*! @azure/msal-common v15.
|
|
1446
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1470
1447
|
|
|
1471
1448
|
/*
|
|
1472
1449
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1479,7 +1456,6 @@ const ClientConfigurationErrorMessages = {
|
|
|
1479
1456
|
[urlParseError]: "URL could not be parsed into appropriate segments.",
|
|
1480
1457
|
[urlEmptyError]: "URL was empty or null.",
|
|
1481
1458
|
[emptyInputScopesError]: "Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",
|
|
1482
|
-
[invalidPromptValue]: "Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",
|
|
1483
1459
|
[invalidClaims]: "Given claims parameter must be a stringified JSON object.",
|
|
1484
1460
|
[tokenRequestEmpty]: "Token request was empty and not found in cache.",
|
|
1485
1461
|
[logoutRequestEmpty]: "The logout request was null or undefined.",
|
|
@@ -1525,10 +1501,6 @@ const ClientConfigurationErrorMessage = {
|
|
|
1525
1501
|
code: emptyInputScopesError,
|
|
1526
1502
|
desc: ClientConfigurationErrorMessages[emptyInputScopesError],
|
|
1527
1503
|
},
|
|
1528
|
-
invalidPrompt: {
|
|
1529
|
-
code: invalidPromptValue,
|
|
1530
|
-
desc: ClientConfigurationErrorMessages[invalidPromptValue],
|
|
1531
|
-
},
|
|
1532
1504
|
invalidClaimsRequest: {
|
|
1533
1505
|
code: invalidClaims,
|
|
1534
1506
|
desc: ClientConfigurationErrorMessages[invalidClaims],
|
|
@@ -1604,7 +1576,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
1604
1576
|
return new ClientConfigurationError(errorCode);
|
|
1605
1577
|
}
|
|
1606
1578
|
|
|
1607
|
-
/*! @azure/msal-common v15.
|
|
1579
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1608
1580
|
/*
|
|
1609
1581
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1610
1582
|
* Licensed under the MIT License.
|
|
@@ -1701,7 +1673,7 @@ class StringUtils {
|
|
|
1701
1673
|
}
|
|
1702
1674
|
}
|
|
1703
1675
|
|
|
1704
|
-
/*! @azure/msal-common v15.
|
|
1676
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1705
1677
|
|
|
1706
1678
|
/*
|
|
1707
1679
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1892,7 +1864,7 @@ class ScopeSet {
|
|
|
1892
1864
|
}
|
|
1893
1865
|
}
|
|
1894
1866
|
|
|
1895
|
-
/*! @azure/msal-common v15.
|
|
1867
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1896
1868
|
|
|
1897
1869
|
/*
|
|
1898
1870
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1932,7 +1904,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
1932
1904
|
};
|
|
1933
1905
|
}
|
|
1934
1906
|
|
|
1935
|
-
/*! @azure/msal-common v15.
|
|
1907
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1936
1908
|
/*
|
|
1937
1909
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1938
1910
|
* Licensed under the MIT License.
|
|
@@ -2011,7 +1983,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
2011
1983
|
return updatedAccountInfo;
|
|
2012
1984
|
}
|
|
2013
1985
|
|
|
2014
|
-
/*! @azure/msal-common v15.
|
|
1986
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2015
1987
|
/*
|
|
2016
1988
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2017
1989
|
* Licensed under the MIT License.
|
|
@@ -2026,7 +1998,7 @@ const AuthorityType = {
|
|
|
2026
1998
|
Ciam: 3,
|
|
2027
1999
|
};
|
|
2028
2000
|
|
|
2029
|
-
/*! @azure/msal-common v15.
|
|
2001
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2030
2002
|
/*
|
|
2031
2003
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2032
2004
|
* Licensed under the MIT License.
|
|
@@ -2048,7 +2020,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2048
2020
|
return null;
|
|
2049
2021
|
}
|
|
2050
2022
|
|
|
2051
|
-
/*! @azure/msal-common v15.
|
|
2023
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2052
2024
|
/*
|
|
2053
2025
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2054
2026
|
* Licensed under the MIT License.
|
|
@@ -2072,7 +2044,7 @@ const ProtocolMode = {
|
|
|
2072
2044
|
EAR: "EAR",
|
|
2073
2045
|
};
|
|
2074
2046
|
|
|
2075
|
-
/*! @azure/msal-common v15.
|
|
2047
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2076
2048
|
|
|
2077
2049
|
/*
|
|
2078
2050
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2315,7 +2287,7 @@ class AccountEntity {
|
|
|
2315
2287
|
}
|
|
2316
2288
|
}
|
|
2317
2289
|
|
|
2318
|
-
/*! @azure/msal-common v15.
|
|
2290
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2319
2291
|
|
|
2320
2292
|
/*
|
|
2321
2293
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2380,7 +2352,7 @@ function mapToQueryString(parameters, encodeExtraParams = true, extraQueryParame
|
|
|
2380
2352
|
return queryParameterArray.join("&");
|
|
2381
2353
|
}
|
|
2382
2354
|
|
|
2383
|
-
/*! @azure/msal-common v15.
|
|
2355
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2384
2356
|
|
|
2385
2357
|
/*
|
|
2386
2358
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2544,7 +2516,7 @@ class UrlString {
|
|
|
2544
2516
|
}
|
|
2545
2517
|
}
|
|
2546
2518
|
|
|
2547
|
-
/*! @azure/msal-common v15.
|
|
2519
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2548
2520
|
|
|
2549
2521
|
/*
|
|
2550
2522
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2575,7 +2547,6 @@ const rawMetdataJSON = {
|
|
|
2575
2547
|
},
|
|
2576
2548
|
},
|
|
2577
2549
|
instanceDiscoveryMetadata: {
|
|
2578
|
-
tenant_discovery_endpoint: "https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",
|
|
2579
2550
|
metadata: [
|
|
2580
2551
|
{
|
|
2581
2552
|
preferred_network: "login.microsoftonline.com",
|
|
@@ -2684,42 +2655,60 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2684
2655
|
return null;
|
|
2685
2656
|
}
|
|
2686
2657
|
|
|
2687
|
-
/*! @azure/msal-common v15.
|
|
2658
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2688
2659
|
/*
|
|
2689
2660
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2690
2661
|
* Licensed under the MIT License.
|
|
2691
2662
|
*/
|
|
2692
|
-
const
|
|
2693
|
-
const
|
|
2663
|
+
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2664
|
+
const cacheErrorUnknown = "cache_error_unknown";
|
|
2694
2665
|
|
|
2695
|
-
/*! @azure/msal-common v15.
|
|
2666
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2696
2667
|
|
|
2697
2668
|
/*
|
|
2698
2669
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2699
2670
|
* Licensed under the MIT License.
|
|
2700
2671
|
*/
|
|
2701
2672
|
const CacheErrorMessages = {
|
|
2702
|
-
[
|
|
2703
|
-
[
|
|
2673
|
+
[cacheQuotaExceeded]: "Exceeded cache storage capacity.",
|
|
2674
|
+
[cacheErrorUnknown]: "Unexpected error occurred when using cache storage.",
|
|
2704
2675
|
};
|
|
2705
2676
|
/**
|
|
2706
2677
|
* Error thrown when there is an error with the cache
|
|
2707
2678
|
*/
|
|
2708
|
-
class CacheError extends
|
|
2679
|
+
class CacheError extends AuthError {
|
|
2709
2680
|
constructor(errorCode, errorMessage) {
|
|
2710
2681
|
const message = errorMessage ||
|
|
2711
2682
|
(CacheErrorMessages[errorCode]
|
|
2712
2683
|
? CacheErrorMessages[errorCode]
|
|
2713
|
-
: CacheErrorMessages[
|
|
2684
|
+
: CacheErrorMessages[cacheErrorUnknown]);
|
|
2714
2685
|
super(`${errorCode}: ${message}`);
|
|
2715
2686
|
Object.setPrototypeOf(this, CacheError.prototype);
|
|
2716
2687
|
this.name = "CacheError";
|
|
2717
2688
|
this.errorCode = errorCode;
|
|
2718
2689
|
this.errorMessage = message;
|
|
2719
2690
|
}
|
|
2691
|
+
}
|
|
2692
|
+
/**
|
|
2693
|
+
* Helper function to wrap browser errors in a CacheError object
|
|
2694
|
+
* @param e
|
|
2695
|
+
* @returns
|
|
2696
|
+
*/
|
|
2697
|
+
function createCacheError(e) {
|
|
2698
|
+
if (!(e instanceof Error)) {
|
|
2699
|
+
return new CacheError(cacheErrorUnknown);
|
|
2700
|
+
}
|
|
2701
|
+
if (e.name === "QuotaExceededError" ||
|
|
2702
|
+
e.name === "NS_ERROR_DOM_QUOTA_REACHED" ||
|
|
2703
|
+
e.message.includes("exceeded the quota")) {
|
|
2704
|
+
return new CacheError(cacheQuotaExceeded);
|
|
2705
|
+
}
|
|
2706
|
+
else {
|
|
2707
|
+
return new CacheError(e.name, e.message);
|
|
2708
|
+
}
|
|
2720
2709
|
}
|
|
2721
2710
|
|
|
2722
|
-
/*! @azure/msal-common v15.
|
|
2711
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2723
2712
|
|
|
2724
2713
|
/*
|
|
2725
2714
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2742,14 +2731,14 @@ class CacheManager {
|
|
|
2742
2731
|
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
|
2743
2732
|
* @returns Array of AccountInfo objects in cache
|
|
2744
2733
|
*/
|
|
2745
|
-
getAllAccounts(accountFilter) {
|
|
2746
|
-
return this.buildTenantProfiles(this.getAccountsFilteredBy(accountFilter
|
|
2734
|
+
getAllAccounts(accountFilter, correlationId) {
|
|
2735
|
+
return this.buildTenantProfiles(this.getAccountsFilteredBy(accountFilter, correlationId), correlationId, accountFilter);
|
|
2747
2736
|
}
|
|
2748
2737
|
/**
|
|
2749
2738
|
* Gets first tenanted AccountInfo object found based on provided filters
|
|
2750
2739
|
*/
|
|
2751
|
-
getAccountInfoFilteredBy(accountFilter) {
|
|
2752
|
-
const allAccounts = this.getAllAccounts(accountFilter);
|
|
2740
|
+
getAccountInfoFilteredBy(accountFilter, correlationId) {
|
|
2741
|
+
const allAccounts = this.getAllAccounts(accountFilter, correlationId);
|
|
2753
2742
|
if (allAccounts.length > 1) {
|
|
2754
2743
|
// If one or more accounts are found, prioritize accounts that have an ID token
|
|
2755
2744
|
const sortedAccounts = allAccounts.sort((account) => {
|
|
@@ -2770,8 +2759,8 @@ class CacheManager {
|
|
|
2770
2759
|
* @param accountFilter
|
|
2771
2760
|
* @returns
|
|
2772
2761
|
*/
|
|
2773
|
-
getBaseAccountInfo(accountFilter) {
|
|
2774
|
-
const accountEntities = this.getAccountsFilteredBy(accountFilter);
|
|
2762
|
+
getBaseAccountInfo(accountFilter, correlationId) {
|
|
2763
|
+
const accountEntities = this.getAccountsFilteredBy(accountFilter, correlationId);
|
|
2775
2764
|
if (accountEntities.length > 0) {
|
|
2776
2765
|
return accountEntities[0].getAccountInfo();
|
|
2777
2766
|
}
|
|
@@ -2786,12 +2775,12 @@ class CacheManager {
|
|
|
2786
2775
|
* @param accountFilter
|
|
2787
2776
|
* @returns Array of AccountInfo objects that match account and tenant profile filters
|
|
2788
2777
|
*/
|
|
2789
|
-
buildTenantProfiles(cachedAccounts, accountFilter) {
|
|
2778
|
+
buildTenantProfiles(cachedAccounts, correlationId, accountFilter) {
|
|
2790
2779
|
return cachedAccounts.flatMap((accountEntity) => {
|
|
2791
|
-
return this.getTenantProfilesFromAccountEntity(accountEntity, accountFilter?.tenantId, accountFilter);
|
|
2780
|
+
return this.getTenantProfilesFromAccountEntity(accountEntity, correlationId, accountFilter?.tenantId, accountFilter);
|
|
2792
2781
|
});
|
|
2793
2782
|
}
|
|
2794
|
-
getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, tenantProfileFilter) {
|
|
2783
|
+
getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, correlationId, tenantProfileFilter) {
|
|
2795
2784
|
let tenantedAccountInfo = null;
|
|
2796
2785
|
let idTokenClaims;
|
|
2797
2786
|
if (tenantProfileFilter) {
|
|
@@ -2799,7 +2788,7 @@ class CacheManager {
|
|
|
2799
2788
|
return null;
|
|
2800
2789
|
}
|
|
2801
2790
|
}
|
|
2802
|
-
const idToken = this.getIdToken(accountInfo, tokenKeys, tenantProfile.tenantId);
|
|
2791
|
+
const idToken = this.getIdToken(accountInfo, correlationId, tokenKeys, tenantProfile.tenantId);
|
|
2803
2792
|
if (idToken) {
|
|
2804
2793
|
idTokenClaims = extractTokenClaims(idToken.secret, this.cryptoImpl.base64Decode);
|
|
2805
2794
|
if (!this.idTokenClaimsMatchTenantProfileFilter(idTokenClaims, tenantProfileFilter)) {
|
|
@@ -2811,7 +2800,7 @@ class CacheManager {
|
|
|
2811
2800
|
tenantedAccountInfo = updateAccountTenantProfileData(accountInfo, tenantProfile, idTokenClaims, idToken?.secret);
|
|
2812
2801
|
return tenantedAccountInfo;
|
|
2813
2802
|
}
|
|
2814
|
-
getTenantProfilesFromAccountEntity(accountEntity, targetTenantId, tenantProfileFilter) {
|
|
2803
|
+
getTenantProfilesFromAccountEntity(accountEntity, correlationId, targetTenantId, tenantProfileFilter) {
|
|
2815
2804
|
const accountInfo = accountEntity.getAccountInfo();
|
|
2816
2805
|
let searchTenantProfiles = accountInfo.tenantProfiles || new Map();
|
|
2817
2806
|
const tokenKeys = this.getTokenKeys();
|
|
@@ -2831,7 +2820,7 @@ class CacheManager {
|
|
|
2831
2820
|
}
|
|
2832
2821
|
const matchingTenantProfiles = [];
|
|
2833
2822
|
searchTenantProfiles.forEach((tenantProfile) => {
|
|
2834
|
-
const tenantedAccountInfo = this.getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, tenantProfileFilter);
|
|
2823
|
+
const tenantedAccountInfo = this.getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, correlationId, tenantProfileFilter);
|
|
2835
2824
|
if (tenantedAccountInfo) {
|
|
2836
2825
|
matchingTenantProfiles.push(tenantedAccountInfo);
|
|
2837
2826
|
}
|
|
@@ -2905,26 +2894,16 @@ class CacheManager {
|
|
|
2905
2894
|
await this.setRefreshTokenCredential(cacheRecord.refreshToken, correlationId);
|
|
2906
2895
|
}
|
|
2907
2896
|
if (!!cacheRecord.appMetadata) {
|
|
2908
|
-
this.setAppMetadata(cacheRecord.appMetadata);
|
|
2897
|
+
this.setAppMetadata(cacheRecord.appMetadata, correlationId);
|
|
2909
2898
|
}
|
|
2910
2899
|
}
|
|
2911
2900
|
catch (e) {
|
|
2912
2901
|
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
|
-
}
|
|
2902
|
+
if (e instanceof AuthError) {
|
|
2903
|
+
throw e;
|
|
2924
2904
|
}
|
|
2925
2905
|
else {
|
|
2926
|
-
|
|
2927
|
-
throw new CacheError(cacheUnknownErrorCode);
|
|
2906
|
+
throw createCacheError(e);
|
|
2928
2907
|
}
|
|
2929
2908
|
}
|
|
2930
2909
|
}
|
|
@@ -2948,7 +2927,7 @@ class CacheManager {
|
|
|
2948
2927
|
if (!this.accessTokenKeyMatchesFilter(key, accessTokenFilter, false)) {
|
|
2949
2928
|
return;
|
|
2950
2929
|
}
|
|
2951
|
-
const tokenEntity = this.getAccessTokenCredential(key);
|
|
2930
|
+
const tokenEntity = this.getAccessTokenCredential(key, correlationId);
|
|
2952
2931
|
if (tokenEntity &&
|
|
2953
2932
|
this.credentialMatchesFilter(tokenEntity, accessTokenFilter)) {
|
|
2954
2933
|
const tokenScopeSet = ScopeSet.fromString(tokenEntity.target);
|
|
@@ -2964,7 +2943,7 @@ class CacheManager {
|
|
|
2964
2943
|
* Not checking for casing as keys are all generated in lower case, remember to convert to lower case if object properties are compared
|
|
2965
2944
|
* @param accountFilter - An object containing Account properties to filter by
|
|
2966
2945
|
*/
|
|
2967
|
-
getAccountsFilteredBy(accountFilter) {
|
|
2946
|
+
getAccountsFilteredBy(accountFilter, correlationId) {
|
|
2968
2947
|
const allAccountKeys = this.getAccountKeys();
|
|
2969
2948
|
const matchingAccounts = [];
|
|
2970
2949
|
allAccountKeys.forEach((cacheKey) => {
|
|
@@ -2972,7 +2951,7 @@ class CacheManager {
|
|
|
2972
2951
|
// Don't parse value if the key doesn't match the account filters
|
|
2973
2952
|
return;
|
|
2974
2953
|
}
|
|
2975
|
-
const entity = this.getAccount(cacheKey,
|
|
2954
|
+
const entity = this.getAccount(cacheKey, correlationId);
|
|
2976
2955
|
// Match base account fields
|
|
2977
2956
|
if (!entity) {
|
|
2978
2957
|
return;
|
|
@@ -3209,12 +3188,12 @@ class CacheManager {
|
|
|
3209
3188
|
* @param account
|
|
3210
3189
|
*/
|
|
3211
3190
|
removeAccount(accountKey, correlationId) {
|
|
3212
|
-
const account = this.getAccount(accountKey,
|
|
3191
|
+
const account = this.getAccount(accountKey, correlationId);
|
|
3213
3192
|
if (!account) {
|
|
3214
3193
|
return;
|
|
3215
3194
|
}
|
|
3216
3195
|
this.removeAccountContext(account, correlationId);
|
|
3217
|
-
this.removeItem(accountKey);
|
|
3196
|
+
this.removeItem(accountKey, correlationId);
|
|
3218
3197
|
}
|
|
3219
3198
|
/**
|
|
3220
3199
|
* Removes credentials associated with the provided account
|
|
@@ -3225,7 +3204,7 @@ class CacheManager {
|
|
|
3225
3204
|
const accountId = account.generateAccountId();
|
|
3226
3205
|
allTokenKeys.idToken.forEach((key) => {
|
|
3227
3206
|
if (key.indexOf(accountId) === 0) {
|
|
3228
|
-
this.removeIdToken(key);
|
|
3207
|
+
this.removeIdToken(key, correlationId);
|
|
3229
3208
|
}
|
|
3230
3209
|
});
|
|
3231
3210
|
allTokenKeys.accessToken.forEach((key) => {
|
|
@@ -3235,45 +3214,43 @@ class CacheManager {
|
|
|
3235
3214
|
});
|
|
3236
3215
|
allTokenKeys.refreshToken.forEach((key) => {
|
|
3237
3216
|
if (key.indexOf(accountId) === 0) {
|
|
3238
|
-
this.removeRefreshToken(key);
|
|
3217
|
+
this.removeRefreshToken(key, correlationId);
|
|
3239
3218
|
}
|
|
3240
3219
|
});
|
|
3241
3220
|
}
|
|
3242
3221
|
/**
|
|
3243
|
-
*
|
|
3244
|
-
* @param
|
|
3222
|
+
* Removes accessToken from the cache
|
|
3223
|
+
* @param key
|
|
3224
|
+
* @param correlationId
|
|
3245
3225
|
*/
|
|
3246
3226
|
removeAccessToken(key, correlationId) {
|
|
3247
|
-
const credential = this.getAccessTokenCredential(key);
|
|
3248
|
-
|
|
3227
|
+
const credential = this.getAccessTokenCredential(key, correlationId);
|
|
3228
|
+
this.removeItem(key, correlationId);
|
|
3229
|
+
this.performanceClient.incrementFields({ accessTokensRemoved: 1 }, correlationId);
|
|
3230
|
+
if (!credential ||
|
|
3231
|
+
credential.credentialType.toLowerCase() !==
|
|
3232
|
+
CredentialType.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase() ||
|
|
3233
|
+
credential.tokenType !== AuthenticationScheme.POP) {
|
|
3234
|
+
// If the credential is not a PoP token, we can return
|
|
3249
3235
|
return;
|
|
3250
3236
|
}
|
|
3251
|
-
this.removeItem(key);
|
|
3252
3237
|
// 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
|
-
}
|
|
3238
|
+
const kid = credential.keyId;
|
|
3239
|
+
if (kid) {
|
|
3240
|
+
void this.cryptoImpl.removeTokenBindingKey(kid).catch(() => {
|
|
3241
|
+
this.commonLogger.error(`Failed to remove token binding key ${kid}`, correlationId);
|
|
3242
|
+
this.performanceClient?.incrementFields({ removeTokenBindingKeyFailure: 1 }, correlationId);
|
|
3243
|
+
});
|
|
3267
3244
|
}
|
|
3268
3245
|
}
|
|
3269
3246
|
/**
|
|
3270
3247
|
* Removes all app metadata objects from cache.
|
|
3271
3248
|
*/
|
|
3272
|
-
removeAppMetadata() {
|
|
3249
|
+
removeAppMetadata(correlationId) {
|
|
3273
3250
|
const allCacheKeys = this.getKeys();
|
|
3274
3251
|
allCacheKeys.forEach((cacheKey) => {
|
|
3275
3252
|
if (this.isAppMetadata(cacheKey)) {
|
|
3276
|
-
this.removeItem(cacheKey);
|
|
3253
|
+
this.removeItem(cacheKey, correlationId);
|
|
3277
3254
|
}
|
|
3278
3255
|
});
|
|
3279
3256
|
return true;
|
|
@@ -3282,9 +3259,9 @@ class CacheManager {
|
|
|
3282
3259
|
* Retrieve AccountEntity from cache
|
|
3283
3260
|
* @param account
|
|
3284
3261
|
*/
|
|
3285
|
-
readAccountFromCache(account) {
|
|
3262
|
+
readAccountFromCache(account, correlationId) {
|
|
3286
3263
|
const accountKey = AccountEntity.generateAccountCacheKey(account);
|
|
3287
|
-
return this.getAccount(accountKey,
|
|
3264
|
+
return this.getAccount(accountKey, correlationId);
|
|
3288
3265
|
}
|
|
3289
3266
|
/**
|
|
3290
3267
|
* Retrieve IdTokenEntity from cache
|
|
@@ -3294,7 +3271,7 @@ class CacheManager {
|
|
|
3294
3271
|
* @param performanceClient {?IPerformanceClient}
|
|
3295
3272
|
* @param correlationId {?string}
|
|
3296
3273
|
*/
|
|
3297
|
-
getIdToken(account, tokenKeys, targetRealm, performanceClient
|
|
3274
|
+
getIdToken(account, correlationId, tokenKeys, targetRealm, performanceClient) {
|
|
3298
3275
|
this.commonLogger.trace("CacheManager - getIdToken called");
|
|
3299
3276
|
const idTokenFilter = {
|
|
3300
3277
|
homeAccountId: account.homeAccountId,
|
|
@@ -3303,7 +3280,7 @@ class CacheManager {
|
|
|
3303
3280
|
clientId: this.clientId,
|
|
3304
3281
|
realm: targetRealm,
|
|
3305
3282
|
};
|
|
3306
|
-
const idTokenMap = this.getIdTokensByFilter(idTokenFilter, tokenKeys);
|
|
3283
|
+
const idTokenMap = this.getIdTokensByFilter(idTokenFilter, correlationId, tokenKeys);
|
|
3307
3284
|
const numIdTokens = idTokenMap.size;
|
|
3308
3285
|
if (numIdTokens < 1) {
|
|
3309
3286
|
this.commonLogger.info("CacheManager:getIdToken - No token found");
|
|
@@ -3336,7 +3313,7 @@ class CacheManager {
|
|
|
3336
3313
|
// Multiple tokens for a single tenant profile, remove all and return null
|
|
3337
3314
|
this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them");
|
|
3338
3315
|
tokensToBeRemoved.forEach((idToken, key) => {
|
|
3339
|
-
this.removeIdToken(key);
|
|
3316
|
+
this.removeIdToken(key, correlationId);
|
|
3340
3317
|
});
|
|
3341
3318
|
if (performanceClient && correlationId) {
|
|
3342
3319
|
performanceClient.addFields({ multiMatchedID: idTokenMap.size }, correlationId);
|
|
@@ -3351,7 +3328,7 @@ class CacheManager {
|
|
|
3351
3328
|
* @param filter
|
|
3352
3329
|
* @returns
|
|
3353
3330
|
*/
|
|
3354
|
-
getIdTokensByFilter(filter, tokenKeys) {
|
|
3331
|
+
getIdTokensByFilter(filter, correlationId, tokenKeys) {
|
|
3355
3332
|
const idTokenKeys = (tokenKeys && tokenKeys.idToken) || this.getTokenKeys().idToken;
|
|
3356
3333
|
const idTokens = new Map();
|
|
3357
3334
|
idTokenKeys.forEach((key) => {
|
|
@@ -3361,7 +3338,7 @@ class CacheManager {
|
|
|
3361
3338
|
})) {
|
|
3362
3339
|
return;
|
|
3363
3340
|
}
|
|
3364
|
-
const idToken = this.getIdTokenCredential(key);
|
|
3341
|
+
const idToken = this.getIdTokenCredential(key, correlationId);
|
|
3365
3342
|
if (idToken && this.credentialMatchesFilter(idToken, filter)) {
|
|
3366
3343
|
idTokens.set(key, idToken);
|
|
3367
3344
|
}
|
|
@@ -3390,20 +3367,21 @@ class CacheManager {
|
|
|
3390
3367
|
* Removes idToken from the cache
|
|
3391
3368
|
* @param key
|
|
3392
3369
|
*/
|
|
3393
|
-
removeIdToken(key) {
|
|
3394
|
-
this.removeItem(key);
|
|
3370
|
+
removeIdToken(key, correlationId) {
|
|
3371
|
+
this.removeItem(key, correlationId);
|
|
3395
3372
|
}
|
|
3396
3373
|
/**
|
|
3397
3374
|
* Removes refresh token from the cache
|
|
3398
3375
|
* @param key
|
|
3399
3376
|
*/
|
|
3400
|
-
removeRefreshToken(key) {
|
|
3401
|
-
this.removeItem(key);
|
|
3377
|
+
removeRefreshToken(key, correlationId) {
|
|
3378
|
+
this.removeItem(key, correlationId);
|
|
3402
3379
|
}
|
|
3403
3380
|
/**
|
|
3404
3381
|
* Retrieve AccessTokenEntity from cache
|
|
3405
3382
|
* @param account {AccountInfo}
|
|
3406
3383
|
* @param request {BaseAuthRequest}
|
|
3384
|
+
* @param correlationId {?string}
|
|
3407
3385
|
* @param tokenKeys {?TokenKeys}
|
|
3408
3386
|
* @param performanceClient {?IPerformanceClient}
|
|
3409
3387
|
*/
|
|
@@ -3438,7 +3416,7 @@ class CacheManager {
|
|
|
3438
3416
|
accessTokenKeys.forEach((key) => {
|
|
3439
3417
|
// Validate key
|
|
3440
3418
|
if (this.accessTokenKeyMatchesFilter(key, accessTokenFilter, true)) {
|
|
3441
|
-
const accessToken = this.getAccessTokenCredential(key);
|
|
3419
|
+
const accessToken = this.getAccessTokenCredential(key, correlationId);
|
|
3442
3420
|
// Validate value
|
|
3443
3421
|
if (accessToken &&
|
|
3444
3422
|
this.credentialMatchesFilter(accessToken, accessTokenFilter)) {
|
|
@@ -3508,14 +3486,14 @@ class CacheManager {
|
|
|
3508
3486
|
* @param filter
|
|
3509
3487
|
* @returns
|
|
3510
3488
|
*/
|
|
3511
|
-
getAccessTokensByFilter(filter) {
|
|
3489
|
+
getAccessTokensByFilter(filter, correlationId) {
|
|
3512
3490
|
const tokenKeys = this.getTokenKeys();
|
|
3513
3491
|
const accessTokens = [];
|
|
3514
3492
|
tokenKeys.accessToken.forEach((key) => {
|
|
3515
3493
|
if (!this.accessTokenKeyMatchesFilter(key, filter, true)) {
|
|
3516
3494
|
return;
|
|
3517
3495
|
}
|
|
3518
|
-
const accessToken = this.getAccessTokenCredential(key);
|
|
3496
|
+
const accessToken = this.getAccessTokenCredential(key, correlationId);
|
|
3519
3497
|
if (accessToken &&
|
|
3520
3498
|
this.credentialMatchesFilter(accessToken, filter)) {
|
|
3521
3499
|
accessTokens.push(accessToken);
|
|
@@ -3527,11 +3505,11 @@ class CacheManager {
|
|
|
3527
3505
|
* Helper to retrieve the appropriate refresh token from cache
|
|
3528
3506
|
* @param account {AccountInfo}
|
|
3529
3507
|
* @param familyRT {boolean}
|
|
3508
|
+
* @param correlationId {?string}
|
|
3530
3509
|
* @param tokenKeys {?TokenKeys}
|
|
3531
3510
|
* @param performanceClient {?IPerformanceClient}
|
|
3532
|
-
* @param correlationId {?string}
|
|
3533
3511
|
*/
|
|
3534
|
-
getRefreshToken(account, familyRT, tokenKeys, performanceClient
|
|
3512
|
+
getRefreshToken(account, familyRT, correlationId, tokenKeys, performanceClient) {
|
|
3535
3513
|
this.commonLogger.trace("CacheManager - getRefreshToken called");
|
|
3536
3514
|
const id = familyRT ? THE_FAMILY_ID : undefined;
|
|
3537
3515
|
const refreshTokenFilter = {
|
|
@@ -3547,7 +3525,7 @@ class CacheManager {
|
|
|
3547
3525
|
refreshTokenKeys.forEach((key) => {
|
|
3548
3526
|
// Validate key
|
|
3549
3527
|
if (this.refreshTokenKeyMatchesFilter(key, refreshTokenFilter)) {
|
|
3550
|
-
const refreshToken = this.getRefreshTokenCredential(key);
|
|
3528
|
+
const refreshToken = this.getRefreshTokenCredential(key, correlationId);
|
|
3551
3529
|
// Validate value
|
|
3552
3530
|
if (refreshToken &&
|
|
3553
3531
|
this.credentialMatchesFilter(refreshToken, refreshTokenFilter)) {
|
|
@@ -3897,7 +3875,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3897
3875
|
}
|
|
3898
3876
|
}
|
|
3899
3877
|
|
|
3900
|
-
/*! @azure/msal-common v15.
|
|
3878
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
3901
3879
|
/*
|
|
3902
3880
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3903
3881
|
* Licensed under the MIT License.
|
|
@@ -4389,7 +4367,6 @@ const PerformanceEventAbbreviations = new Map([
|
|
|
4389
4367
|
* @enum {number}
|
|
4390
4368
|
*/
|
|
4391
4369
|
const PerformanceEventStatus = {
|
|
4392
|
-
NotStarted: 0,
|
|
4393
4370
|
InProgress: 1,
|
|
4394
4371
|
Completed: 2,
|
|
4395
4372
|
};
|
|
@@ -4410,7 +4387,7 @@ const IntFields = new Set([
|
|
|
4410
4387
|
"encryptedCacheExpiredCount",
|
|
4411
4388
|
]);
|
|
4412
4389
|
|
|
4413
|
-
/*! @azure/msal-common v15.
|
|
4390
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4414
4391
|
|
|
4415
4392
|
/*
|
|
4416
4393
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4489,7 +4466,7 @@ class StubPerformanceClient {
|
|
|
4489
4466
|
}
|
|
4490
4467
|
}
|
|
4491
4468
|
|
|
4492
|
-
/*! @azure/msal-common v15.
|
|
4469
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4493
4470
|
|
|
4494
4471
|
/*
|
|
4495
4472
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4589,7 +4566,7 @@ function isOidcProtocolMode(config) {
|
|
|
4589
4566
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4590
4567
|
}
|
|
4591
4568
|
|
|
4592
|
-
/*! @azure/msal-common v15.
|
|
4569
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4593
4570
|
/*
|
|
4594
4571
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4595
4572
|
* Licensed under the MIT License.
|
|
@@ -4599,7 +4576,7 @@ const CcsCredentialType = {
|
|
|
4599
4576
|
UPN: "UPN",
|
|
4600
4577
|
};
|
|
4601
4578
|
|
|
4602
|
-
/*! @azure/msal-common v15.
|
|
4579
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4603
4580
|
/*
|
|
4604
4581
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4605
4582
|
* Licensed under the MIT License.
|
|
@@ -4649,7 +4626,7 @@ const INSTANCE_AWARE = "instance_aware";
|
|
|
4649
4626
|
const EAR_JWK = "ear_jwk";
|
|
4650
4627
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
4651
4628
|
|
|
4652
|
-
/*! @azure/msal-common v15.
|
|
4629
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4653
4630
|
|
|
4654
4631
|
/*
|
|
4655
4632
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5017,7 +4994,7 @@ function addEARParameters(parameters, jwk) {
|
|
|
5017
4994
|
parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
|
|
5018
4995
|
}
|
|
5019
4996
|
|
|
5020
|
-
/*! @azure/msal-common v15.
|
|
4997
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5021
4998
|
/*
|
|
5022
4999
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5023
5000
|
* Licensed under the MIT License.
|
|
@@ -5029,7 +5006,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
5029
5006
|
response.hasOwnProperty("jwks_uri"));
|
|
5030
5007
|
}
|
|
5031
5008
|
|
|
5032
|
-
/*! @azure/msal-common v15.
|
|
5009
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5033
5010
|
/*
|
|
5034
5011
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5035
5012
|
* Licensed under the MIT License.
|
|
@@ -5039,7 +5016,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
5039
5016
|
response.hasOwnProperty("metadata"));
|
|
5040
5017
|
}
|
|
5041
5018
|
|
|
5042
|
-
/*! @azure/msal-common v15.
|
|
5019
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5043
5020
|
/*
|
|
5044
5021
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5045
5022
|
* Licensed under the MIT License.
|
|
@@ -5049,7 +5026,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
5049
5026
|
response.hasOwnProperty("error_description"));
|
|
5050
5027
|
}
|
|
5051
5028
|
|
|
5052
|
-
/*! @azure/msal-common v15.
|
|
5029
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5053
5030
|
/*
|
|
5054
5031
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5055
5032
|
* Licensed under the MIT License.
|
|
@@ -5145,7 +5122,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
5145
5122
|
};
|
|
5146
5123
|
};
|
|
5147
5124
|
|
|
5148
|
-
/*! @azure/msal-common v15.
|
|
5125
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5149
5126
|
|
|
5150
5127
|
/*
|
|
5151
5128
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5251,7 +5228,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5251
5228
|
},
|
|
5252
5229
|
};
|
|
5253
5230
|
|
|
5254
|
-
/*! @azure/msal-common v15.
|
|
5231
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5255
5232
|
|
|
5256
5233
|
/*
|
|
5257
5234
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6090,7 +6067,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6090
6067
|
};
|
|
6091
6068
|
}
|
|
6092
6069
|
|
|
6093
|
-
/*! @azure/msal-common v15.
|
|
6070
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6094
6071
|
|
|
6095
6072
|
/*
|
|
6096
6073
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6121,7 +6098,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6121
6098
|
}
|
|
6122
6099
|
}
|
|
6123
6100
|
|
|
6124
|
-
/*! @azure/msal-common v15.
|
|
6101
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6125
6102
|
|
|
6126
6103
|
/*
|
|
6127
6104
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6140,7 +6117,7 @@ class ServerError extends AuthError {
|
|
|
6140
6117
|
}
|
|
6141
6118
|
}
|
|
6142
6119
|
|
|
6143
|
-
/*! @azure/msal-common v15.
|
|
6120
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6144
6121
|
/*
|
|
6145
6122
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6146
6123
|
* Licensed under the MIT License.
|
|
@@ -6161,7 +6138,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
6161
6138
|
};
|
|
6162
6139
|
}
|
|
6163
6140
|
|
|
6164
|
-
/*! @azure/msal-common v15.
|
|
6141
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6165
6142
|
|
|
6166
6143
|
/*
|
|
6167
6144
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6181,12 +6158,12 @@ class ThrottlingUtils {
|
|
|
6181
6158
|
* @param cacheManager
|
|
6182
6159
|
* @param thumbprint
|
|
6183
6160
|
*/
|
|
6184
|
-
static preProcess(cacheManager, thumbprint) {
|
|
6161
|
+
static preProcess(cacheManager, thumbprint, correlationId) {
|
|
6185
6162
|
const key = ThrottlingUtils.generateThrottlingStorageKey(thumbprint);
|
|
6186
6163
|
const value = cacheManager.getThrottlingCache(key);
|
|
6187
6164
|
if (value) {
|
|
6188
6165
|
if (value.throttleTime < Date.now()) {
|
|
6189
|
-
cacheManager.removeItem(key);
|
|
6166
|
+
cacheManager.removeItem(key, correlationId);
|
|
6190
6167
|
return;
|
|
6191
6168
|
}
|
|
6192
6169
|
throw new ServerError(value.errorCodes?.join(" ") || Constants.EMPTY_STRING, value.errorMessage, value.subError);
|
|
@@ -6198,7 +6175,7 @@ class ThrottlingUtils {
|
|
|
6198
6175
|
* @param thumbprint
|
|
6199
6176
|
* @param response
|
|
6200
6177
|
*/
|
|
6201
|
-
static postProcess(cacheManager, thumbprint, response) {
|
|
6178
|
+
static postProcess(cacheManager, thumbprint, response, correlationId) {
|
|
6202
6179
|
if (ThrottlingUtils.checkResponseStatus(response) ||
|
|
6203
6180
|
ThrottlingUtils.checkResponseForRetryAfter(response)) {
|
|
6204
6181
|
const thumbprintValue = {
|
|
@@ -6208,7 +6185,7 @@ class ThrottlingUtils {
|
|
|
6208
6185
|
errorMessage: response.body.error_description,
|
|
6209
6186
|
subError: response.body.suberror,
|
|
6210
6187
|
};
|
|
6211
|
-
cacheManager.setThrottlingCache(ThrottlingUtils.generateThrottlingStorageKey(thumbprint), thumbprintValue);
|
|
6188
|
+
cacheManager.setThrottlingCache(ThrottlingUtils.generateThrottlingStorageKey(thumbprint), thumbprintValue, correlationId);
|
|
6212
6189
|
}
|
|
6213
6190
|
}
|
|
6214
6191
|
/**
|
|
@@ -6244,11 +6221,11 @@ class ThrottlingUtils {
|
|
|
6244
6221
|
static removeThrottle(cacheManager, clientId, request, homeAccountIdentifier) {
|
|
6245
6222
|
const thumbprint = getRequestThumbprint(clientId, request, homeAccountIdentifier);
|
|
6246
6223
|
const key = this.generateThrottlingStorageKey(thumbprint);
|
|
6247
|
-
cacheManager.removeItem(key);
|
|
6224
|
+
cacheManager.removeItem(key, request.correlationId);
|
|
6248
6225
|
}
|
|
6249
6226
|
}
|
|
6250
6227
|
|
|
6251
|
-
/*! @azure/msal-common v15.
|
|
6228
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6252
6229
|
|
|
6253
6230
|
/*
|
|
6254
6231
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6279,7 +6256,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
6279
6256
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6280
6257
|
}
|
|
6281
6258
|
|
|
6282
|
-
/*! @azure/msal-common v15.
|
|
6259
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6283
6260
|
|
|
6284
6261
|
/*
|
|
6285
6262
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6361,7 +6338,7 @@ class BaseClient {
|
|
|
6361
6338
|
* @param correlationId - CorrelationId for telemetry
|
|
6362
6339
|
*/
|
|
6363
6340
|
async sendPostRequest(thumbprint, tokenEndpoint, options, correlationId) {
|
|
6364
|
-
ThrottlingUtils.preProcess(this.cacheManager, thumbprint);
|
|
6341
|
+
ThrottlingUtils.preProcess(this.cacheManager, thumbprint, correlationId);
|
|
6365
6342
|
let response;
|
|
6366
6343
|
try {
|
|
6367
6344
|
response = await invokeAsync((this.networkClient.sendPostRequestAsync.bind(this.networkClient)), PerformanceEvents.NetworkClientSendPostRequestAsync, this.logger, this.performanceClient, correlationId)(tokenEndpoint, options);
|
|
@@ -6396,7 +6373,7 @@ class BaseClient {
|
|
|
6396
6373
|
throw createClientAuthError(networkError);
|
|
6397
6374
|
}
|
|
6398
6375
|
}
|
|
6399
|
-
ThrottlingUtils.postProcess(this.cacheManager, thumbprint, response);
|
|
6376
|
+
ThrottlingUtils.postProcess(this.cacheManager, thumbprint, response, correlationId);
|
|
6400
6377
|
return response;
|
|
6401
6378
|
}
|
|
6402
6379
|
/**
|
|
@@ -6427,7 +6404,7 @@ class BaseClient {
|
|
|
6427
6404
|
}
|
|
6428
6405
|
}
|
|
6429
6406
|
|
|
6430
|
-
/*! @azure/msal-common v15.
|
|
6407
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6431
6408
|
/*
|
|
6432
6409
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6433
6410
|
* Licensed under the MIT License.
|
|
@@ -6455,7 +6432,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6455
6432
|
uxNotAllowed: uxNotAllowed
|
|
6456
6433
|
});
|
|
6457
6434
|
|
|
6458
|
-
/*! @azure/msal-common v15.
|
|
6435
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6459
6436
|
|
|
6460
6437
|
/*
|
|
6461
6438
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6545,7 +6522,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
6545
6522
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6546
6523
|
}
|
|
6547
6524
|
|
|
6548
|
-
/*! @azure/msal-common v15.
|
|
6525
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6549
6526
|
|
|
6550
6527
|
/*
|
|
6551
6528
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6617,16 +6594,14 @@ class ProtocolUtils {
|
|
|
6617
6594
|
}
|
|
6618
6595
|
}
|
|
6619
6596
|
|
|
6620
|
-
/*! @azure/msal-common v15.
|
|
6597
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6621
6598
|
|
|
6622
6599
|
/*
|
|
6623
6600
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6624
6601
|
* Licensed under the MIT License.
|
|
6625
6602
|
*/
|
|
6626
6603
|
const KeyLocation = {
|
|
6627
|
-
SW: "sw"
|
|
6628
|
-
UHW: "uhw",
|
|
6629
|
-
};
|
|
6604
|
+
SW: "sw"};
|
|
6630
6605
|
/** @internal */
|
|
6631
6606
|
class PopTokenGenerator {
|
|
6632
6607
|
constructor(cryptoUtils, performanceClient) {
|
|
@@ -6701,7 +6676,7 @@ class PopTokenGenerator {
|
|
|
6701
6676
|
}
|
|
6702
6677
|
}
|
|
6703
6678
|
|
|
6704
|
-
/*! @azure/msal-common v15.
|
|
6679
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6705
6680
|
/*
|
|
6706
6681
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6707
6682
|
* Licensed under the MIT License.
|
|
@@ -6728,7 +6703,7 @@ class PopTokenGenerator {
|
|
|
6728
6703
|
}
|
|
6729
6704
|
}
|
|
6730
6705
|
|
|
6731
|
-
/*! @azure/msal-common v15.
|
|
6706
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6732
6707
|
|
|
6733
6708
|
/*
|
|
6734
6709
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6841,7 +6816,7 @@ class ResponseHandler {
|
|
|
6841
6816
|
!forceCacheRefreshTokenResponse &&
|
|
6842
6817
|
cacheRecord.account) {
|
|
6843
6818
|
const key = cacheRecord.account.generateAccountKey();
|
|
6844
|
-
const account = this.cacheStorage.getAccount(key);
|
|
6819
|
+
const account = this.cacheStorage.getAccount(key, request.correlationId);
|
|
6845
6820
|
if (!account) {
|
|
6846
6821
|
this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache");
|
|
6847
6822
|
return await ResponseHandler.generateAuthenticationResult(this.cryptoObj, authority, cacheRecord, false, request, idTokenClaims, requestStateObj, undefined, serverRequestId);
|
|
@@ -6876,7 +6851,7 @@ class ResponseHandler {
|
|
|
6876
6851
|
let cachedAccount;
|
|
6877
6852
|
if (serverTokenResponse.id_token && !!idTokenClaims) {
|
|
6878
6853
|
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
|
|
6854
|
+
cachedAccount = buildAccountToCache(this.cacheStorage, authority, this.homeAccountIdentifier, this.cryptoObj.base64Decode, request.correlationId, idTokenClaims, serverTokenResponse.client_info, env, claimsTenantId, authCodePayload, undefined, // nativeAccountId
|
|
6880
6855
|
this.logger);
|
|
6881
6856
|
}
|
|
6882
6857
|
// AccessToken
|
|
@@ -7025,7 +7000,7 @@ class ResponseHandler {
|
|
|
7025
7000
|
};
|
|
7026
7001
|
}
|
|
7027
7002
|
}
|
|
7028
|
-
function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decode, idTokenClaims, clientInfo, environment, claimsTenantId, authCodePayload, nativeAccountId, logger) {
|
|
7003
|
+
function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, environment, claimsTenantId, authCodePayload, nativeAccountId, logger) {
|
|
7029
7004
|
logger?.verbose("setCachedAccount called");
|
|
7030
7005
|
// Check if base account is already cached
|
|
7031
7006
|
const accountKeys = cacheStorage.getAccountKeys();
|
|
@@ -7034,7 +7009,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
7034
7009
|
});
|
|
7035
7010
|
let cachedAccount = null;
|
|
7036
7011
|
if (baseAccountKey) {
|
|
7037
|
-
cachedAccount = cacheStorage.getAccount(baseAccountKey);
|
|
7012
|
+
cachedAccount = cacheStorage.getAccount(baseAccountKey, correlationId);
|
|
7038
7013
|
}
|
|
7039
7014
|
const baseAccount = cachedAccount ||
|
|
7040
7015
|
AccountEntity.createAccount({
|
|
@@ -7059,74 +7034,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
7059
7034
|
return baseAccount;
|
|
7060
7035
|
}
|
|
7061
7036
|
|
|
7062
|
-
/*! @azure/msal-common v15.
|
|
7063
|
-
|
|
7064
|
-
/*
|
|
7065
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7066
|
-
* Licensed under the MIT License.
|
|
7067
|
-
*/
|
|
7068
|
-
/**
|
|
7069
|
-
* Validates server consumable params from the "request" objects
|
|
7070
|
-
*/
|
|
7071
|
-
class RequestValidator {
|
|
7072
|
-
/**
|
|
7073
|
-
* Utility to check if the `redirectUri` in the request is a non-null value
|
|
7074
|
-
* @param redirectUri
|
|
7075
|
-
*/
|
|
7076
|
-
static validateRedirectUri(redirectUri) {
|
|
7077
|
-
if (!redirectUri) {
|
|
7078
|
-
throw createClientConfigurationError(redirectUriEmpty);
|
|
7079
|
-
}
|
|
7080
|
-
}
|
|
7081
|
-
/**
|
|
7082
|
-
* Utility to validate prompt sent by the user in the request
|
|
7083
|
-
* @param prompt
|
|
7084
|
-
*/
|
|
7085
|
-
static validatePrompt(prompt) {
|
|
7086
|
-
const promptValues = [];
|
|
7087
|
-
for (const value in PromptValue) {
|
|
7088
|
-
promptValues.push(PromptValue[value]);
|
|
7089
|
-
}
|
|
7090
|
-
if (promptValues.indexOf(prompt) < 0) {
|
|
7091
|
-
throw createClientConfigurationError(invalidPromptValue);
|
|
7092
|
-
}
|
|
7093
|
-
}
|
|
7094
|
-
static validateClaims(claims) {
|
|
7095
|
-
try {
|
|
7096
|
-
JSON.parse(claims);
|
|
7097
|
-
}
|
|
7098
|
-
catch (e) {
|
|
7099
|
-
throw createClientConfigurationError(invalidClaims);
|
|
7100
|
-
}
|
|
7101
|
-
}
|
|
7102
|
-
/**
|
|
7103
|
-
* Utility to validate code_challenge and code_challenge_method
|
|
7104
|
-
* @param codeChallenge
|
|
7105
|
-
* @param codeChallengeMethod
|
|
7106
|
-
*/
|
|
7107
|
-
static validateCodeChallengeParams(codeChallenge, codeChallengeMethod) {
|
|
7108
|
-
if (!codeChallenge || !codeChallengeMethod) {
|
|
7109
|
-
throw createClientConfigurationError(pkceParamsMissing);
|
|
7110
|
-
}
|
|
7111
|
-
else {
|
|
7112
|
-
this.validateCodeChallengeMethod(codeChallengeMethod);
|
|
7113
|
-
}
|
|
7114
|
-
}
|
|
7115
|
-
/**
|
|
7116
|
-
* Utility to validate code_challenge_method
|
|
7117
|
-
* @param codeChallengeMethod
|
|
7118
|
-
*/
|
|
7119
|
-
static validateCodeChallengeMethod(codeChallengeMethod) {
|
|
7120
|
-
if ([
|
|
7121
|
-
CodeChallengeMethodValues.PLAIN,
|
|
7122
|
-
CodeChallengeMethodValues.S256,
|
|
7123
|
-
].indexOf(codeChallengeMethod) < 0) {
|
|
7124
|
-
throw createClientConfigurationError(invalidCodeChallengeMethod);
|
|
7125
|
-
}
|
|
7126
|
-
}
|
|
7127
|
-
}
|
|
7128
|
-
|
|
7129
|
-
/*! @azure/msal-common v15.7.1 2025-06-18 */
|
|
7037
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7130
7038
|
/*
|
|
7131
7039
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7132
7040
|
* Licensed under the MIT License.
|
|
@@ -7144,7 +7052,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
7144
7052
|
}
|
|
7145
7053
|
}
|
|
7146
7054
|
|
|
7147
|
-
/*! @azure/msal-common v15.
|
|
7055
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7148
7056
|
|
|
7149
7057
|
/*
|
|
7150
7058
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7238,7 +7146,9 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7238
7146
|
*/
|
|
7239
7147
|
if (!this.includeRedirectUri) {
|
|
7240
7148
|
// Just validate
|
|
7241
|
-
|
|
7149
|
+
if (!request.redirectUri) {
|
|
7150
|
+
throw createClientConfigurationError(redirectUriEmpty);
|
|
7151
|
+
}
|
|
7242
7152
|
}
|
|
7243
7153
|
else {
|
|
7244
7154
|
// Validate and include redirect uri
|
|
@@ -7377,7 +7287,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7377
7287
|
}
|
|
7378
7288
|
}
|
|
7379
7289
|
|
|
7380
|
-
/*! @azure/msal-common v15.
|
|
7290
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7381
7291
|
|
|
7382
7292
|
/*
|
|
7383
7293
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7450,7 +7360,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7450
7360
|
async acquireTokenWithCachedRefreshToken(request, foci) {
|
|
7451
7361
|
this.performanceClient?.addQueueMeasurement(PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken, request.correlationId);
|
|
7452
7362
|
// 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
|
|
7363
|
+
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
7364
|
if (!refreshToken) {
|
|
7455
7365
|
throw createInteractionRequiredAuthError(noTokensFound);
|
|
7456
7366
|
}
|
|
@@ -7480,7 +7390,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7480
7390
|
// Remove bad refresh token from cache
|
|
7481
7391
|
this.logger.verbose("acquireTokenWithRefreshToken: bad refresh token, removing from cache");
|
|
7482
7392
|
const badRefreshTokenKey = generateCredentialKey(refreshToken);
|
|
7483
|
-
this.cacheManager.removeRefreshToken(badRefreshTokenKey);
|
|
7393
|
+
this.cacheManager.removeRefreshToken(badRefreshTokenKey, request.correlationId);
|
|
7484
7394
|
}
|
|
7485
7395
|
}
|
|
7486
7396
|
throw e;
|
|
@@ -7586,7 +7496,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7586
7496
|
}
|
|
7587
7497
|
}
|
|
7588
7498
|
|
|
7589
|
-
/*! @azure/msal-common v15.
|
|
7499
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7590
7500
|
|
|
7591
7501
|
/*
|
|
7592
7502
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7638,9 +7548,9 @@ class SilentFlowClient extends BaseClient {
|
|
|
7638
7548
|
}
|
|
7639
7549
|
const environment = request.authority || this.authority.getPreferredCache();
|
|
7640
7550
|
const cacheRecord = {
|
|
7641
|
-
account: this.cacheManager.readAccountFromCache(request.account),
|
|
7551
|
+
account: this.cacheManager.readAccountFromCache(request.account, request.correlationId),
|
|
7642
7552
|
accessToken: cachedAccessToken,
|
|
7643
|
-
idToken: this.cacheManager.getIdToken(request.account, tokenKeys, requestTenantId, this.performanceClient
|
|
7553
|
+
idToken: this.cacheManager.getIdToken(request.account, request.correlationId, tokenKeys, requestTenantId, this.performanceClient),
|
|
7644
7554
|
refreshToken: null,
|
|
7645
7555
|
appMetadata: this.cacheManager.readAppMetadataFromCache(environment),
|
|
7646
7556
|
};
|
|
@@ -7684,7 +7594,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
7684
7594
|
}
|
|
7685
7595
|
}
|
|
7686
7596
|
|
|
7687
|
-
/*! @azure/msal-common v15.
|
|
7597
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7688
7598
|
|
|
7689
7599
|
/*
|
|
7690
7600
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7699,7 +7609,7 @@ const StubbedNetworkModule = {
|
|
|
7699
7609
|
},
|
|
7700
7610
|
};
|
|
7701
7611
|
|
|
7702
|
-
/*! @azure/msal-common v15.
|
|
7612
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7703
7613
|
|
|
7704
7614
|
/*
|
|
7705
7615
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7923,7 +7833,7 @@ function extractLoginHint(account) {
|
|
|
7923
7833
|
return account.idTokenClaims?.login_hint || null;
|
|
7924
7834
|
}
|
|
7925
7835
|
|
|
7926
|
-
/*! @azure/msal-common v15.
|
|
7836
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7927
7837
|
|
|
7928
7838
|
/*
|
|
7929
7839
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7981,7 +7891,7 @@ class AuthenticationHeaderParser {
|
|
|
7981
7891
|
}
|
|
7982
7892
|
}
|
|
7983
7893
|
|
|
7984
|
-
/*! @azure/msal-common v15.
|
|
7894
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7985
7895
|
|
|
7986
7896
|
/*
|
|
7987
7897
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8120,7 +8030,7 @@ class ServerTelemetryManager {
|
|
|
8120
8030
|
else {
|
|
8121
8031
|
lastRequests.errors.push(SERVER_TELEM_CONSTANTS.UNKNOWN_ERROR);
|
|
8122
8032
|
}
|
|
8123
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8033
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8124
8034
|
return;
|
|
8125
8035
|
}
|
|
8126
8036
|
/**
|
|
@@ -8129,7 +8039,7 @@ class ServerTelemetryManager {
|
|
|
8129
8039
|
incrementCacheHits() {
|
|
8130
8040
|
const lastRequests = this.getLastRequests();
|
|
8131
8041
|
lastRequests.cacheHits += 1;
|
|
8132
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8042
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8133
8043
|
return lastRequests.cacheHits;
|
|
8134
8044
|
}
|
|
8135
8045
|
/**
|
|
@@ -8153,7 +8063,7 @@ class ServerTelemetryManager {
|
|
|
8153
8063
|
const errorCount = lastRequests.errors.length;
|
|
8154
8064
|
if (numErrorsFlushed === errorCount) {
|
|
8155
8065
|
// All errors were sent on last request, clear Telemetry cache
|
|
8156
|
-
this.cacheManager.removeItem(this.telemetryCacheKey);
|
|
8066
|
+
this.cacheManager.removeItem(this.telemetryCacheKey, this.correlationId);
|
|
8157
8067
|
}
|
|
8158
8068
|
else {
|
|
8159
8069
|
// Partial data was flushed to server, construct a new telemetry cache item with errors that were not flushed
|
|
@@ -8162,7 +8072,7 @@ class ServerTelemetryManager {
|
|
|
8162
8072
|
errors: lastRequests.errors.slice(numErrorsFlushed),
|
|
8163
8073
|
cacheHits: 0,
|
|
8164
8074
|
};
|
|
8165
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, serverTelemEntity);
|
|
8075
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, serverTelemEntity, this.correlationId);
|
|
8166
8076
|
}
|
|
8167
8077
|
}
|
|
8168
8078
|
/**
|
|
@@ -8229,7 +8139,7 @@ class ServerTelemetryManager {
|
|
|
8229
8139
|
setNativeBrokerErrorCode(errorCode) {
|
|
8230
8140
|
const lastRequests = this.getLastRequests();
|
|
8231
8141
|
lastRequests.nativeBrokerErrorCode = errorCode;
|
|
8232
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8142
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8233
8143
|
}
|
|
8234
8144
|
getNativeBrokerErrorCode() {
|
|
8235
8145
|
return this.getLastRequests().nativeBrokerErrorCode;
|
|
@@ -8237,14 +8147,14 @@ class ServerTelemetryManager {
|
|
|
8237
8147
|
clearNativeBrokerErrorCode() {
|
|
8238
8148
|
const lastRequests = this.getLastRequests();
|
|
8239
8149
|
delete lastRequests.nativeBrokerErrorCode;
|
|
8240
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8150
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8241
8151
|
}
|
|
8242
8152
|
static makeExtraSkuString(params) {
|
|
8243
8153
|
return makeExtraSkuString(params);
|
|
8244
8154
|
}
|
|
8245
8155
|
}
|
|
8246
8156
|
|
|
8247
|
-
/*! @azure/msal-common v15.
|
|
8157
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
8248
8158
|
/*
|
|
8249
8159
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8250
8160
|
* Licensed under the MIT License.
|
|
@@ -8252,7 +8162,7 @@ class ServerTelemetryManager {
|
|
|
8252
8162
|
const missingKidError = "missing_kid_error";
|
|
8253
8163
|
const missingAlgError = "missing_alg_error";
|
|
8254
8164
|
|
|
8255
|
-
/*! @azure/msal-common v15.
|
|
8165
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
8256
8166
|
|
|
8257
8167
|
/*
|
|
8258
8168
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8277,7 +8187,7 @@ function createJoseHeaderError(code) {
|
|
|
8277
8187
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8278
8188
|
}
|
|
8279
8189
|
|
|
8280
|
-
/*! @azure/msal-common v15.
|
|
8190
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
8281
8191
|
|
|
8282
8192
|
/*
|
|
8283
8193
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8317,7 +8227,7 @@ class JoseHeader {
|
|
|
8317
8227
|
}
|
|
8318
8228
|
}
|
|
8319
8229
|
|
|
8320
|
-
/*! @azure/msal-common v15.
|
|
8230
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
8321
8231
|
|
|
8322
8232
|
/*
|
|
8323
8233
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8979,7 +8889,8 @@ const invalidBase64String = "invalid_base64_string";
|
|
|
8979
8889
|
const invalidPopTokenRequest = "invalid_pop_token_request";
|
|
8980
8890
|
const failedToBuildHeaders = "failed_to_build_headers";
|
|
8981
8891
|
const failedToParseHeaders = "failed_to_parse_headers";
|
|
8982
|
-
const failedToDecryptEarResponse = "failed_to_decrypt_ear_response";
|
|
8892
|
+
const failedToDecryptEarResponse = "failed_to_decrypt_ear_response";
|
|
8893
|
+
const timedOut = "timed_out";
|
|
8983
8894
|
|
|
8984
8895
|
var BrowserAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
8985
8896
|
__proto__: null,
|
|
@@ -9027,6 +8938,7 @@ var BrowserAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
9027
8938
|
silentPromptValueError: silentPromptValueError,
|
|
9028
8939
|
spaCodeAndNativeAccountIdPresent: spaCodeAndNativeAccountIdPresent,
|
|
9029
8940
|
stateInteractionTypeMismatch: stateInteractionTypeMismatch,
|
|
8941
|
+
timedOut: timedOut,
|
|
9030
8942
|
unableToAcquireTokenFromNativePlatform: unableToAcquireTokenFromNativePlatform,
|
|
9031
8943
|
unableToLoadToken: unableToLoadToken,
|
|
9032
8944
|
unableToParseState: unableToParseState,
|
|
@@ -9094,6 +9006,7 @@ const BrowserAuthErrorMessages = {
|
|
|
9094
9006
|
[failedToBuildHeaders]: "Failed to build request headers object.",
|
|
9095
9007
|
[failedToParseHeaders]: "Failed to parse response headers",
|
|
9096
9008
|
[failedToDecryptEarResponse]: "Failed to decrypt ear response",
|
|
9009
|
+
[timedOut]: "The request timed out.",
|
|
9097
9010
|
};
|
|
9098
9011
|
/**
|
|
9099
9012
|
* BrowserAuthErrorMessage class containing string constants used by error codes and messages.
|
|
@@ -9307,10 +9220,6 @@ function createBrowserAuthError(errorCode, subError) {
|
|
|
9307
9220
|
* Constants
|
|
9308
9221
|
*/
|
|
9309
9222
|
const BrowserConstants = {
|
|
9310
|
-
/**
|
|
9311
|
-
* Interaction in progress cache value
|
|
9312
|
-
*/
|
|
9313
|
-
INTERACTION_IN_PROGRESS_VALUE: "interaction_in_progress",
|
|
9314
9223
|
/**
|
|
9315
9224
|
* Invalid grant error code
|
|
9316
9225
|
*/
|
|
@@ -10162,9 +10071,9 @@ class NavigationClient {
|
|
|
10162
10071
|
else {
|
|
10163
10072
|
window.location.assign(url); // CodeQL [SM03712] Application owner controls the URL. User can't change it.
|
|
10164
10073
|
}
|
|
10165
|
-
return new Promise((resolve) => {
|
|
10074
|
+
return new Promise((resolve, reject) => {
|
|
10166
10075
|
setTimeout(() => {
|
|
10167
|
-
|
|
10076
|
+
reject(createBrowserAuthError(timedOut, "failed_to_redirect"));
|
|
10168
10077
|
}, options.timeout);
|
|
10169
10078
|
});
|
|
10170
10079
|
}
|
|
@@ -10422,7 +10331,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
|
|
|
10422
10331
|
|
|
10423
10332
|
/* eslint-disable header/header */
|
|
10424
10333
|
const name = "@azure/msal-browser";
|
|
10425
|
-
const version = "4.
|
|
10334
|
+
const version = "4.15.0";
|
|
10426
10335
|
|
|
10427
10336
|
/*
|
|
10428
10337
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -11535,7 +11444,7 @@ class LocalStorage {
|
|
|
11535
11444
|
setItem(key, value) {
|
|
11536
11445
|
window.localStorage.setItem(key, value);
|
|
11537
11446
|
}
|
|
11538
|
-
async setUserData(key, value, correlationId) {
|
|
11447
|
+
async setUserData(key, value, correlationId, timestamp) {
|
|
11539
11448
|
if (!this.initialized || !this.encryptionCookie) {
|
|
11540
11449
|
throw createBrowserAuthError(uninitializedPublicClientApplication);
|
|
11541
11450
|
}
|
|
@@ -11544,6 +11453,7 @@ class LocalStorage {
|
|
|
11544
11453
|
id: this.encryptionCookie.id,
|
|
11545
11454
|
nonce: nonce,
|
|
11546
11455
|
data: data,
|
|
11456
|
+
lastUpdatedAt: timestamp,
|
|
11547
11457
|
};
|
|
11548
11458
|
this.memoryStorage.setItem(key, value);
|
|
11549
11459
|
this.setItem(key, JSON.stringify(encryptedData));
|
|
@@ -11813,7 +11723,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11813
11723
|
this.performanceClient.addFields({ previousLibraryVersion: previousVersion }, correlationId);
|
|
11814
11724
|
}
|
|
11815
11725
|
if (previousVersion !== version) {
|
|
11816
|
-
this.
|
|
11726
|
+
this.setItem(StaticCacheKeys.VERSION, version, correlationId);
|
|
11817
11727
|
}
|
|
11818
11728
|
}
|
|
11819
11729
|
/**
|
|
@@ -11837,22 +11747,111 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11837
11747
|
return null;
|
|
11838
11748
|
}
|
|
11839
11749
|
}
|
|
11750
|
+
/**
|
|
11751
|
+
* Helper to setItem in browser storage, with cleanup in case of quota errors
|
|
11752
|
+
* @param key
|
|
11753
|
+
* @param value
|
|
11754
|
+
*/
|
|
11755
|
+
setItem(key, value, correlationId) {
|
|
11756
|
+
let accessTokenKeys = [];
|
|
11757
|
+
const maxRetries = 20;
|
|
11758
|
+
for (let i = 0; i <= maxRetries; i++) {
|
|
11759
|
+
try {
|
|
11760
|
+
this.browserStorage.setItem(key, value);
|
|
11761
|
+
if (i > 0) {
|
|
11762
|
+
// Finally update the token keys array with the tokens removed
|
|
11763
|
+
this.removeAccessTokenKeys(accessTokenKeys.slice(0, i), correlationId);
|
|
11764
|
+
}
|
|
11765
|
+
break; // If setItem succeeds, exit the loop
|
|
11766
|
+
}
|
|
11767
|
+
catch (e) {
|
|
11768
|
+
const cacheError = createCacheError(e);
|
|
11769
|
+
if (cacheError.errorCode ===
|
|
11770
|
+
cacheQuotaExceeded &&
|
|
11771
|
+
i < maxRetries) {
|
|
11772
|
+
if (!accessTokenKeys.length) {
|
|
11773
|
+
if (key ===
|
|
11774
|
+
`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`) {
|
|
11775
|
+
// If we are currently trying to set the token keys, use the value we're trying to set
|
|
11776
|
+
accessTokenKeys = JSON.parse(value)
|
|
11777
|
+
.accessToken;
|
|
11778
|
+
}
|
|
11779
|
+
else {
|
|
11780
|
+
// If token keys have not been initialized, get them
|
|
11781
|
+
accessTokenKeys = this.getTokenKeys().accessToken;
|
|
11782
|
+
}
|
|
11783
|
+
}
|
|
11784
|
+
if (accessTokenKeys.length <= i) {
|
|
11785
|
+
// Nothing to remove, rethrow the error
|
|
11786
|
+
throw cacheError;
|
|
11787
|
+
}
|
|
11788
|
+
// When cache quota is exceeded, start removing access tokens until we can successfully set the item
|
|
11789
|
+
this.removeAccessToken(accessTokenKeys[i], correlationId, false // Don't save token keys yet, do it at the end
|
|
11790
|
+
);
|
|
11791
|
+
}
|
|
11792
|
+
else {
|
|
11793
|
+
// If the error is not a quota exceeded error, rethrow it
|
|
11794
|
+
throw cacheError;
|
|
11795
|
+
}
|
|
11796
|
+
}
|
|
11797
|
+
}
|
|
11798
|
+
}
|
|
11799
|
+
/**
|
|
11800
|
+
* Helper to setUserData in browser storage, with cleanup in case of quota errors
|
|
11801
|
+
* @param key
|
|
11802
|
+
* @param value
|
|
11803
|
+
* @param correlationId
|
|
11804
|
+
*/
|
|
11805
|
+
async setUserData(key, value, correlationId, timestamp) {
|
|
11806
|
+
let accessTokenKeys = [];
|
|
11807
|
+
const maxRetries = 20;
|
|
11808
|
+
for (let i = 0; i <= maxRetries; i++) {
|
|
11809
|
+
try {
|
|
11810
|
+
await invokeAsync(this.browserStorage.setUserData.bind(this.browserStorage), PerformanceEvents.SetUserData, this.logger, this.performanceClient)(key, value, correlationId, timestamp);
|
|
11811
|
+
if (i > 0) {
|
|
11812
|
+
// Finally update the token keys array with the tokens removed
|
|
11813
|
+
this.removeAccessTokenKeys(accessTokenKeys.slice(0, i), correlationId);
|
|
11814
|
+
}
|
|
11815
|
+
break; // If setItem succeeds, exit the loop
|
|
11816
|
+
}
|
|
11817
|
+
catch (e) {
|
|
11818
|
+
const cacheError = createCacheError(e);
|
|
11819
|
+
if (cacheError.errorCode ===
|
|
11820
|
+
cacheQuotaExceeded &&
|
|
11821
|
+
i < maxRetries) {
|
|
11822
|
+
if (!accessTokenKeys.length) {
|
|
11823
|
+
accessTokenKeys = this.getTokenKeys().accessToken;
|
|
11824
|
+
}
|
|
11825
|
+
if (accessTokenKeys.length <= i) {
|
|
11826
|
+
// Nothing left to remove, rethrow the error
|
|
11827
|
+
throw cacheError;
|
|
11828
|
+
}
|
|
11829
|
+
// When cache quota is exceeded, start removing access tokens until we can successfully set the item
|
|
11830
|
+
this.removeAccessToken(accessTokenKeys[i], correlationId, false // Don't save token keys yet, do it at the end
|
|
11831
|
+
);
|
|
11832
|
+
}
|
|
11833
|
+
else {
|
|
11834
|
+
// If the error is not a quota exceeded error, rethrow it
|
|
11835
|
+
throw cacheError;
|
|
11836
|
+
}
|
|
11837
|
+
}
|
|
11838
|
+
}
|
|
11839
|
+
}
|
|
11840
11840
|
/**
|
|
11841
11841
|
* Reads account from cache, deserializes it into an account entity and returns it.
|
|
11842
11842
|
* If account is not found from the key, returns null and removes key from map.
|
|
11843
11843
|
* @param accountKey
|
|
11844
11844
|
* @returns
|
|
11845
11845
|
*/
|
|
11846
|
-
getAccount(accountKey) {
|
|
11846
|
+
getAccount(accountKey, correlationId) {
|
|
11847
11847
|
this.logger.trace("BrowserCacheManager.getAccount called");
|
|
11848
11848
|
const serializedAccount = this.browserStorage.getUserData(accountKey);
|
|
11849
11849
|
if (!serializedAccount) {
|
|
11850
|
-
this.removeAccountKeyFromMap(accountKey);
|
|
11850
|
+
this.removeAccountKeyFromMap(accountKey, correlationId);
|
|
11851
11851
|
return null;
|
|
11852
11852
|
}
|
|
11853
11853
|
const parsedAccount = this.validateAndParseJson(serializedAccount);
|
|
11854
11854
|
if (!parsedAccount || !AccountEntity.isAccountEntity(parsedAccount)) {
|
|
11855
|
-
this.removeAccountKeyFromMap(accountKey);
|
|
11856
11855
|
return null;
|
|
11857
11856
|
}
|
|
11858
11857
|
return CacheManager.toObject(new AccountEntity(), parsedAccount);
|
|
@@ -11864,8 +11863,10 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11864
11863
|
async setAccount(account, correlationId) {
|
|
11865
11864
|
this.logger.trace("BrowserCacheManager.setAccount called");
|
|
11866
11865
|
const key = account.generateAccountKey();
|
|
11867
|
-
|
|
11868
|
-
|
|
11866
|
+
const timestamp = Date.now().toString();
|
|
11867
|
+
account.lastUpdatedAt = timestamp;
|
|
11868
|
+
await this.setUserData(key, JSON.stringify(account), correlationId, timestamp);
|
|
11869
|
+
const wasAdded = this.addAccountKeyToMap(key, correlationId);
|
|
11869
11870
|
/**
|
|
11870
11871
|
* @deprecated - Remove this in next major version in favor of more consistent LOGIN event
|
|
11871
11872
|
*/
|
|
@@ -11886,14 +11887,14 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11886
11887
|
* Add a new account to the key map
|
|
11887
11888
|
* @param key
|
|
11888
11889
|
*/
|
|
11889
|
-
addAccountKeyToMap(key) {
|
|
11890
|
+
addAccountKeyToMap(key, correlationId) {
|
|
11890
11891
|
this.logger.trace("BrowserCacheManager.addAccountKeyToMap called");
|
|
11891
11892
|
this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: ${key}`);
|
|
11892
11893
|
const accountKeys = this.getAccountKeys();
|
|
11893
11894
|
if (accountKeys.indexOf(key) === -1) {
|
|
11894
11895
|
// Only add key if it does not already exist in the map
|
|
11895
11896
|
accountKeys.push(key);
|
|
11896
|
-
this.
|
|
11897
|
+
this.setItem(StaticCacheKeys.ACCOUNT_KEYS, JSON.stringify(accountKeys), correlationId);
|
|
11897
11898
|
this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added");
|
|
11898
11899
|
return true;
|
|
11899
11900
|
}
|
|
@@ -11906,14 +11907,21 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11906
11907
|
* Remove an account from the key map
|
|
11907
11908
|
* @param key
|
|
11908
11909
|
*/
|
|
11909
|
-
removeAccountKeyFromMap(key) {
|
|
11910
|
+
removeAccountKeyFromMap(key, correlationId) {
|
|
11910
11911
|
this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called");
|
|
11911
11912
|
this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: ${key}`);
|
|
11912
11913
|
const accountKeys = this.getAccountKeys();
|
|
11913
11914
|
const removalIndex = accountKeys.indexOf(key);
|
|
11914
11915
|
if (removalIndex > -1) {
|
|
11915
11916
|
accountKeys.splice(removalIndex, 1);
|
|
11916
|
-
|
|
11917
|
+
if (accountKeys.length === 0) {
|
|
11918
|
+
// If no keys left, remove the map
|
|
11919
|
+
this.removeItem(StaticCacheKeys.ACCOUNT_KEYS);
|
|
11920
|
+
return;
|
|
11921
|
+
}
|
|
11922
|
+
else {
|
|
11923
|
+
this.setItem(StaticCacheKeys.ACCOUNT_KEYS, JSON.stringify(accountKeys), correlationId);
|
|
11924
|
+
}
|
|
11917
11925
|
this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed");
|
|
11918
11926
|
}
|
|
11919
11927
|
else {
|
|
@@ -11926,7 +11934,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11926
11934
|
*/
|
|
11927
11935
|
removeAccount(key, correlationId) {
|
|
11928
11936
|
super.removeAccount(key, correlationId);
|
|
11929
|
-
this.removeAccountKeyFromMap(key);
|
|
11937
|
+
this.removeAccountKeyFromMap(key, correlationId);
|
|
11930
11938
|
}
|
|
11931
11939
|
/**
|
|
11932
11940
|
* Removes credentials associated with the provided account
|
|
@@ -11945,25 +11953,60 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11945
11953
|
* Removes given idToken from the cache and from the key map
|
|
11946
11954
|
* @param key
|
|
11947
11955
|
*/
|
|
11948
|
-
removeIdToken(key) {
|
|
11949
|
-
super.removeIdToken(key);
|
|
11950
|
-
this.
|
|
11956
|
+
removeIdToken(key, correlationId) {
|
|
11957
|
+
super.removeIdToken(key, correlationId);
|
|
11958
|
+
const tokenKeys = this.getTokenKeys();
|
|
11959
|
+
const idRemoval = tokenKeys.idToken.indexOf(key);
|
|
11960
|
+
if (idRemoval > -1) {
|
|
11961
|
+
this.logger.info("idToken removed from tokenKeys map");
|
|
11962
|
+
tokenKeys.idToken.splice(idRemoval, 1);
|
|
11963
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
11964
|
+
}
|
|
11951
11965
|
}
|
|
11952
11966
|
/**
|
|
11953
11967
|
* Removes given accessToken from the cache and from the key map
|
|
11954
11968
|
* @param key
|
|
11955
11969
|
*/
|
|
11956
|
-
removeAccessToken(key, correlationId) {
|
|
11970
|
+
removeAccessToken(key, correlationId, updateTokenKeys = true) {
|
|
11957
11971
|
super.removeAccessToken(key, correlationId);
|
|
11958
|
-
this.
|
|
11972
|
+
updateTokenKeys && this.removeAccessTokenKeys([key], correlationId);
|
|
11973
|
+
}
|
|
11974
|
+
/**
|
|
11975
|
+
* Remove access token key from the key map
|
|
11976
|
+
* @param key
|
|
11977
|
+
* @param correlationId
|
|
11978
|
+
* @param tokenKeys
|
|
11979
|
+
*/
|
|
11980
|
+
removeAccessTokenKeys(keys, correlationId) {
|
|
11981
|
+
this.logger.trace("removeAccessTokenKey called");
|
|
11982
|
+
const tokenKeys = this.getTokenKeys();
|
|
11983
|
+
let keysRemoved = 0;
|
|
11984
|
+
keys.forEach((key) => {
|
|
11985
|
+
const accessRemoval = tokenKeys.accessToken.indexOf(key);
|
|
11986
|
+
if (accessRemoval > -1) {
|
|
11987
|
+
tokenKeys.accessToken.splice(accessRemoval, 1);
|
|
11988
|
+
keysRemoved++;
|
|
11989
|
+
}
|
|
11990
|
+
});
|
|
11991
|
+
if (keysRemoved > 0) {
|
|
11992
|
+
this.logger.info(`removed ${keysRemoved} accessToken keys from tokenKeys map`);
|
|
11993
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
11994
|
+
return;
|
|
11995
|
+
}
|
|
11959
11996
|
}
|
|
11960
11997
|
/**
|
|
11961
11998
|
* Removes given refreshToken from the cache and from the key map
|
|
11962
11999
|
* @param key
|
|
11963
12000
|
*/
|
|
11964
|
-
removeRefreshToken(key) {
|
|
11965
|
-
super.removeRefreshToken(key);
|
|
11966
|
-
this.
|
|
12001
|
+
removeRefreshToken(key, correlationId) {
|
|
12002
|
+
super.removeRefreshToken(key, correlationId);
|
|
12003
|
+
const tokenKeys = this.getTokenKeys();
|
|
12004
|
+
const refreshRemoval = tokenKeys.refreshToken.indexOf(key);
|
|
12005
|
+
if (refreshRemoval > -1) {
|
|
12006
|
+
this.logger.info("refreshToken removed from tokenKeys map");
|
|
12007
|
+
tokenKeys.refreshToken.splice(refreshRemoval, 1);
|
|
12008
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12009
|
+
}
|
|
11967
12010
|
}
|
|
11968
12011
|
/**
|
|
11969
12012
|
* Gets the keys for the cached tokens associated with this clientId
|
|
@@ -11973,101 +12016,37 @@ class BrowserCacheManager extends CacheManager {
|
|
|
11973
12016
|
return getTokenKeys(this.clientId, this.browserStorage);
|
|
11974
12017
|
}
|
|
11975
12018
|
/**
|
|
11976
|
-
*
|
|
11977
|
-
* @param
|
|
11978
|
-
* @param
|
|
12019
|
+
* Stores the token keys in the cache
|
|
12020
|
+
* @param tokenKeys
|
|
12021
|
+
* @param correlationId
|
|
12022
|
+
* @returns
|
|
11979
12023
|
*/
|
|
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);
|
|
12024
|
+
setTokenKeys(tokenKeys, correlationId) {
|
|
12025
|
+
if (tokenKeys.idToken.length === 0 &&
|
|
12026
|
+
tokenKeys.accessToken.length === 0 &&
|
|
12027
|
+
tokenKeys.refreshToken.length === 0) {
|
|
12028
|
+
// If no keys left, remove the map
|
|
12029
|
+
this.removeItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`);
|
|
12030
|
+
return;
|
|
12005
12031
|
}
|
|
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);
|
|
12032
|
+
else {
|
|
12033
|
+
this.setItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`, JSON.stringify(tokenKeys), correlationId);
|
|
12053
12034
|
}
|
|
12054
|
-
this.browserStorage.setItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`, JSON.stringify(tokenKeys));
|
|
12055
12035
|
}
|
|
12056
12036
|
/**
|
|
12057
12037
|
* generates idToken entity from a string
|
|
12058
12038
|
* @param idTokenKey
|
|
12059
12039
|
*/
|
|
12060
|
-
getIdTokenCredential(idTokenKey) {
|
|
12040
|
+
getIdTokenCredential(idTokenKey, correlationId) {
|
|
12061
12041
|
const value = this.browserStorage.getUserData(idTokenKey);
|
|
12062
12042
|
if (!value) {
|
|
12063
12043
|
this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit");
|
|
12064
|
-
this.
|
|
12044
|
+
this.removeIdToken(idTokenKey, correlationId);
|
|
12065
12045
|
return null;
|
|
12066
12046
|
}
|
|
12067
12047
|
const parsedIdToken = this.validateAndParseJson(value);
|
|
12068
12048
|
if (!parsedIdToken || !isIdTokenEntity(parsedIdToken)) {
|
|
12069
12049
|
this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit");
|
|
12070
|
-
this.removeTokenKey(idTokenKey, CredentialType.ID_TOKEN);
|
|
12071
12050
|
return null;
|
|
12072
12051
|
}
|
|
12073
12052
|
this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit");
|
|
@@ -12080,25 +12059,31 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12080
12059
|
async setIdTokenCredential(idToken, correlationId) {
|
|
12081
12060
|
this.logger.trace("BrowserCacheManager.setIdTokenCredential called");
|
|
12082
12061
|
const idTokenKey = generateCredentialKey(idToken);
|
|
12083
|
-
|
|
12084
|
-
|
|
12062
|
+
const timestamp = Date.now().toString();
|
|
12063
|
+
idToken.lastUpdatedAt = timestamp;
|
|
12064
|
+
await this.setUserData(idTokenKey, JSON.stringify(idToken), correlationId, timestamp);
|
|
12065
|
+
const tokenKeys = this.getTokenKeys();
|
|
12066
|
+
if (tokenKeys.idToken.indexOf(idTokenKey) === -1) {
|
|
12067
|
+
this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map");
|
|
12068
|
+
tokenKeys.idToken.push(idTokenKey);
|
|
12069
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12070
|
+
}
|
|
12085
12071
|
}
|
|
12086
12072
|
/**
|
|
12087
12073
|
* generates accessToken entity from a string
|
|
12088
12074
|
* @param key
|
|
12089
12075
|
*/
|
|
12090
|
-
getAccessTokenCredential(accessTokenKey) {
|
|
12076
|
+
getAccessTokenCredential(accessTokenKey, correlationId) {
|
|
12091
12077
|
const value = this.browserStorage.getUserData(accessTokenKey);
|
|
12092
12078
|
if (!value) {
|
|
12093
12079
|
this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit");
|
|
12094
|
-
this.
|
|
12080
|
+
this.removeAccessTokenKeys([accessTokenKey], correlationId);
|
|
12095
12081
|
return null;
|
|
12096
12082
|
}
|
|
12097
12083
|
const parsedAccessToken = this.validateAndParseJson(value);
|
|
12098
12084
|
if (!parsedAccessToken ||
|
|
12099
12085
|
!isAccessTokenEntity(parsedAccessToken)) {
|
|
12100
12086
|
this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit");
|
|
12101
|
-
this.removeTokenKey(accessTokenKey, CredentialType.ACCESS_TOKEN);
|
|
12102
12087
|
return null;
|
|
12103
12088
|
}
|
|
12104
12089
|
this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit");
|
|
@@ -12111,25 +12096,33 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12111
12096
|
async setAccessTokenCredential(accessToken, correlationId) {
|
|
12112
12097
|
this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");
|
|
12113
12098
|
const accessTokenKey = generateCredentialKey(accessToken);
|
|
12114
|
-
|
|
12115
|
-
|
|
12099
|
+
const timestamp = Date.now().toString();
|
|
12100
|
+
accessToken.lastUpdatedAt = timestamp;
|
|
12101
|
+
await this.setUserData(accessTokenKey, JSON.stringify(accessToken), correlationId, timestamp);
|
|
12102
|
+
const tokenKeys = this.getTokenKeys();
|
|
12103
|
+
const index = tokenKeys.accessToken.indexOf(accessTokenKey);
|
|
12104
|
+
if (index !== -1) {
|
|
12105
|
+
tokenKeys.accessToken.splice(index, 1); // Remove existing key before pushing to the end
|
|
12106
|
+
}
|
|
12107
|
+
this.logger.trace(`access token ${index === -1 ? "added to" : "updated in"} map`);
|
|
12108
|
+
tokenKeys.accessToken.push(accessTokenKey);
|
|
12109
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12116
12110
|
}
|
|
12117
12111
|
/**
|
|
12118
12112
|
* generates refreshToken entity from a string
|
|
12119
12113
|
* @param refreshTokenKey
|
|
12120
12114
|
*/
|
|
12121
|
-
getRefreshTokenCredential(refreshTokenKey) {
|
|
12115
|
+
getRefreshTokenCredential(refreshTokenKey, correlationId) {
|
|
12122
12116
|
const value = this.browserStorage.getUserData(refreshTokenKey);
|
|
12123
12117
|
if (!value) {
|
|
12124
12118
|
this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit");
|
|
12125
|
-
this.
|
|
12119
|
+
this.removeRefreshToken(refreshTokenKey, correlationId);
|
|
12126
12120
|
return null;
|
|
12127
12121
|
}
|
|
12128
12122
|
const parsedRefreshToken = this.validateAndParseJson(value);
|
|
12129
12123
|
if (!parsedRefreshToken ||
|
|
12130
12124
|
!isRefreshTokenEntity(parsedRefreshToken)) {
|
|
12131
12125
|
this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit");
|
|
12132
|
-
this.removeTokenKey(refreshTokenKey, CredentialType.REFRESH_TOKEN);
|
|
12133
12126
|
return null;
|
|
12134
12127
|
}
|
|
12135
12128
|
this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit");
|
|
@@ -12142,8 +12135,15 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12142
12135
|
async setRefreshTokenCredential(refreshToken, correlationId) {
|
|
12143
12136
|
this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");
|
|
12144
12137
|
const refreshTokenKey = generateCredentialKey(refreshToken);
|
|
12145
|
-
|
|
12146
|
-
|
|
12138
|
+
const timestamp = Date.now().toString();
|
|
12139
|
+
refreshToken.lastUpdatedAt = timestamp;
|
|
12140
|
+
await this.setUserData(refreshTokenKey, JSON.stringify(refreshToken), correlationId, timestamp);
|
|
12141
|
+
const tokenKeys = this.getTokenKeys();
|
|
12142
|
+
if (tokenKeys.refreshToken.indexOf(refreshTokenKey) === -1) {
|
|
12143
|
+
this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map");
|
|
12144
|
+
tokenKeys.refreshToken.push(refreshTokenKey);
|
|
12145
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12146
|
+
}
|
|
12147
12147
|
}
|
|
12148
12148
|
/**
|
|
12149
12149
|
* fetch appMetadata entity from the platform cache
|
|
@@ -12168,10 +12168,10 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12168
12168
|
* set appMetadata entity to the platform cache
|
|
12169
12169
|
* @param appMetadata
|
|
12170
12170
|
*/
|
|
12171
|
-
setAppMetadata(appMetadata) {
|
|
12171
|
+
setAppMetadata(appMetadata, correlationId) {
|
|
12172
12172
|
this.logger.trace("BrowserCacheManager.setAppMetadata called");
|
|
12173
12173
|
const appMetadataKey = generateAppMetadataKey(appMetadata);
|
|
12174
|
-
this.
|
|
12174
|
+
this.setItem(appMetadataKey, JSON.stringify(appMetadata), correlationId);
|
|
12175
12175
|
}
|
|
12176
12176
|
/**
|
|
12177
12177
|
* fetch server telemetry entity from the platform cache
|
|
@@ -12197,9 +12197,9 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12197
12197
|
* @param serverTelemetryKey
|
|
12198
12198
|
* @param serverTelemetry
|
|
12199
12199
|
*/
|
|
12200
|
-
setServerTelemetry(serverTelemetryKey, serverTelemetry) {
|
|
12200
|
+
setServerTelemetry(serverTelemetryKey, serverTelemetry, correlationId) {
|
|
12201
12201
|
this.logger.trace("BrowserCacheManager.setServerTelemetry called");
|
|
12202
|
-
this.
|
|
12202
|
+
this.setItem(serverTelemetryKey, JSON.stringify(serverTelemetry), correlationId);
|
|
12203
12203
|
}
|
|
12204
12204
|
/**
|
|
12205
12205
|
*
|
|
@@ -12257,7 +12257,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12257
12257
|
/**
|
|
12258
12258
|
* Gets the active account
|
|
12259
12259
|
*/
|
|
12260
|
-
getActiveAccount() {
|
|
12260
|
+
getActiveAccount(correlationId) {
|
|
12261
12261
|
const activeAccountKeyFilters = this.generateCacheKey(PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
|
|
12262
12262
|
const activeAccountValueFilters = this.browserStorage.getItem(activeAccountKeyFilters);
|
|
12263
12263
|
if (!activeAccountValueFilters) {
|
|
@@ -12271,7 +12271,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12271
12271
|
homeAccountId: activeAccountValueObj.homeAccountId,
|
|
12272
12272
|
localAccountId: activeAccountValueObj.localAccountId,
|
|
12273
12273
|
tenantId: activeAccountValueObj.tenantId,
|
|
12274
|
-
});
|
|
12274
|
+
}, correlationId);
|
|
12275
12275
|
}
|
|
12276
12276
|
this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found");
|
|
12277
12277
|
return null;
|
|
@@ -12280,7 +12280,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12280
12280
|
* Sets the active account's localAccountId in cache
|
|
12281
12281
|
* @param account
|
|
12282
12282
|
*/
|
|
12283
|
-
setActiveAccount(account) {
|
|
12283
|
+
setActiveAccount(account, correlationId) {
|
|
12284
12284
|
const activeAccountKey = this.generateCacheKey(PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
|
|
12285
12285
|
if (account) {
|
|
12286
12286
|
this.logger.verbose("setActiveAccount: Active account set");
|
|
@@ -12288,8 +12288,9 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12288
12288
|
homeAccountId: account.homeAccountId,
|
|
12289
12289
|
localAccountId: account.localAccountId,
|
|
12290
12290
|
tenantId: account.tenantId,
|
|
12291
|
+
lastUpdatedAt: nowSeconds().toString(),
|
|
12291
12292
|
};
|
|
12292
|
-
this.
|
|
12293
|
+
this.setItem(activeAccountKey, JSON.stringify(activeAccountValue), correlationId);
|
|
12293
12294
|
}
|
|
12294
12295
|
else {
|
|
12295
12296
|
this.logger.verbose("setActiveAccount: No account passed, active account not set");
|
|
@@ -12321,9 +12322,9 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12321
12322
|
* @param throttlingCacheKey
|
|
12322
12323
|
* @param throttlingCache
|
|
12323
12324
|
*/
|
|
12324
|
-
setThrottlingCache(throttlingCacheKey, throttlingCache) {
|
|
12325
|
+
setThrottlingCache(throttlingCacheKey, throttlingCache, correlationId) {
|
|
12325
12326
|
this.logger.trace("BrowserCacheManager.setThrottlingCache called");
|
|
12326
|
-
this.
|
|
12327
|
+
this.setItem(throttlingCacheKey, JSON.stringify(throttlingCache), correlationId);
|
|
12327
12328
|
}
|
|
12328
12329
|
/**
|
|
12329
12330
|
* Gets cache item with given key.
|
|
@@ -12402,7 +12403,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12402
12403
|
clear(correlationId) {
|
|
12403
12404
|
// Removes all accounts and their credentials
|
|
12404
12405
|
this.removeAllAccounts(correlationId);
|
|
12405
|
-
this.removeAppMetadata();
|
|
12406
|
+
this.removeAppMetadata(correlationId);
|
|
12406
12407
|
// Remove temp storage first to make sure any cookies are cleared
|
|
12407
12408
|
this.temporaryCacheStorage.getKeys().forEach((cacheKey) => {
|
|
12408
12409
|
if (cacheKey.indexOf(Constants.CACHE_PREFIX) !== -1 ||
|
|
@@ -12431,7 +12432,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
12431
12432
|
let removedAccessTokens = 0;
|
|
12432
12433
|
tokenKeys.accessToken.forEach((key) => {
|
|
12433
12434
|
// if the access token has claims in its key, remove the token key and the token
|
|
12434
|
-
const credential = this.getAccessTokenCredential(key);
|
|
12435
|
+
const credential = this.getAccessTokenCredential(key, correlationId);
|
|
12435
12436
|
if (credential?.requestedClaimsHash &&
|
|
12436
12437
|
key.includes(credential.requestedClaimsHash.toLowerCase())) {
|
|
12437
12438
|
this.removeAccessToken(key, correlationId);
|
|
@@ -12667,22 +12668,24 @@ const DEFAULT_BROWSER_CACHE_MANAGER = (clientId, logger, performanceClient, even
|
|
|
12667
12668
|
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
|
12668
12669
|
* @returns Array of AccountInfo objects in cache
|
|
12669
12670
|
*/
|
|
12670
|
-
function getAllAccounts(logger, browserStorage, isInBrowser, accountFilter) {
|
|
12671
|
+
function getAllAccounts(logger, browserStorage, isInBrowser, correlationId, accountFilter) {
|
|
12671
12672
|
logger.verbose("getAllAccounts called");
|
|
12672
|
-
return isInBrowser
|
|
12673
|
+
return isInBrowser
|
|
12674
|
+
? browserStorage.getAllAccounts(accountFilter || {}, correlationId)
|
|
12675
|
+
: [];
|
|
12673
12676
|
}
|
|
12674
12677
|
/**
|
|
12675
12678
|
* Returns the first account found in the cache that matches the account filter passed in.
|
|
12676
12679
|
* @param accountFilter
|
|
12677
12680
|
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
|
12678
12681
|
*/
|
|
12679
|
-
function getAccount(accountFilter, logger, browserStorage) {
|
|
12682
|
+
function getAccount(accountFilter, logger, browserStorage, correlationId) {
|
|
12680
12683
|
logger.trace("getAccount called");
|
|
12681
12684
|
if (Object.keys(accountFilter).length === 0) {
|
|
12682
12685
|
logger.warning("getAccount: No accountFilter provided");
|
|
12683
12686
|
return null;
|
|
12684
12687
|
}
|
|
12685
|
-
const account = browserStorage.getAccountInfoFilteredBy(accountFilter);
|
|
12688
|
+
const account = browserStorage.getAccountInfoFilteredBy(accountFilter, correlationId);
|
|
12686
12689
|
if (account) {
|
|
12687
12690
|
logger.verbose("getAccount: Account matching provided filter found, returning");
|
|
12688
12691
|
return account;
|
|
@@ -12700,7 +12703,7 @@ function getAccount(accountFilter, logger, browserStorage) {
|
|
|
12700
12703
|
* @param username
|
|
12701
12704
|
* @returns The account object stored in MSAL
|
|
12702
12705
|
*/
|
|
12703
|
-
function getAccountByUsername(username, logger, browserStorage) {
|
|
12706
|
+
function getAccountByUsername(username, logger, browserStorage, correlationId) {
|
|
12704
12707
|
logger.trace("getAccountByUsername called");
|
|
12705
12708
|
if (!username) {
|
|
12706
12709
|
logger.warning("getAccountByUsername: No username provided");
|
|
@@ -12708,7 +12711,7 @@ function getAccountByUsername(username, logger, browserStorage) {
|
|
|
12708
12711
|
}
|
|
12709
12712
|
const account = browserStorage.getAccountInfoFilteredBy({
|
|
12710
12713
|
username,
|
|
12711
|
-
});
|
|
12714
|
+
}, correlationId);
|
|
12712
12715
|
if (account) {
|
|
12713
12716
|
logger.verbose("getAccountByUsername: Account matching username found, returning");
|
|
12714
12717
|
logger.verbosePii(`getAccountByUsername: Returning signed-in accounts matching username: ${username}`);
|
|
@@ -12726,7 +12729,7 @@ function getAccountByUsername(username, logger, browserStorage) {
|
|
|
12726
12729
|
* @param homeAccountId
|
|
12727
12730
|
* @returns The account object stored in MSAL
|
|
12728
12731
|
*/
|
|
12729
|
-
function getAccountByHomeId(homeAccountId, logger, browserStorage) {
|
|
12732
|
+
function getAccountByHomeId(homeAccountId, logger, browserStorage, correlationId) {
|
|
12730
12733
|
logger.trace("getAccountByHomeId called");
|
|
12731
12734
|
if (!homeAccountId) {
|
|
12732
12735
|
logger.warning("getAccountByHomeId: No homeAccountId provided");
|
|
@@ -12734,7 +12737,7 @@ function getAccountByHomeId(homeAccountId, logger, browserStorage) {
|
|
|
12734
12737
|
}
|
|
12735
12738
|
const account = browserStorage.getAccountInfoFilteredBy({
|
|
12736
12739
|
homeAccountId,
|
|
12737
|
-
});
|
|
12740
|
+
}, correlationId);
|
|
12738
12741
|
if (account) {
|
|
12739
12742
|
logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning");
|
|
12740
12743
|
logger.verbosePii(`getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ${homeAccountId}`);
|
|
@@ -12752,7 +12755,7 @@ function getAccountByHomeId(homeAccountId, logger, browserStorage) {
|
|
|
12752
12755
|
* @param localAccountId
|
|
12753
12756
|
* @returns The account object stored in MSAL
|
|
12754
12757
|
*/
|
|
12755
|
-
function getAccountByLocalId(localAccountId, logger, browserStorage) {
|
|
12758
|
+
function getAccountByLocalId(localAccountId, logger, browserStorage, correlationId) {
|
|
12756
12759
|
logger.trace("getAccountByLocalId called");
|
|
12757
12760
|
if (!localAccountId) {
|
|
12758
12761
|
logger.warning("getAccountByLocalId: No localAccountId provided");
|
|
@@ -12760,7 +12763,7 @@ function getAccountByLocalId(localAccountId, logger, browserStorage) {
|
|
|
12760
12763
|
}
|
|
12761
12764
|
const account = browserStorage.getAccountInfoFilteredBy({
|
|
12762
12765
|
localAccountId,
|
|
12763
|
-
});
|
|
12766
|
+
}, correlationId);
|
|
12764
12767
|
if (account) {
|
|
12765
12768
|
logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning");
|
|
12766
12769
|
logger.verbosePii(`getAccountByLocalId: Returning signed-in accounts matching localAccountId: ${localAccountId}`);
|
|
@@ -12775,14 +12778,14 @@ function getAccountByLocalId(localAccountId, logger, browserStorage) {
|
|
|
12775
12778
|
* 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
12779
|
* @param account
|
|
12777
12780
|
*/
|
|
12778
|
-
function setActiveAccount(account, browserStorage) {
|
|
12779
|
-
browserStorage.setActiveAccount(account);
|
|
12781
|
+
function setActiveAccount(account, browserStorage, correlationId) {
|
|
12782
|
+
browserStorage.setActiveAccount(account, correlationId);
|
|
12780
12783
|
}
|
|
12781
12784
|
/**
|
|
12782
12785
|
* Gets the currently active account
|
|
12783
12786
|
*/
|
|
12784
|
-
function getActiveAccount(browserStorage) {
|
|
12785
|
-
return browserStorage.getActiveAccount();
|
|
12787
|
+
function getActiveAccount(browserStorage, correlationId) {
|
|
12788
|
+
return browserStorage.getActiveAccount(correlationId);
|
|
12786
12789
|
}
|
|
12787
12790
|
|
|
12788
12791
|
/*
|
|
@@ -12906,15 +12909,15 @@ class BaseInteractionClient {
|
|
|
12906
12909
|
this.logger = logger.clone(BrowserConstants.MSAL_SKU, version, this.correlationId);
|
|
12907
12910
|
this.performanceClient = performanceClient;
|
|
12908
12911
|
}
|
|
12909
|
-
async clearCacheOnLogout(account) {
|
|
12912
|
+
async clearCacheOnLogout(correlationId, account) {
|
|
12910
12913
|
if (account) {
|
|
12911
|
-
if (AccountEntity.accountInfoIsEqual(account, this.browserStorage.getActiveAccount(), false)) {
|
|
12914
|
+
if (AccountEntity.accountInfoIsEqual(account, this.browserStorage.getActiveAccount(correlationId), false)) {
|
|
12912
12915
|
this.logger.verbose("Setting active account to null");
|
|
12913
|
-
this.browserStorage.setActiveAccount(null);
|
|
12916
|
+
this.browserStorage.setActiveAccount(null, correlationId);
|
|
12914
12917
|
}
|
|
12915
12918
|
// Clear given account.
|
|
12916
12919
|
try {
|
|
12917
|
-
this.browserStorage.removeAccount(AccountEntity.generateAccountCacheKey(account),
|
|
12920
|
+
this.browserStorage.removeAccount(AccountEntity.generateAccountCacheKey(account), correlationId);
|
|
12918
12921
|
this.logger.verbose("Cleared cache items belonging to the account provided in the logout request.");
|
|
12919
12922
|
}
|
|
12920
12923
|
catch (error) {
|
|
@@ -12925,7 +12928,7 @@ class BaseInteractionClient {
|
|
|
12925
12928
|
try {
|
|
12926
12929
|
this.logger.verbose("No account provided in logout request, clearing all cache items.", this.correlationId);
|
|
12927
12930
|
// Clear all accounts and tokens
|
|
12928
|
-
this.browserStorage.clear(
|
|
12931
|
+
this.browserStorage.clear(correlationId);
|
|
12929
12932
|
// Clear any stray keys from IndexedDB
|
|
12930
12933
|
await this.browserCrypto.clearKeystore();
|
|
12931
12934
|
}
|
|
@@ -13247,7 +13250,8 @@ class StandardInteractionClient extends BaseInteractionClient {
|
|
|
13247
13250
|
if (request.loginHint || request.sid) {
|
|
13248
13251
|
return validatedRequest;
|
|
13249
13252
|
}
|
|
13250
|
-
const account = request.account ||
|
|
13253
|
+
const account = request.account ||
|
|
13254
|
+
this.browserStorage.getActiveAccount(this.correlationId);
|
|
13251
13255
|
if (account) {
|
|
13252
13256
|
this.logger.verbose("Setting validated request account", this.correlationId);
|
|
13253
13257
|
this.logger.verbosePii(`Setting validated request account: ${account.homeAccountId}`, this.correlationId);
|
|
@@ -13537,7 +13541,7 @@ class SilentCacheClient extends StandardInteractionClient {
|
|
|
13537
13541
|
logout(logoutRequest) {
|
|
13538
13542
|
this.logger.verbose("logoutRedirect called");
|
|
13539
13543
|
const validLogoutRequest = this.initializeLogoutRequest(logoutRequest);
|
|
13540
|
-
return this.clearCacheOnLogout(validLogoutRequest?.account);
|
|
13544
|
+
return this.clearCacheOnLogout(validLogoutRequest.correlationId, validLogoutRequest?.account);
|
|
13541
13545
|
}
|
|
13542
13546
|
}
|
|
13543
13547
|
|
|
@@ -13661,7 +13665,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
13661
13665
|
// fetch the account from browser cache
|
|
13662
13666
|
const account = this.browserStorage.getBaseAccountInfo({
|
|
13663
13667
|
nativeAccountId,
|
|
13664
|
-
});
|
|
13668
|
+
}, this.correlationId);
|
|
13665
13669
|
if (!account) {
|
|
13666
13670
|
throw createClientAuthError(noAccountFound);
|
|
13667
13671
|
}
|
|
@@ -13777,7 +13781,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
13777
13781
|
const homeAccountIdentifier = this.createHomeAccountIdentifier(response, idTokenClaims);
|
|
13778
13782
|
const cachedhomeAccountId = this.browserStorage.getAccountInfoFilteredBy({
|
|
13779
13783
|
nativeAccountId: request.accountId,
|
|
13780
|
-
})?.homeAccountId;
|
|
13784
|
+
}, this.correlationId)?.homeAccountId;
|
|
13781
13785
|
// add exception for double brokering, please note this is temporary and will be fortified in future
|
|
13782
13786
|
if (request.extraParameters?.child_client_id &&
|
|
13783
13787
|
response.account.id !== request.accountId) {
|
|
@@ -13792,7 +13796,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
13792
13796
|
const authority = await this.getDiscoveredAuthority({
|
|
13793
13797
|
requestAuthority: request.authority,
|
|
13794
13798
|
});
|
|
13795
|
-
const baseAccount = buildAccountToCache(this.browserStorage, authority, homeAccountIdentifier, base64Decode, idTokenClaims, response.client_info, undefined, // environment
|
|
13799
|
+
const baseAccount = buildAccountToCache(this.browserStorage, authority, homeAccountIdentifier, base64Decode, this.correlationId, idTokenClaims, response.client_info, undefined, // environment
|
|
13796
13800
|
idTokenClaims.tid, undefined, // auth code payload
|
|
13797
13801
|
response.account.id, this.logger);
|
|
13798
13802
|
// Ensure expires_in is in number format
|
|
@@ -13800,7 +13804,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
13800
13804
|
// generate authenticationResult
|
|
13801
13805
|
const result = await this.generateAuthenticationResult(response, request, idTokenClaims, baseAccount, authority.canonicalAuthority, reqTimestamp);
|
|
13802
13806
|
// cache accounts and tokens in the appropriate storage
|
|
13803
|
-
await this.cacheAccount(baseAccount);
|
|
13807
|
+
await this.cacheAccount(baseAccount, this.correlationId);
|
|
13804
13808
|
await this.cacheNativeTokens(response, request, homeAccountIdentifier, idTokenClaims, response.access_token, result.tenantId, reqTimestamp);
|
|
13805
13809
|
return result;
|
|
13806
13810
|
}
|
|
@@ -13924,11 +13928,11 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
13924
13928
|
* cache the account entity in browser storage
|
|
13925
13929
|
* @param accountEntity
|
|
13926
13930
|
*/
|
|
13927
|
-
async cacheAccount(accountEntity) {
|
|
13931
|
+
async cacheAccount(accountEntity, correlationId) {
|
|
13928
13932
|
// Store the account info and hence `nativeAccountId` in browser cache
|
|
13929
13933
|
await this.browserStorage.setAccount(accountEntity, this.correlationId);
|
|
13930
13934
|
// Remove any existing cached tokens for this account in browser storage
|
|
13931
|
-
this.browserStorage.removeAccountContext(accountEntity,
|
|
13935
|
+
this.browserStorage.removeAccountContext(accountEntity, correlationId);
|
|
13932
13936
|
}
|
|
13933
13937
|
/**
|
|
13934
13938
|
* Stores the access_token and id_token in inmemory storage
|
|
@@ -15098,7 +15102,7 @@ class PopupClient extends StandardInteractionClient {
|
|
|
15098
15102
|
const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.logoutPopup);
|
|
15099
15103
|
try {
|
|
15100
15104
|
// Clear cache on logout
|
|
15101
|
-
await this.clearCacheOnLogout(validRequest.account);
|
|
15105
|
+
await this.clearCacheOnLogout(this.correlationId, validRequest.account);
|
|
15102
15106
|
// Initialize the client
|
|
15103
15107
|
const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
|
|
15104
15108
|
serverTelemetryManager,
|
|
@@ -15476,6 +15480,11 @@ class RedirectClient extends StandardInteractionClient {
|
|
|
15476
15480
|
this.browserStorage.cacheAuthorizeRequest(redirectRequest);
|
|
15477
15481
|
const form = await getEARForm(document, this.config, discoveredAuthority, redirectRequest, this.logger, this.performanceClient);
|
|
15478
15482
|
form.submit();
|
|
15483
|
+
return new Promise((resolve, reject) => {
|
|
15484
|
+
setTimeout(() => {
|
|
15485
|
+
reject(createBrowserAuthError(timedOut, "failed_to_redirect"));
|
|
15486
|
+
}, this.config.system.redirectNavigationTimeout);
|
|
15487
|
+
});
|
|
15479
15488
|
}
|
|
15480
15489
|
/**
|
|
15481
15490
|
* Checks if navigateToLoginRequestUrl is set, and:
|
|
@@ -15690,7 +15699,7 @@ class RedirectClient extends StandardInteractionClient {
|
|
|
15690
15699
|
try {
|
|
15691
15700
|
this.eventHandler.emitEvent(EventType.LOGOUT_START, exports.InteractionType.Redirect, logoutRequest);
|
|
15692
15701
|
// Clear cache on logout
|
|
15693
|
-
await this.clearCacheOnLogout(validLogoutRequest.account);
|
|
15702
|
+
await this.clearCacheOnLogout(this.correlationId, validLogoutRequest.account);
|
|
15694
15703
|
const navigationOptions = {
|
|
15695
15704
|
apiId: ApiId.logout,
|
|
15696
15705
|
timeout: this.config.system.redirectNavigationTimeout,
|
|
@@ -16185,7 +16194,7 @@ class TokenCache {
|
|
|
16185
16194
|
}
|
|
16186
16195
|
const homeAccountId = AccountEntity.generateHomeAccountId(clientInfo, authority.authorityType, this.logger, this.cryptoObj, idTokenClaims);
|
|
16187
16196
|
const claimsTenantId = idTokenClaims?.tid;
|
|
16188
|
-
const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
|
|
16197
|
+
const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
|
|
16189
16198
|
undefined, // nativeAccountId
|
|
16190
16199
|
this.logger);
|
|
16191
16200
|
await this.storage.setAccount(cachedAccount, correlationId);
|
|
@@ -17223,7 +17232,8 @@ class StandardController {
|
|
|
17223
17232
|
* @returns Array of AccountInfo objects in cache
|
|
17224
17233
|
*/
|
|
17225
17234
|
getAllAccounts(accountFilter) {
|
|
17226
|
-
|
|
17235
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17236
|
+
return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnvironment, correlationId, accountFilter);
|
|
17227
17237
|
}
|
|
17228
17238
|
/**
|
|
17229
17239
|
* Returns the first account found in the cache that matches the account filter passed in.
|
|
@@ -17231,7 +17241,8 @@ class StandardController {
|
|
|
17231
17241
|
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
|
17232
17242
|
*/
|
|
17233
17243
|
getAccount(accountFilter) {
|
|
17234
|
-
|
|
17244
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17245
|
+
return getAccount(accountFilter, this.logger, this.browserStorage, correlationId);
|
|
17235
17246
|
}
|
|
17236
17247
|
/**
|
|
17237
17248
|
* Returns the signed in account matching username.
|
|
@@ -17242,7 +17253,8 @@ class StandardController {
|
|
|
17242
17253
|
* @returns The account object stored in MSAL
|
|
17243
17254
|
*/
|
|
17244
17255
|
getAccountByUsername(username) {
|
|
17245
|
-
|
|
17256
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17257
|
+
return getAccountByUsername(username, this.logger, this.browserStorage, correlationId);
|
|
17246
17258
|
}
|
|
17247
17259
|
/**
|
|
17248
17260
|
* Returns the signed in account matching homeAccountId.
|
|
@@ -17252,7 +17264,8 @@ class StandardController {
|
|
|
17252
17264
|
* @returns The account object stored in MSAL
|
|
17253
17265
|
*/
|
|
17254
17266
|
getAccountByHomeId(homeAccountId) {
|
|
17255
|
-
|
|
17267
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17268
|
+
return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage, correlationId);
|
|
17256
17269
|
}
|
|
17257
17270
|
/**
|
|
17258
17271
|
* Returns the signed in account matching localAccountId.
|
|
@@ -17262,20 +17275,23 @@ class StandardController {
|
|
|
17262
17275
|
* @returns The account object stored in MSAL
|
|
17263
17276
|
*/
|
|
17264
17277
|
getAccountByLocalId(localAccountId) {
|
|
17265
|
-
|
|
17278
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17279
|
+
return getAccountByLocalId(localAccountId, this.logger, this.browserStorage, correlationId);
|
|
17266
17280
|
}
|
|
17267
17281
|
/**
|
|
17268
17282
|
* 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
17283
|
* @param account
|
|
17270
17284
|
*/
|
|
17271
17285
|
setActiveAccount(account) {
|
|
17272
|
-
|
|
17286
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17287
|
+
setActiveAccount(account, this.browserStorage, correlationId);
|
|
17273
17288
|
}
|
|
17274
17289
|
/**
|
|
17275
17290
|
* Gets the currently active account
|
|
17276
17291
|
*/
|
|
17277
17292
|
getActiveAccount() {
|
|
17278
|
-
|
|
17293
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17294
|
+
return getActiveAccount(this.browserStorage, correlationId);
|
|
17279
17295
|
}
|
|
17280
17296
|
// #endregion
|
|
17281
17297
|
/**
|
|
@@ -17615,9 +17631,7 @@ class StandardController {
|
|
|
17615
17631
|
async acquireTokenSilentDeduped(request, account, correlationId) {
|
|
17616
17632
|
const thumbprint = getRequestThumbprint(this.config.auth.clientId, {
|
|
17617
17633
|
...request,
|
|
17618
|
-
authority: request.authority || this.config.auth.authority,
|
|
17619
|
-
correlationId: correlationId,
|
|
17620
|
-
}, account.homeAccountId);
|
|
17634
|
+
authority: request.authority || this.config.auth.authority}, account.homeAccountId);
|
|
17621
17635
|
const silentRequestKey = JSON.stringify(thumbprint);
|
|
17622
17636
|
const inProgressRequest = this.activeSilentTokenRequests.get(silentRequestKey);
|
|
17623
17637
|
if (typeof inProgressRequest === "undefined") {
|
|
@@ -18279,8 +18293,9 @@ class NestedAppAuthController {
|
|
|
18279
18293
|
// always prioritize the account context from the bridge
|
|
18280
18294
|
const accountContext = this.bridgeProxy.getAccountContext() || this.currentAccountContext;
|
|
18281
18295
|
let currentAccount = null;
|
|
18296
|
+
const correlationId = request.correlationId || this.browserCrypto.createNewGuid();
|
|
18282
18297
|
if (accountContext) {
|
|
18283
|
-
currentAccount = getAccount(accountContext, this.logger, this.browserStorage);
|
|
18298
|
+
currentAccount = getAccount(accountContext, this.logger, this.browserStorage, correlationId);
|
|
18284
18299
|
}
|
|
18285
18300
|
// fall back to brokering if no cached account is found
|
|
18286
18301
|
if (!currentAccount) {
|
|
@@ -18309,7 +18324,7 @@ class NestedAppAuthController {
|
|
|
18309
18324
|
this.logger.verbose("Cached access token has expired");
|
|
18310
18325
|
return Promise.resolve(null);
|
|
18311
18326
|
}
|
|
18312
|
-
const cachedIdToken = this.browserStorage.getIdToken(currentAccount, tokenKeys, currentAccount.tenantId, this.performanceClient
|
|
18327
|
+
const cachedIdToken = this.browserStorage.getIdToken(currentAccount, authRequest.correlationId, tokenKeys, currentAccount.tenantId, this.performanceClient);
|
|
18313
18328
|
if (!cachedIdToken) {
|
|
18314
18329
|
this.logger.verbose("No cached id token found");
|
|
18315
18330
|
return Promise.resolve(null);
|
|
@@ -18406,7 +18421,8 @@ class NestedAppAuthController {
|
|
|
18406
18421
|
* @returns Array of AccountInfo objects in cache
|
|
18407
18422
|
*/
|
|
18408
18423
|
getAllAccounts(accountFilter) {
|
|
18409
|
-
|
|
18424
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18425
|
+
return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnv(), correlationId, accountFilter);
|
|
18410
18426
|
}
|
|
18411
18427
|
/**
|
|
18412
18428
|
* Returns the first account found in the cache that matches the account filter passed in.
|
|
@@ -18414,7 +18430,8 @@ class NestedAppAuthController {
|
|
|
18414
18430
|
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
|
18415
18431
|
*/
|
|
18416
18432
|
getAccount(accountFilter) {
|
|
18417
|
-
|
|
18433
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18434
|
+
return getAccount(accountFilter, this.logger, this.browserStorage, correlationId);
|
|
18418
18435
|
}
|
|
18419
18436
|
/**
|
|
18420
18437
|
* Returns the signed in account matching username.
|
|
@@ -18425,7 +18442,8 @@ class NestedAppAuthController {
|
|
|
18425
18442
|
* @returns The account object stored in MSAL
|
|
18426
18443
|
*/
|
|
18427
18444
|
getAccountByUsername(username) {
|
|
18428
|
-
|
|
18445
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18446
|
+
return getAccountByUsername(username, this.logger, this.browserStorage, correlationId);
|
|
18429
18447
|
}
|
|
18430
18448
|
/**
|
|
18431
18449
|
* Returns the signed in account matching homeAccountId.
|
|
@@ -18435,7 +18453,8 @@ class NestedAppAuthController {
|
|
|
18435
18453
|
* @returns The account object stored in MSAL
|
|
18436
18454
|
*/
|
|
18437
18455
|
getAccountByHomeId(homeAccountId) {
|
|
18438
|
-
|
|
18456
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18457
|
+
return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage, correlationId);
|
|
18439
18458
|
}
|
|
18440
18459
|
/**
|
|
18441
18460
|
* Returns the signed in account matching localAccountId.
|
|
@@ -18445,7 +18464,8 @@ class NestedAppAuthController {
|
|
|
18445
18464
|
* @returns The account object stored in MSAL
|
|
18446
18465
|
*/
|
|
18447
18466
|
getAccountByLocalId(localAccountId) {
|
|
18448
|
-
|
|
18467
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18468
|
+
return getAccountByLocalId(localAccountId, this.logger, this.browserStorage, correlationId);
|
|
18449
18469
|
}
|
|
18450
18470
|
/**
|
|
18451
18471
|
* 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 +18476,15 @@ class NestedAppAuthController {
|
|
|
18456
18476
|
* StandardController uses this to allow the developer to set the active account
|
|
18457
18477
|
* in the nested app auth scenario the active account is controlled by the app hosting the nested app
|
|
18458
18478
|
*/
|
|
18459
|
-
|
|
18479
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18480
|
+
return setActiveAccount(account, this.browserStorage, correlationId);
|
|
18460
18481
|
}
|
|
18461
18482
|
/**
|
|
18462
18483
|
* Gets the currently active account
|
|
18463
18484
|
*/
|
|
18464
18485
|
getActiveAccount() {
|
|
18465
|
-
|
|
18486
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18487
|
+
return getActiveAccount(this.browserStorage, correlationId);
|
|
18466
18488
|
}
|
|
18467
18489
|
// #endregion
|
|
18468
18490
|
handleRedirectPromise(hash // eslint-disable-line @typescript-eslint/no-unused-vars
|