@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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.15.0 2025-07-08 */
|
|
2
2
|
'use strict';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
|
|
7
7
|
})(this, (function (exports) { 'use strict';
|
|
8
8
|
|
|
9
|
-
/*! @azure/msal-common v15.
|
|
9
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
12
|
* Licensed under the MIT License.
|
|
@@ -139,19 +139,11 @@
|
|
|
139
139
|
CREATE: "create",
|
|
140
140
|
NO_SESSION: "no_session",
|
|
141
141
|
};
|
|
142
|
-
/**
|
|
143
|
-
* allowed values for codeVerifier
|
|
144
|
-
*/
|
|
145
|
-
const CodeChallengeMethodValues = {
|
|
146
|
-
PLAIN: "plain",
|
|
147
|
-
S256: "S256",
|
|
148
|
-
};
|
|
149
142
|
/**
|
|
150
143
|
* Allowed values for response_type
|
|
151
144
|
*/
|
|
152
145
|
const OAuthResponseType = {
|
|
153
146
|
CODE: "code",
|
|
154
|
-
IDTOKEN_TOKEN: "id_token token",
|
|
155
147
|
IDTOKEN_TOKEN_REFRESHTOKEN: "id_token token refresh_token",
|
|
156
148
|
};
|
|
157
149
|
/**
|
|
@@ -166,29 +158,19 @@
|
|
|
166
158
|
* allowed values for response_mode
|
|
167
159
|
*/
|
|
168
160
|
const ResponseMode = {
|
|
169
|
-
QUERY: "query"
|
|
170
|
-
FRAGMENT: "fragment",
|
|
171
|
-
FORM_POST: "form_post",
|
|
172
|
-
};
|
|
161
|
+
QUERY: "query"};
|
|
173
162
|
/**
|
|
174
163
|
* allowed grant_type
|
|
175
164
|
*/
|
|
176
165
|
const GrantType = {
|
|
177
|
-
IMPLICIT_GRANT: "implicit",
|
|
178
166
|
AUTHORIZATION_CODE_GRANT: "authorization_code",
|
|
179
|
-
|
|
180
|
-
RESOURCE_OWNER_PASSWORD_GRANT: "password",
|
|
181
|
-
REFRESH_TOKEN_GRANT: "refresh_token",
|
|
182
|
-
DEVICE_CODE_GRANT: "device_code",
|
|
183
|
-
JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer",
|
|
184
|
-
};
|
|
167
|
+
REFRESH_TOKEN_GRANT: "refresh_token"};
|
|
185
168
|
/**
|
|
186
169
|
* Account types in Cache
|
|
187
170
|
*/
|
|
188
171
|
const CacheAccountType = {
|
|
189
172
|
MSSTS_ACCOUNT_TYPE: "MSSTS",
|
|
190
173
|
ADFS_ACCOUNT_TYPE: "ADFS",
|
|
191
|
-
MSAV1_ACCOUNT_TYPE: "MSA",
|
|
192
174
|
GENERIC_ACCOUNT_TYPE: "Generic", // NTLM, Kerberos, FBA, Basic etc
|
|
193
175
|
};
|
|
194
176
|
/**
|
|
@@ -225,7 +207,6 @@
|
|
|
225
207
|
};
|
|
226
208
|
const SERVER_TELEM_CONSTANTS = {
|
|
227
209
|
SCHEMA_VERSION: 5,
|
|
228
|
-
MAX_CUR_HEADER_BYTES: 80,
|
|
229
210
|
MAX_LAST_HEADER_BYTES: 330,
|
|
230
211
|
MAX_CACHED_ERRORS: 50,
|
|
231
212
|
CACHE_KEY: "server-telemetry",
|
|
@@ -273,9 +254,7 @@
|
|
|
273
254
|
* Region Discovery Outcomes
|
|
274
255
|
*/
|
|
275
256
|
const RegionDiscoveryOutcomes = {
|
|
276
|
-
CONFIGURED_MATCHES_DETECTED: "1",
|
|
277
257
|
CONFIGURED_NO_AUTO_DETECTION: "2",
|
|
278
|
-
CONFIGURED_NOT_DETECTED: "3",
|
|
279
258
|
AUTO_DETECTION_REQUESTED_SUCCESSFUL: "4",
|
|
280
259
|
AUTO_DETECTION_REQUESTED_FAILED: "5",
|
|
281
260
|
};
|
|
@@ -302,7 +281,7 @@
|
|
|
302
281
|
// Token renewal offset default in seconds
|
|
303
282
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
304
283
|
|
|
305
|
-
/*! @azure/msal-common v15.
|
|
284
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
306
285
|
/*
|
|
307
286
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
308
287
|
* Licensed under the MIT License.
|
|
@@ -319,7 +298,7 @@
|
|
|
319
298
|
unexpectedError: unexpectedError
|
|
320
299
|
});
|
|
321
300
|
|
|
322
|
-
/*! @azure/msal-common v15.
|
|
301
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
323
302
|
|
|
324
303
|
/*
|
|
325
304
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -368,7 +347,7 @@
|
|
|
368
347
|
: AuthErrorMessages[code]);
|
|
369
348
|
}
|
|
370
349
|
|
|
371
|
-
/*! @azure/msal-common v15.
|
|
350
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
372
351
|
/*
|
|
373
352
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
374
353
|
* Licensed under the MIT License.
|
|
@@ -466,7 +445,7 @@
|
|
|
466
445
|
userTimeoutReached: userTimeoutReached
|
|
467
446
|
});
|
|
468
447
|
|
|
469
|
-
/*! @azure/msal-common v15.
|
|
448
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
470
449
|
|
|
471
450
|
/*
|
|
472
451
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -718,7 +697,7 @@
|
|
|
718
697
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
719
698
|
}
|
|
720
699
|
|
|
721
|
-
/*! @azure/msal-common v15.
|
|
700
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
722
701
|
|
|
723
702
|
/*
|
|
724
703
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -757,7 +736,7 @@
|
|
|
757
736
|
},
|
|
758
737
|
};
|
|
759
738
|
|
|
760
|
-
/*! @azure/msal-common v15.
|
|
739
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
761
740
|
|
|
762
741
|
/*
|
|
763
742
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -948,12 +927,12 @@
|
|
|
948
927
|
}
|
|
949
928
|
}
|
|
950
929
|
|
|
951
|
-
/*! @azure/msal-common v15.
|
|
930
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
952
931
|
/* eslint-disable header/header */
|
|
953
932
|
const name$1 = "@azure/msal-common";
|
|
954
|
-
const version$1 = "15.
|
|
933
|
+
const version$1 = "15.8.1";
|
|
955
934
|
|
|
956
|
-
/*! @azure/msal-common v15.
|
|
935
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
957
936
|
/*
|
|
958
937
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
959
938
|
* Licensed under the MIT License.
|
|
@@ -973,7 +952,7 @@
|
|
|
973
952
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
974
953
|
};
|
|
975
954
|
|
|
976
|
-
/*! @azure/msal-common v15.
|
|
955
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
977
956
|
|
|
978
957
|
/*
|
|
979
958
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1034,7 +1013,7 @@
|
|
|
1034
1013
|
}
|
|
1035
1014
|
}
|
|
1036
1015
|
|
|
1037
|
-
/*! @azure/msal-common v15.
|
|
1016
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1038
1017
|
/*
|
|
1039
1018
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1040
1019
|
* Licensed under the MIT License.
|
|
@@ -1089,7 +1068,7 @@
|
|
|
1089
1068
|
return cachedAtSec > nowSeconds();
|
|
1090
1069
|
}
|
|
1091
1070
|
|
|
1092
|
-
/*! @azure/msal-common v15.
|
|
1071
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1093
1072
|
|
|
1094
1073
|
/*
|
|
1095
1074
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1416,7 +1395,7 @@
|
|
|
1416
1395
|
return metadata.expiresAt <= nowSeconds();
|
|
1417
1396
|
}
|
|
1418
1397
|
|
|
1419
|
-
/*! @azure/msal-common v15.
|
|
1398
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1420
1399
|
/*
|
|
1421
1400
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1422
1401
|
* Licensed under the MIT License.
|
|
@@ -1427,7 +1406,6 @@
|
|
|
1427
1406
|
const urlParseError = "url_parse_error";
|
|
1428
1407
|
const urlEmptyError = "empty_url_error";
|
|
1429
1408
|
const emptyInputScopesError = "empty_input_scopes_error";
|
|
1430
|
-
const invalidPromptValue = "invalid_prompt_value";
|
|
1431
1409
|
const invalidClaims = "invalid_claims";
|
|
1432
1410
|
const tokenRequestEmpty = "token_request_empty";
|
|
1433
1411
|
const logoutRequestEmpty = "logout_request_empty";
|
|
@@ -1457,7 +1435,6 @@
|
|
|
1457
1435
|
invalidClaims: invalidClaims,
|
|
1458
1436
|
invalidCloudDiscoveryMetadata: invalidCloudDiscoveryMetadata,
|
|
1459
1437
|
invalidCodeChallengeMethod: invalidCodeChallengeMethod,
|
|
1460
|
-
invalidPromptValue: invalidPromptValue,
|
|
1461
1438
|
logoutRequestEmpty: logoutRequestEmpty,
|
|
1462
1439
|
missingNonceAuthenticationHeader: missingNonceAuthenticationHeader,
|
|
1463
1440
|
missingSshJwk: missingSshJwk,
|
|
@@ -1470,7 +1447,7 @@
|
|
|
1470
1447
|
urlParseError: urlParseError
|
|
1471
1448
|
});
|
|
1472
1449
|
|
|
1473
|
-
/*! @azure/msal-common v15.
|
|
1450
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1474
1451
|
|
|
1475
1452
|
/*
|
|
1476
1453
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1483,7 +1460,6 @@
|
|
|
1483
1460
|
[urlParseError]: "URL could not be parsed into appropriate segments.",
|
|
1484
1461
|
[urlEmptyError]: "URL was empty or null.",
|
|
1485
1462
|
[emptyInputScopesError]: "Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",
|
|
1486
|
-
[invalidPromptValue]: "Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",
|
|
1487
1463
|
[invalidClaims]: "Given claims parameter must be a stringified JSON object.",
|
|
1488
1464
|
[tokenRequestEmpty]: "Token request was empty and not found in cache.",
|
|
1489
1465
|
[logoutRequestEmpty]: "The logout request was null or undefined.",
|
|
@@ -1529,10 +1505,6 @@
|
|
|
1529
1505
|
code: emptyInputScopesError,
|
|
1530
1506
|
desc: ClientConfigurationErrorMessages[emptyInputScopesError],
|
|
1531
1507
|
},
|
|
1532
|
-
invalidPrompt: {
|
|
1533
|
-
code: invalidPromptValue,
|
|
1534
|
-
desc: ClientConfigurationErrorMessages[invalidPromptValue],
|
|
1535
|
-
},
|
|
1536
1508
|
invalidClaimsRequest: {
|
|
1537
1509
|
code: invalidClaims,
|
|
1538
1510
|
desc: ClientConfigurationErrorMessages[invalidClaims],
|
|
@@ -1608,7 +1580,7 @@
|
|
|
1608
1580
|
return new ClientConfigurationError(errorCode);
|
|
1609
1581
|
}
|
|
1610
1582
|
|
|
1611
|
-
/*! @azure/msal-common v15.
|
|
1583
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1612
1584
|
/*
|
|
1613
1585
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1614
1586
|
* Licensed under the MIT License.
|
|
@@ -1705,7 +1677,7 @@
|
|
|
1705
1677
|
}
|
|
1706
1678
|
}
|
|
1707
1679
|
|
|
1708
|
-
/*! @azure/msal-common v15.
|
|
1680
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1709
1681
|
|
|
1710
1682
|
/*
|
|
1711
1683
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1896,7 +1868,7 @@
|
|
|
1896
1868
|
}
|
|
1897
1869
|
}
|
|
1898
1870
|
|
|
1899
|
-
/*! @azure/msal-common v15.
|
|
1871
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1900
1872
|
|
|
1901
1873
|
/*
|
|
1902
1874
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1936,7 +1908,7 @@
|
|
|
1936
1908
|
};
|
|
1937
1909
|
}
|
|
1938
1910
|
|
|
1939
|
-
/*! @azure/msal-common v15.
|
|
1911
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1940
1912
|
/*
|
|
1941
1913
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1942
1914
|
* Licensed under the MIT License.
|
|
@@ -2015,7 +1987,7 @@
|
|
|
2015
1987
|
return updatedAccountInfo;
|
|
2016
1988
|
}
|
|
2017
1989
|
|
|
2018
|
-
/*! @azure/msal-common v15.
|
|
1990
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2019
1991
|
/*
|
|
2020
1992
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2021
1993
|
* Licensed under the MIT License.
|
|
@@ -2030,7 +2002,7 @@
|
|
|
2030
2002
|
Ciam: 3,
|
|
2031
2003
|
};
|
|
2032
2004
|
|
|
2033
|
-
/*! @azure/msal-common v15.
|
|
2005
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2034
2006
|
/*
|
|
2035
2007
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2036
2008
|
* Licensed under the MIT License.
|
|
@@ -2052,7 +2024,7 @@
|
|
|
2052
2024
|
return null;
|
|
2053
2025
|
}
|
|
2054
2026
|
|
|
2055
|
-
/*! @azure/msal-common v15.
|
|
2027
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2056
2028
|
/*
|
|
2057
2029
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2058
2030
|
* Licensed under the MIT License.
|
|
@@ -2076,7 +2048,7 @@
|
|
|
2076
2048
|
EAR: "EAR",
|
|
2077
2049
|
};
|
|
2078
2050
|
|
|
2079
|
-
/*! @azure/msal-common v15.
|
|
2051
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2080
2052
|
|
|
2081
2053
|
/*
|
|
2082
2054
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2319,7 +2291,7 @@
|
|
|
2319
2291
|
}
|
|
2320
2292
|
}
|
|
2321
2293
|
|
|
2322
|
-
/*! @azure/msal-common v15.
|
|
2294
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2323
2295
|
|
|
2324
2296
|
/*
|
|
2325
2297
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2384,7 +2356,7 @@
|
|
|
2384
2356
|
return queryParameterArray.join("&");
|
|
2385
2357
|
}
|
|
2386
2358
|
|
|
2387
|
-
/*! @azure/msal-common v15.
|
|
2359
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2388
2360
|
|
|
2389
2361
|
/*
|
|
2390
2362
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2548,7 +2520,7 @@
|
|
|
2548
2520
|
}
|
|
2549
2521
|
}
|
|
2550
2522
|
|
|
2551
|
-
/*! @azure/msal-common v15.
|
|
2523
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2552
2524
|
|
|
2553
2525
|
/*
|
|
2554
2526
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2579,7 +2551,6 @@
|
|
|
2579
2551
|
},
|
|
2580
2552
|
},
|
|
2581
2553
|
instanceDiscoveryMetadata: {
|
|
2582
|
-
tenant_discovery_endpoint: "https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",
|
|
2583
2554
|
metadata: [
|
|
2584
2555
|
{
|
|
2585
2556
|
preferred_network: "login.microsoftonline.com",
|
|
@@ -2688,42 +2659,60 @@
|
|
|
2688
2659
|
return null;
|
|
2689
2660
|
}
|
|
2690
2661
|
|
|
2691
|
-
/*! @azure/msal-common v15.
|
|
2662
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2692
2663
|
/*
|
|
2693
2664
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2694
2665
|
* Licensed under the MIT License.
|
|
2695
2666
|
*/
|
|
2696
|
-
const
|
|
2697
|
-
const
|
|
2667
|
+
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2668
|
+
const cacheErrorUnknown = "cache_error_unknown";
|
|
2698
2669
|
|
|
2699
|
-
/*! @azure/msal-common v15.
|
|
2670
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2700
2671
|
|
|
2701
2672
|
/*
|
|
2702
2673
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2703
2674
|
* Licensed under the MIT License.
|
|
2704
2675
|
*/
|
|
2705
2676
|
const CacheErrorMessages = {
|
|
2706
|
-
[
|
|
2707
|
-
[
|
|
2677
|
+
[cacheQuotaExceeded]: "Exceeded cache storage capacity.",
|
|
2678
|
+
[cacheErrorUnknown]: "Unexpected error occurred when using cache storage.",
|
|
2708
2679
|
};
|
|
2709
2680
|
/**
|
|
2710
2681
|
* Error thrown when there is an error with the cache
|
|
2711
2682
|
*/
|
|
2712
|
-
class CacheError extends
|
|
2683
|
+
class CacheError extends AuthError {
|
|
2713
2684
|
constructor(errorCode, errorMessage) {
|
|
2714
2685
|
const message = errorMessage ||
|
|
2715
2686
|
(CacheErrorMessages[errorCode]
|
|
2716
2687
|
? CacheErrorMessages[errorCode]
|
|
2717
|
-
: CacheErrorMessages[
|
|
2688
|
+
: CacheErrorMessages[cacheErrorUnknown]);
|
|
2718
2689
|
super(`${errorCode}: ${message}`);
|
|
2719
2690
|
Object.setPrototypeOf(this, CacheError.prototype);
|
|
2720
2691
|
this.name = "CacheError";
|
|
2721
2692
|
this.errorCode = errorCode;
|
|
2722
2693
|
this.errorMessage = message;
|
|
2723
2694
|
}
|
|
2695
|
+
}
|
|
2696
|
+
/**
|
|
2697
|
+
* Helper function to wrap browser errors in a CacheError object
|
|
2698
|
+
* @param e
|
|
2699
|
+
* @returns
|
|
2700
|
+
*/
|
|
2701
|
+
function createCacheError(e) {
|
|
2702
|
+
if (!(e instanceof Error)) {
|
|
2703
|
+
return new CacheError(cacheErrorUnknown);
|
|
2704
|
+
}
|
|
2705
|
+
if (e.name === "QuotaExceededError" ||
|
|
2706
|
+
e.name === "NS_ERROR_DOM_QUOTA_REACHED" ||
|
|
2707
|
+
e.message.includes("exceeded the quota")) {
|
|
2708
|
+
return new CacheError(cacheQuotaExceeded);
|
|
2709
|
+
}
|
|
2710
|
+
else {
|
|
2711
|
+
return new CacheError(e.name, e.message);
|
|
2712
|
+
}
|
|
2724
2713
|
}
|
|
2725
2714
|
|
|
2726
|
-
/*! @azure/msal-common v15.
|
|
2715
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2727
2716
|
|
|
2728
2717
|
/*
|
|
2729
2718
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2746,14 +2735,14 @@
|
|
|
2746
2735
|
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
|
2747
2736
|
* @returns Array of AccountInfo objects in cache
|
|
2748
2737
|
*/
|
|
2749
|
-
getAllAccounts(accountFilter) {
|
|
2750
|
-
return this.buildTenantProfiles(this.getAccountsFilteredBy(accountFilter
|
|
2738
|
+
getAllAccounts(accountFilter, correlationId) {
|
|
2739
|
+
return this.buildTenantProfiles(this.getAccountsFilteredBy(accountFilter, correlationId), correlationId, accountFilter);
|
|
2751
2740
|
}
|
|
2752
2741
|
/**
|
|
2753
2742
|
* Gets first tenanted AccountInfo object found based on provided filters
|
|
2754
2743
|
*/
|
|
2755
|
-
getAccountInfoFilteredBy(accountFilter) {
|
|
2756
|
-
const allAccounts = this.getAllAccounts(accountFilter);
|
|
2744
|
+
getAccountInfoFilteredBy(accountFilter, correlationId) {
|
|
2745
|
+
const allAccounts = this.getAllAccounts(accountFilter, correlationId);
|
|
2757
2746
|
if (allAccounts.length > 1) {
|
|
2758
2747
|
// If one or more accounts are found, prioritize accounts that have an ID token
|
|
2759
2748
|
const sortedAccounts = allAccounts.sort((account) => {
|
|
@@ -2774,8 +2763,8 @@
|
|
|
2774
2763
|
* @param accountFilter
|
|
2775
2764
|
* @returns
|
|
2776
2765
|
*/
|
|
2777
|
-
getBaseAccountInfo(accountFilter) {
|
|
2778
|
-
const accountEntities = this.getAccountsFilteredBy(accountFilter);
|
|
2766
|
+
getBaseAccountInfo(accountFilter, correlationId) {
|
|
2767
|
+
const accountEntities = this.getAccountsFilteredBy(accountFilter, correlationId);
|
|
2779
2768
|
if (accountEntities.length > 0) {
|
|
2780
2769
|
return accountEntities[0].getAccountInfo();
|
|
2781
2770
|
}
|
|
@@ -2790,12 +2779,12 @@
|
|
|
2790
2779
|
* @param accountFilter
|
|
2791
2780
|
* @returns Array of AccountInfo objects that match account and tenant profile filters
|
|
2792
2781
|
*/
|
|
2793
|
-
buildTenantProfiles(cachedAccounts, accountFilter) {
|
|
2782
|
+
buildTenantProfiles(cachedAccounts, correlationId, accountFilter) {
|
|
2794
2783
|
return cachedAccounts.flatMap((accountEntity) => {
|
|
2795
|
-
return this.getTenantProfilesFromAccountEntity(accountEntity, accountFilter?.tenantId, accountFilter);
|
|
2784
|
+
return this.getTenantProfilesFromAccountEntity(accountEntity, correlationId, accountFilter?.tenantId, accountFilter);
|
|
2796
2785
|
});
|
|
2797
2786
|
}
|
|
2798
|
-
getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, tenantProfileFilter) {
|
|
2787
|
+
getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, correlationId, tenantProfileFilter) {
|
|
2799
2788
|
let tenantedAccountInfo = null;
|
|
2800
2789
|
let idTokenClaims;
|
|
2801
2790
|
if (tenantProfileFilter) {
|
|
@@ -2803,7 +2792,7 @@
|
|
|
2803
2792
|
return null;
|
|
2804
2793
|
}
|
|
2805
2794
|
}
|
|
2806
|
-
const idToken = this.getIdToken(accountInfo, tokenKeys, tenantProfile.tenantId);
|
|
2795
|
+
const idToken = this.getIdToken(accountInfo, correlationId, tokenKeys, tenantProfile.tenantId);
|
|
2807
2796
|
if (idToken) {
|
|
2808
2797
|
idTokenClaims = extractTokenClaims(idToken.secret, this.cryptoImpl.base64Decode);
|
|
2809
2798
|
if (!this.idTokenClaimsMatchTenantProfileFilter(idTokenClaims, tenantProfileFilter)) {
|
|
@@ -2815,7 +2804,7 @@
|
|
|
2815
2804
|
tenantedAccountInfo = updateAccountTenantProfileData(accountInfo, tenantProfile, idTokenClaims, idToken?.secret);
|
|
2816
2805
|
return tenantedAccountInfo;
|
|
2817
2806
|
}
|
|
2818
|
-
getTenantProfilesFromAccountEntity(accountEntity, targetTenantId, tenantProfileFilter) {
|
|
2807
|
+
getTenantProfilesFromAccountEntity(accountEntity, correlationId, targetTenantId, tenantProfileFilter) {
|
|
2819
2808
|
const accountInfo = accountEntity.getAccountInfo();
|
|
2820
2809
|
let searchTenantProfiles = accountInfo.tenantProfiles || new Map();
|
|
2821
2810
|
const tokenKeys = this.getTokenKeys();
|
|
@@ -2835,7 +2824,7 @@
|
|
|
2835
2824
|
}
|
|
2836
2825
|
const matchingTenantProfiles = [];
|
|
2837
2826
|
searchTenantProfiles.forEach((tenantProfile) => {
|
|
2838
|
-
const tenantedAccountInfo = this.getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, tenantProfileFilter);
|
|
2827
|
+
const tenantedAccountInfo = this.getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, correlationId, tenantProfileFilter);
|
|
2839
2828
|
if (tenantedAccountInfo) {
|
|
2840
2829
|
matchingTenantProfiles.push(tenantedAccountInfo);
|
|
2841
2830
|
}
|
|
@@ -2909,26 +2898,16 @@
|
|
|
2909
2898
|
await this.setRefreshTokenCredential(cacheRecord.refreshToken, correlationId);
|
|
2910
2899
|
}
|
|
2911
2900
|
if (!!cacheRecord.appMetadata) {
|
|
2912
|
-
this.setAppMetadata(cacheRecord.appMetadata);
|
|
2901
|
+
this.setAppMetadata(cacheRecord.appMetadata, correlationId);
|
|
2913
2902
|
}
|
|
2914
2903
|
}
|
|
2915
2904
|
catch (e) {
|
|
2916
2905
|
this.commonLogger?.error(`CacheManager.saveCacheRecord: failed`);
|
|
2917
|
-
if (e instanceof
|
|
2918
|
-
|
|
2919
|
-
if (e.name === "QuotaExceededError" ||
|
|
2920
|
-
e.name === "NS_ERROR_DOM_QUOTA_REACHED" ||
|
|
2921
|
-
e.message.includes("exceeded the quota")) {
|
|
2922
|
-
this.commonLogger?.error(`CacheManager.saveCacheRecord: exceeded storage quota`, correlationId);
|
|
2923
|
-
throw new CacheError(cacheQuotaExceededErrorCode);
|
|
2924
|
-
}
|
|
2925
|
-
else {
|
|
2926
|
-
throw new CacheError(e.name, e.message);
|
|
2927
|
-
}
|
|
2906
|
+
if (e instanceof AuthError) {
|
|
2907
|
+
throw e;
|
|
2928
2908
|
}
|
|
2929
2909
|
else {
|
|
2930
|
-
|
|
2931
|
-
throw new CacheError(cacheUnknownErrorCode);
|
|
2910
|
+
throw createCacheError(e);
|
|
2932
2911
|
}
|
|
2933
2912
|
}
|
|
2934
2913
|
}
|
|
@@ -2952,7 +2931,7 @@
|
|
|
2952
2931
|
if (!this.accessTokenKeyMatchesFilter(key, accessTokenFilter, false)) {
|
|
2953
2932
|
return;
|
|
2954
2933
|
}
|
|
2955
|
-
const tokenEntity = this.getAccessTokenCredential(key);
|
|
2934
|
+
const tokenEntity = this.getAccessTokenCredential(key, correlationId);
|
|
2956
2935
|
if (tokenEntity &&
|
|
2957
2936
|
this.credentialMatchesFilter(tokenEntity, accessTokenFilter)) {
|
|
2958
2937
|
const tokenScopeSet = ScopeSet.fromString(tokenEntity.target);
|
|
@@ -2968,7 +2947,7 @@
|
|
|
2968
2947
|
* Not checking for casing as keys are all generated in lower case, remember to convert to lower case if object properties are compared
|
|
2969
2948
|
* @param accountFilter - An object containing Account properties to filter by
|
|
2970
2949
|
*/
|
|
2971
|
-
getAccountsFilteredBy(accountFilter) {
|
|
2950
|
+
getAccountsFilteredBy(accountFilter, correlationId) {
|
|
2972
2951
|
const allAccountKeys = this.getAccountKeys();
|
|
2973
2952
|
const matchingAccounts = [];
|
|
2974
2953
|
allAccountKeys.forEach((cacheKey) => {
|
|
@@ -2976,7 +2955,7 @@
|
|
|
2976
2955
|
// Don't parse value if the key doesn't match the account filters
|
|
2977
2956
|
return;
|
|
2978
2957
|
}
|
|
2979
|
-
const entity = this.getAccount(cacheKey,
|
|
2958
|
+
const entity = this.getAccount(cacheKey, correlationId);
|
|
2980
2959
|
// Match base account fields
|
|
2981
2960
|
if (!entity) {
|
|
2982
2961
|
return;
|
|
@@ -3213,12 +3192,12 @@
|
|
|
3213
3192
|
* @param account
|
|
3214
3193
|
*/
|
|
3215
3194
|
removeAccount(accountKey, correlationId) {
|
|
3216
|
-
const account = this.getAccount(accountKey,
|
|
3195
|
+
const account = this.getAccount(accountKey, correlationId);
|
|
3217
3196
|
if (!account) {
|
|
3218
3197
|
return;
|
|
3219
3198
|
}
|
|
3220
3199
|
this.removeAccountContext(account, correlationId);
|
|
3221
|
-
this.removeItem(accountKey);
|
|
3200
|
+
this.removeItem(accountKey, correlationId);
|
|
3222
3201
|
}
|
|
3223
3202
|
/**
|
|
3224
3203
|
* Removes credentials associated with the provided account
|
|
@@ -3229,7 +3208,7 @@
|
|
|
3229
3208
|
const accountId = account.generateAccountId();
|
|
3230
3209
|
allTokenKeys.idToken.forEach((key) => {
|
|
3231
3210
|
if (key.indexOf(accountId) === 0) {
|
|
3232
|
-
this.removeIdToken(key);
|
|
3211
|
+
this.removeIdToken(key, correlationId);
|
|
3233
3212
|
}
|
|
3234
3213
|
});
|
|
3235
3214
|
allTokenKeys.accessToken.forEach((key) => {
|
|
@@ -3239,45 +3218,43 @@
|
|
|
3239
3218
|
});
|
|
3240
3219
|
allTokenKeys.refreshToken.forEach((key) => {
|
|
3241
3220
|
if (key.indexOf(accountId) === 0) {
|
|
3242
|
-
this.removeRefreshToken(key);
|
|
3221
|
+
this.removeRefreshToken(key, correlationId);
|
|
3243
3222
|
}
|
|
3244
3223
|
});
|
|
3245
3224
|
}
|
|
3246
3225
|
/**
|
|
3247
|
-
*
|
|
3248
|
-
* @param
|
|
3226
|
+
* Removes accessToken from the cache
|
|
3227
|
+
* @param key
|
|
3228
|
+
* @param correlationId
|
|
3249
3229
|
*/
|
|
3250
3230
|
removeAccessToken(key, correlationId) {
|
|
3251
|
-
const credential = this.getAccessTokenCredential(key);
|
|
3252
|
-
|
|
3231
|
+
const credential = this.getAccessTokenCredential(key, correlationId);
|
|
3232
|
+
this.removeItem(key, correlationId);
|
|
3233
|
+
this.performanceClient.incrementFields({ accessTokensRemoved: 1 }, correlationId);
|
|
3234
|
+
if (!credential ||
|
|
3235
|
+
credential.credentialType.toLowerCase() !==
|
|
3236
|
+
CredentialType.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase() ||
|
|
3237
|
+
credential.tokenType !== AuthenticationScheme.POP) {
|
|
3238
|
+
// If the credential is not a PoP token, we can return
|
|
3253
3239
|
return;
|
|
3254
3240
|
}
|
|
3255
|
-
this.removeItem(key);
|
|
3256
3241
|
// Remove Token Binding Key from key store for PoP Tokens Credentials
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
void this.cryptoImpl
|
|
3264
|
-
.removeTokenBindingKey(kid)
|
|
3265
|
-
.catch(() => {
|
|
3266
|
-
this.commonLogger.error(`Failed to remove token binding key ${kid}`, correlationId);
|
|
3267
|
-
this.performanceClient?.incrementFields({ removeTokenBindingKeyFailure: 1 }, correlationId);
|
|
3268
|
-
});
|
|
3269
|
-
}
|
|
3270
|
-
}
|
|
3242
|
+
const kid = credential.keyId;
|
|
3243
|
+
if (kid) {
|
|
3244
|
+
void this.cryptoImpl.removeTokenBindingKey(kid).catch(() => {
|
|
3245
|
+
this.commonLogger.error(`Failed to remove token binding key ${kid}`, correlationId);
|
|
3246
|
+
this.performanceClient?.incrementFields({ removeTokenBindingKeyFailure: 1 }, correlationId);
|
|
3247
|
+
});
|
|
3271
3248
|
}
|
|
3272
3249
|
}
|
|
3273
3250
|
/**
|
|
3274
3251
|
* Removes all app metadata objects from cache.
|
|
3275
3252
|
*/
|
|
3276
|
-
removeAppMetadata() {
|
|
3253
|
+
removeAppMetadata(correlationId) {
|
|
3277
3254
|
const allCacheKeys = this.getKeys();
|
|
3278
3255
|
allCacheKeys.forEach((cacheKey) => {
|
|
3279
3256
|
if (this.isAppMetadata(cacheKey)) {
|
|
3280
|
-
this.removeItem(cacheKey);
|
|
3257
|
+
this.removeItem(cacheKey, correlationId);
|
|
3281
3258
|
}
|
|
3282
3259
|
});
|
|
3283
3260
|
return true;
|
|
@@ -3286,9 +3263,9 @@
|
|
|
3286
3263
|
* Retrieve AccountEntity from cache
|
|
3287
3264
|
* @param account
|
|
3288
3265
|
*/
|
|
3289
|
-
readAccountFromCache(account) {
|
|
3266
|
+
readAccountFromCache(account, correlationId) {
|
|
3290
3267
|
const accountKey = AccountEntity.generateAccountCacheKey(account);
|
|
3291
|
-
return this.getAccount(accountKey,
|
|
3268
|
+
return this.getAccount(accountKey, correlationId);
|
|
3292
3269
|
}
|
|
3293
3270
|
/**
|
|
3294
3271
|
* Retrieve IdTokenEntity from cache
|
|
@@ -3298,7 +3275,7 @@
|
|
|
3298
3275
|
* @param performanceClient {?IPerformanceClient}
|
|
3299
3276
|
* @param correlationId {?string}
|
|
3300
3277
|
*/
|
|
3301
|
-
getIdToken(account, tokenKeys, targetRealm, performanceClient
|
|
3278
|
+
getIdToken(account, correlationId, tokenKeys, targetRealm, performanceClient) {
|
|
3302
3279
|
this.commonLogger.trace("CacheManager - getIdToken called");
|
|
3303
3280
|
const idTokenFilter = {
|
|
3304
3281
|
homeAccountId: account.homeAccountId,
|
|
@@ -3307,7 +3284,7 @@
|
|
|
3307
3284
|
clientId: this.clientId,
|
|
3308
3285
|
realm: targetRealm,
|
|
3309
3286
|
};
|
|
3310
|
-
const idTokenMap = this.getIdTokensByFilter(idTokenFilter, tokenKeys);
|
|
3287
|
+
const idTokenMap = this.getIdTokensByFilter(idTokenFilter, correlationId, tokenKeys);
|
|
3311
3288
|
const numIdTokens = idTokenMap.size;
|
|
3312
3289
|
if (numIdTokens < 1) {
|
|
3313
3290
|
this.commonLogger.info("CacheManager:getIdToken - No token found");
|
|
@@ -3340,7 +3317,7 @@
|
|
|
3340
3317
|
// Multiple tokens for a single tenant profile, remove all and return null
|
|
3341
3318
|
this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them");
|
|
3342
3319
|
tokensToBeRemoved.forEach((idToken, key) => {
|
|
3343
|
-
this.removeIdToken(key);
|
|
3320
|
+
this.removeIdToken(key, correlationId);
|
|
3344
3321
|
});
|
|
3345
3322
|
if (performanceClient && correlationId) {
|
|
3346
3323
|
performanceClient.addFields({ multiMatchedID: idTokenMap.size }, correlationId);
|
|
@@ -3355,7 +3332,7 @@
|
|
|
3355
3332
|
* @param filter
|
|
3356
3333
|
* @returns
|
|
3357
3334
|
*/
|
|
3358
|
-
getIdTokensByFilter(filter, tokenKeys) {
|
|
3335
|
+
getIdTokensByFilter(filter, correlationId, tokenKeys) {
|
|
3359
3336
|
const idTokenKeys = (tokenKeys && tokenKeys.idToken) || this.getTokenKeys().idToken;
|
|
3360
3337
|
const idTokens = new Map();
|
|
3361
3338
|
idTokenKeys.forEach((key) => {
|
|
@@ -3365,7 +3342,7 @@
|
|
|
3365
3342
|
})) {
|
|
3366
3343
|
return;
|
|
3367
3344
|
}
|
|
3368
|
-
const idToken = this.getIdTokenCredential(key);
|
|
3345
|
+
const idToken = this.getIdTokenCredential(key, correlationId);
|
|
3369
3346
|
if (idToken && this.credentialMatchesFilter(idToken, filter)) {
|
|
3370
3347
|
idTokens.set(key, idToken);
|
|
3371
3348
|
}
|
|
@@ -3394,20 +3371,21 @@
|
|
|
3394
3371
|
* Removes idToken from the cache
|
|
3395
3372
|
* @param key
|
|
3396
3373
|
*/
|
|
3397
|
-
removeIdToken(key) {
|
|
3398
|
-
this.removeItem(key);
|
|
3374
|
+
removeIdToken(key, correlationId) {
|
|
3375
|
+
this.removeItem(key, correlationId);
|
|
3399
3376
|
}
|
|
3400
3377
|
/**
|
|
3401
3378
|
* Removes refresh token from the cache
|
|
3402
3379
|
* @param key
|
|
3403
3380
|
*/
|
|
3404
|
-
removeRefreshToken(key) {
|
|
3405
|
-
this.removeItem(key);
|
|
3381
|
+
removeRefreshToken(key, correlationId) {
|
|
3382
|
+
this.removeItem(key, correlationId);
|
|
3406
3383
|
}
|
|
3407
3384
|
/**
|
|
3408
3385
|
* Retrieve AccessTokenEntity from cache
|
|
3409
3386
|
* @param account {AccountInfo}
|
|
3410
3387
|
* @param request {BaseAuthRequest}
|
|
3388
|
+
* @param correlationId {?string}
|
|
3411
3389
|
* @param tokenKeys {?TokenKeys}
|
|
3412
3390
|
* @param performanceClient {?IPerformanceClient}
|
|
3413
3391
|
*/
|
|
@@ -3442,7 +3420,7 @@
|
|
|
3442
3420
|
accessTokenKeys.forEach((key) => {
|
|
3443
3421
|
// Validate key
|
|
3444
3422
|
if (this.accessTokenKeyMatchesFilter(key, accessTokenFilter, true)) {
|
|
3445
|
-
const accessToken = this.getAccessTokenCredential(key);
|
|
3423
|
+
const accessToken = this.getAccessTokenCredential(key, correlationId);
|
|
3446
3424
|
// Validate value
|
|
3447
3425
|
if (accessToken &&
|
|
3448
3426
|
this.credentialMatchesFilter(accessToken, accessTokenFilter)) {
|
|
@@ -3512,14 +3490,14 @@
|
|
|
3512
3490
|
* @param filter
|
|
3513
3491
|
* @returns
|
|
3514
3492
|
*/
|
|
3515
|
-
getAccessTokensByFilter(filter) {
|
|
3493
|
+
getAccessTokensByFilter(filter, correlationId) {
|
|
3516
3494
|
const tokenKeys = this.getTokenKeys();
|
|
3517
3495
|
const accessTokens = [];
|
|
3518
3496
|
tokenKeys.accessToken.forEach((key) => {
|
|
3519
3497
|
if (!this.accessTokenKeyMatchesFilter(key, filter, true)) {
|
|
3520
3498
|
return;
|
|
3521
3499
|
}
|
|
3522
|
-
const accessToken = this.getAccessTokenCredential(key);
|
|
3500
|
+
const accessToken = this.getAccessTokenCredential(key, correlationId);
|
|
3523
3501
|
if (accessToken &&
|
|
3524
3502
|
this.credentialMatchesFilter(accessToken, filter)) {
|
|
3525
3503
|
accessTokens.push(accessToken);
|
|
@@ -3531,11 +3509,11 @@
|
|
|
3531
3509
|
* Helper to retrieve the appropriate refresh token from cache
|
|
3532
3510
|
* @param account {AccountInfo}
|
|
3533
3511
|
* @param familyRT {boolean}
|
|
3512
|
+
* @param correlationId {?string}
|
|
3534
3513
|
* @param tokenKeys {?TokenKeys}
|
|
3535
3514
|
* @param performanceClient {?IPerformanceClient}
|
|
3536
|
-
* @param correlationId {?string}
|
|
3537
3515
|
*/
|
|
3538
|
-
getRefreshToken(account, familyRT, tokenKeys, performanceClient
|
|
3516
|
+
getRefreshToken(account, familyRT, correlationId, tokenKeys, performanceClient) {
|
|
3539
3517
|
this.commonLogger.trace("CacheManager - getRefreshToken called");
|
|
3540
3518
|
const id = familyRT ? THE_FAMILY_ID : undefined;
|
|
3541
3519
|
const refreshTokenFilter = {
|
|
@@ -3551,7 +3529,7 @@
|
|
|
3551
3529
|
refreshTokenKeys.forEach((key) => {
|
|
3552
3530
|
// Validate key
|
|
3553
3531
|
if (this.refreshTokenKeyMatchesFilter(key, refreshTokenFilter)) {
|
|
3554
|
-
const refreshToken = this.getRefreshTokenCredential(key);
|
|
3532
|
+
const refreshToken = this.getRefreshTokenCredential(key, correlationId);
|
|
3555
3533
|
// Validate value
|
|
3556
3534
|
if (refreshToken &&
|
|
3557
3535
|
this.credentialMatchesFilter(refreshToken, refreshTokenFilter)) {
|
|
@@ -3901,7 +3879,7 @@
|
|
|
3901
3879
|
}
|
|
3902
3880
|
}
|
|
3903
3881
|
|
|
3904
|
-
/*! @azure/msal-common v15.
|
|
3882
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
3905
3883
|
/*
|
|
3906
3884
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3907
3885
|
* Licensed under the MIT License.
|
|
@@ -4393,7 +4371,6 @@
|
|
|
4393
4371
|
* @enum {number}
|
|
4394
4372
|
*/
|
|
4395
4373
|
const PerformanceEventStatus = {
|
|
4396
|
-
NotStarted: 0,
|
|
4397
4374
|
InProgress: 1,
|
|
4398
4375
|
Completed: 2,
|
|
4399
4376
|
};
|
|
@@ -4414,7 +4391,7 @@
|
|
|
4414
4391
|
"encryptedCacheExpiredCount",
|
|
4415
4392
|
]);
|
|
4416
4393
|
|
|
4417
|
-
/*! @azure/msal-common v15.
|
|
4394
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4418
4395
|
|
|
4419
4396
|
/*
|
|
4420
4397
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4493,7 +4470,7 @@
|
|
|
4493
4470
|
}
|
|
4494
4471
|
}
|
|
4495
4472
|
|
|
4496
|
-
/*! @azure/msal-common v15.
|
|
4473
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4497
4474
|
|
|
4498
4475
|
/*
|
|
4499
4476
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4593,7 +4570,7 @@
|
|
|
4593
4570
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4594
4571
|
}
|
|
4595
4572
|
|
|
4596
|
-
/*! @azure/msal-common v15.
|
|
4573
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4597
4574
|
/*
|
|
4598
4575
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4599
4576
|
* Licensed under the MIT License.
|
|
@@ -4603,7 +4580,7 @@
|
|
|
4603
4580
|
UPN: "UPN",
|
|
4604
4581
|
};
|
|
4605
4582
|
|
|
4606
|
-
/*! @azure/msal-common v15.
|
|
4583
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4607
4584
|
/*
|
|
4608
4585
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4609
4586
|
* Licensed under the MIT License.
|
|
@@ -4653,7 +4630,7 @@
|
|
|
4653
4630
|
const EAR_JWK = "ear_jwk";
|
|
4654
4631
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
4655
4632
|
|
|
4656
|
-
/*! @azure/msal-common v15.
|
|
4633
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4657
4634
|
|
|
4658
4635
|
/*
|
|
4659
4636
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5021,7 +4998,7 @@
|
|
|
5021
4998
|
parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
|
|
5022
4999
|
}
|
|
5023
5000
|
|
|
5024
|
-
/*! @azure/msal-common v15.
|
|
5001
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5025
5002
|
/*
|
|
5026
5003
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5027
5004
|
* Licensed under the MIT License.
|
|
@@ -5033,7 +5010,7 @@
|
|
|
5033
5010
|
response.hasOwnProperty("jwks_uri"));
|
|
5034
5011
|
}
|
|
5035
5012
|
|
|
5036
|
-
/*! @azure/msal-common v15.
|
|
5013
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5037
5014
|
/*
|
|
5038
5015
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5039
5016
|
* Licensed under the MIT License.
|
|
@@ -5043,7 +5020,7 @@
|
|
|
5043
5020
|
response.hasOwnProperty("metadata"));
|
|
5044
5021
|
}
|
|
5045
5022
|
|
|
5046
|
-
/*! @azure/msal-common v15.
|
|
5023
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5047
5024
|
/*
|
|
5048
5025
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5049
5026
|
* Licensed under the MIT License.
|
|
@@ -5053,7 +5030,7 @@
|
|
|
5053
5030
|
response.hasOwnProperty("error_description"));
|
|
5054
5031
|
}
|
|
5055
5032
|
|
|
5056
|
-
/*! @azure/msal-common v15.
|
|
5033
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5057
5034
|
/*
|
|
5058
5035
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5059
5036
|
* Licensed under the MIT License.
|
|
@@ -5149,7 +5126,7 @@
|
|
|
5149
5126
|
};
|
|
5150
5127
|
};
|
|
5151
5128
|
|
|
5152
|
-
/*! @azure/msal-common v15.
|
|
5129
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5153
5130
|
|
|
5154
5131
|
/*
|
|
5155
5132
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5255,7 +5232,7 @@
|
|
|
5255
5232
|
},
|
|
5256
5233
|
};
|
|
5257
5234
|
|
|
5258
|
-
/*! @azure/msal-common v15.
|
|
5235
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5259
5236
|
|
|
5260
5237
|
/*
|
|
5261
5238
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6094,7 +6071,7 @@
|
|
|
6094
6071
|
};
|
|
6095
6072
|
}
|
|
6096
6073
|
|
|
6097
|
-
/*! @azure/msal-common v15.
|
|
6074
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6098
6075
|
|
|
6099
6076
|
/*
|
|
6100
6077
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6125,7 +6102,7 @@
|
|
|
6125
6102
|
}
|
|
6126
6103
|
}
|
|
6127
6104
|
|
|
6128
|
-
/*! @azure/msal-common v15.
|
|
6105
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6129
6106
|
|
|
6130
6107
|
/*
|
|
6131
6108
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6144,7 +6121,7 @@
|
|
|
6144
6121
|
}
|
|
6145
6122
|
}
|
|
6146
6123
|
|
|
6147
|
-
/*! @azure/msal-common v15.
|
|
6124
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6148
6125
|
/*
|
|
6149
6126
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6150
6127
|
* Licensed under the MIT License.
|
|
@@ -6165,7 +6142,7 @@
|
|
|
6165
6142
|
};
|
|
6166
6143
|
}
|
|
6167
6144
|
|
|
6168
|
-
/*! @azure/msal-common v15.
|
|
6145
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6169
6146
|
|
|
6170
6147
|
/*
|
|
6171
6148
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6185,12 +6162,12 @@
|
|
|
6185
6162
|
* @param cacheManager
|
|
6186
6163
|
* @param thumbprint
|
|
6187
6164
|
*/
|
|
6188
|
-
static preProcess(cacheManager, thumbprint) {
|
|
6165
|
+
static preProcess(cacheManager, thumbprint, correlationId) {
|
|
6189
6166
|
const key = ThrottlingUtils.generateThrottlingStorageKey(thumbprint);
|
|
6190
6167
|
const value = cacheManager.getThrottlingCache(key);
|
|
6191
6168
|
if (value) {
|
|
6192
6169
|
if (value.throttleTime < Date.now()) {
|
|
6193
|
-
cacheManager.removeItem(key);
|
|
6170
|
+
cacheManager.removeItem(key, correlationId);
|
|
6194
6171
|
return;
|
|
6195
6172
|
}
|
|
6196
6173
|
throw new ServerError(value.errorCodes?.join(" ") || Constants.EMPTY_STRING, value.errorMessage, value.subError);
|
|
@@ -6202,7 +6179,7 @@
|
|
|
6202
6179
|
* @param thumbprint
|
|
6203
6180
|
* @param response
|
|
6204
6181
|
*/
|
|
6205
|
-
static postProcess(cacheManager, thumbprint, response) {
|
|
6182
|
+
static postProcess(cacheManager, thumbprint, response, correlationId) {
|
|
6206
6183
|
if (ThrottlingUtils.checkResponseStatus(response) ||
|
|
6207
6184
|
ThrottlingUtils.checkResponseForRetryAfter(response)) {
|
|
6208
6185
|
const thumbprintValue = {
|
|
@@ -6212,7 +6189,7 @@
|
|
|
6212
6189
|
errorMessage: response.body.error_description,
|
|
6213
6190
|
subError: response.body.suberror,
|
|
6214
6191
|
};
|
|
6215
|
-
cacheManager.setThrottlingCache(ThrottlingUtils.generateThrottlingStorageKey(thumbprint), thumbprintValue);
|
|
6192
|
+
cacheManager.setThrottlingCache(ThrottlingUtils.generateThrottlingStorageKey(thumbprint), thumbprintValue, correlationId);
|
|
6216
6193
|
}
|
|
6217
6194
|
}
|
|
6218
6195
|
/**
|
|
@@ -6248,11 +6225,11 @@
|
|
|
6248
6225
|
static removeThrottle(cacheManager, clientId, request, homeAccountIdentifier) {
|
|
6249
6226
|
const thumbprint = getRequestThumbprint(clientId, request, homeAccountIdentifier);
|
|
6250
6227
|
const key = this.generateThrottlingStorageKey(thumbprint);
|
|
6251
|
-
cacheManager.removeItem(key);
|
|
6228
|
+
cacheManager.removeItem(key, request.correlationId);
|
|
6252
6229
|
}
|
|
6253
6230
|
}
|
|
6254
6231
|
|
|
6255
|
-
/*! @azure/msal-common v15.
|
|
6232
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6256
6233
|
|
|
6257
6234
|
/*
|
|
6258
6235
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6283,7 +6260,7 @@
|
|
|
6283
6260
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6284
6261
|
}
|
|
6285
6262
|
|
|
6286
|
-
/*! @azure/msal-common v15.
|
|
6263
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6287
6264
|
|
|
6288
6265
|
/*
|
|
6289
6266
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6365,7 +6342,7 @@
|
|
|
6365
6342
|
* @param correlationId - CorrelationId for telemetry
|
|
6366
6343
|
*/
|
|
6367
6344
|
async sendPostRequest(thumbprint, tokenEndpoint, options, correlationId) {
|
|
6368
|
-
ThrottlingUtils.preProcess(this.cacheManager, thumbprint);
|
|
6345
|
+
ThrottlingUtils.preProcess(this.cacheManager, thumbprint, correlationId);
|
|
6369
6346
|
let response;
|
|
6370
6347
|
try {
|
|
6371
6348
|
response = await invokeAsync((this.networkClient.sendPostRequestAsync.bind(this.networkClient)), PerformanceEvents.NetworkClientSendPostRequestAsync, this.logger, this.performanceClient, correlationId)(tokenEndpoint, options);
|
|
@@ -6400,7 +6377,7 @@
|
|
|
6400
6377
|
throw createClientAuthError(networkError);
|
|
6401
6378
|
}
|
|
6402
6379
|
}
|
|
6403
|
-
ThrottlingUtils.postProcess(this.cacheManager, thumbprint, response);
|
|
6380
|
+
ThrottlingUtils.postProcess(this.cacheManager, thumbprint, response, correlationId);
|
|
6404
6381
|
return response;
|
|
6405
6382
|
}
|
|
6406
6383
|
/**
|
|
@@ -6431,7 +6408,7 @@
|
|
|
6431
6408
|
}
|
|
6432
6409
|
}
|
|
6433
6410
|
|
|
6434
|
-
/*! @azure/msal-common v15.
|
|
6411
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6435
6412
|
/*
|
|
6436
6413
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6437
6414
|
* Licensed under the MIT License.
|
|
@@ -6459,7 +6436,7 @@
|
|
|
6459
6436
|
uxNotAllowed: uxNotAllowed
|
|
6460
6437
|
});
|
|
6461
6438
|
|
|
6462
|
-
/*! @azure/msal-common v15.
|
|
6439
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6463
6440
|
|
|
6464
6441
|
/*
|
|
6465
6442
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6549,7 +6526,7 @@
|
|
|
6549
6526
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6550
6527
|
}
|
|
6551
6528
|
|
|
6552
|
-
/*! @azure/msal-common v15.
|
|
6529
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6553
6530
|
|
|
6554
6531
|
/*
|
|
6555
6532
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6621,16 +6598,14 @@
|
|
|
6621
6598
|
}
|
|
6622
6599
|
}
|
|
6623
6600
|
|
|
6624
|
-
/*! @azure/msal-common v15.
|
|
6601
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6625
6602
|
|
|
6626
6603
|
/*
|
|
6627
6604
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6628
6605
|
* Licensed under the MIT License.
|
|
6629
6606
|
*/
|
|
6630
6607
|
const KeyLocation = {
|
|
6631
|
-
SW: "sw"
|
|
6632
|
-
UHW: "uhw",
|
|
6633
|
-
};
|
|
6608
|
+
SW: "sw"};
|
|
6634
6609
|
/** @internal */
|
|
6635
6610
|
class PopTokenGenerator {
|
|
6636
6611
|
constructor(cryptoUtils, performanceClient) {
|
|
@@ -6705,7 +6680,7 @@
|
|
|
6705
6680
|
}
|
|
6706
6681
|
}
|
|
6707
6682
|
|
|
6708
|
-
/*! @azure/msal-common v15.
|
|
6683
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6709
6684
|
/*
|
|
6710
6685
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6711
6686
|
* Licensed under the MIT License.
|
|
@@ -6732,7 +6707,7 @@
|
|
|
6732
6707
|
}
|
|
6733
6708
|
}
|
|
6734
6709
|
|
|
6735
|
-
/*! @azure/msal-common v15.
|
|
6710
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6736
6711
|
|
|
6737
6712
|
/*
|
|
6738
6713
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6845,7 +6820,7 @@
|
|
|
6845
6820
|
!forceCacheRefreshTokenResponse &&
|
|
6846
6821
|
cacheRecord.account) {
|
|
6847
6822
|
const key = cacheRecord.account.generateAccountKey();
|
|
6848
|
-
const account = this.cacheStorage.getAccount(key);
|
|
6823
|
+
const account = this.cacheStorage.getAccount(key, request.correlationId);
|
|
6849
6824
|
if (!account) {
|
|
6850
6825
|
this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache");
|
|
6851
6826
|
return await ResponseHandler.generateAuthenticationResult(this.cryptoObj, authority, cacheRecord, false, request, idTokenClaims, requestStateObj, undefined, serverRequestId);
|
|
@@ -6880,7 +6855,7 @@
|
|
|
6880
6855
|
let cachedAccount;
|
|
6881
6856
|
if (serverTokenResponse.id_token && !!idTokenClaims) {
|
|
6882
6857
|
cachedIdToken = createIdTokenEntity(this.homeAccountIdentifier, env, serverTokenResponse.id_token, this.clientId, claimsTenantId || "");
|
|
6883
|
-
cachedAccount = buildAccountToCache(this.cacheStorage, authority, this.homeAccountIdentifier, this.cryptoObj.base64Decode, idTokenClaims, serverTokenResponse.client_info, env, claimsTenantId, authCodePayload, undefined, // nativeAccountId
|
|
6858
|
+
cachedAccount = buildAccountToCache(this.cacheStorage, authority, this.homeAccountIdentifier, this.cryptoObj.base64Decode, request.correlationId, idTokenClaims, serverTokenResponse.client_info, env, claimsTenantId, authCodePayload, undefined, // nativeAccountId
|
|
6884
6859
|
this.logger);
|
|
6885
6860
|
}
|
|
6886
6861
|
// AccessToken
|
|
@@ -7029,7 +7004,7 @@
|
|
|
7029
7004
|
};
|
|
7030
7005
|
}
|
|
7031
7006
|
}
|
|
7032
|
-
function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decode, idTokenClaims, clientInfo, environment, claimsTenantId, authCodePayload, nativeAccountId, logger) {
|
|
7007
|
+
function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, environment, claimsTenantId, authCodePayload, nativeAccountId, logger) {
|
|
7033
7008
|
logger?.verbose("setCachedAccount called");
|
|
7034
7009
|
// Check if base account is already cached
|
|
7035
7010
|
const accountKeys = cacheStorage.getAccountKeys();
|
|
@@ -7038,7 +7013,7 @@
|
|
|
7038
7013
|
});
|
|
7039
7014
|
let cachedAccount = null;
|
|
7040
7015
|
if (baseAccountKey) {
|
|
7041
|
-
cachedAccount = cacheStorage.getAccount(baseAccountKey);
|
|
7016
|
+
cachedAccount = cacheStorage.getAccount(baseAccountKey, correlationId);
|
|
7042
7017
|
}
|
|
7043
7018
|
const baseAccount = cachedAccount ||
|
|
7044
7019
|
AccountEntity.createAccount({
|
|
@@ -7063,74 +7038,7 @@
|
|
|
7063
7038
|
return baseAccount;
|
|
7064
7039
|
}
|
|
7065
7040
|
|
|
7066
|
-
/*! @azure/msal-common v15.
|
|
7067
|
-
|
|
7068
|
-
/*
|
|
7069
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7070
|
-
* Licensed under the MIT License.
|
|
7071
|
-
*/
|
|
7072
|
-
/**
|
|
7073
|
-
* Validates server consumable params from the "request" objects
|
|
7074
|
-
*/
|
|
7075
|
-
class RequestValidator {
|
|
7076
|
-
/**
|
|
7077
|
-
* Utility to check if the `redirectUri` in the request is a non-null value
|
|
7078
|
-
* @param redirectUri
|
|
7079
|
-
*/
|
|
7080
|
-
static validateRedirectUri(redirectUri) {
|
|
7081
|
-
if (!redirectUri) {
|
|
7082
|
-
throw createClientConfigurationError(redirectUriEmpty);
|
|
7083
|
-
}
|
|
7084
|
-
}
|
|
7085
|
-
/**
|
|
7086
|
-
* Utility to validate prompt sent by the user in the request
|
|
7087
|
-
* @param prompt
|
|
7088
|
-
*/
|
|
7089
|
-
static validatePrompt(prompt) {
|
|
7090
|
-
const promptValues = [];
|
|
7091
|
-
for (const value in PromptValue) {
|
|
7092
|
-
promptValues.push(PromptValue[value]);
|
|
7093
|
-
}
|
|
7094
|
-
if (promptValues.indexOf(prompt) < 0) {
|
|
7095
|
-
throw createClientConfigurationError(invalidPromptValue);
|
|
7096
|
-
}
|
|
7097
|
-
}
|
|
7098
|
-
static validateClaims(claims) {
|
|
7099
|
-
try {
|
|
7100
|
-
JSON.parse(claims);
|
|
7101
|
-
}
|
|
7102
|
-
catch (e) {
|
|
7103
|
-
throw createClientConfigurationError(invalidClaims);
|
|
7104
|
-
}
|
|
7105
|
-
}
|
|
7106
|
-
/**
|
|
7107
|
-
* Utility to validate code_challenge and code_challenge_method
|
|
7108
|
-
* @param codeChallenge
|
|
7109
|
-
* @param codeChallengeMethod
|
|
7110
|
-
*/
|
|
7111
|
-
static validateCodeChallengeParams(codeChallenge, codeChallengeMethod) {
|
|
7112
|
-
if (!codeChallenge || !codeChallengeMethod) {
|
|
7113
|
-
throw createClientConfigurationError(pkceParamsMissing);
|
|
7114
|
-
}
|
|
7115
|
-
else {
|
|
7116
|
-
this.validateCodeChallengeMethod(codeChallengeMethod);
|
|
7117
|
-
}
|
|
7118
|
-
}
|
|
7119
|
-
/**
|
|
7120
|
-
* Utility to validate code_challenge_method
|
|
7121
|
-
* @param codeChallengeMethod
|
|
7122
|
-
*/
|
|
7123
|
-
static validateCodeChallengeMethod(codeChallengeMethod) {
|
|
7124
|
-
if ([
|
|
7125
|
-
CodeChallengeMethodValues.PLAIN,
|
|
7126
|
-
CodeChallengeMethodValues.S256,
|
|
7127
|
-
].indexOf(codeChallengeMethod) < 0) {
|
|
7128
|
-
throw createClientConfigurationError(invalidCodeChallengeMethod);
|
|
7129
|
-
}
|
|
7130
|
-
}
|
|
7131
|
-
}
|
|
7132
|
-
|
|
7133
|
-
/*! @azure/msal-common v15.7.1 2025-06-18 */
|
|
7041
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7134
7042
|
/*
|
|
7135
7043
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7136
7044
|
* Licensed under the MIT License.
|
|
@@ -7148,7 +7056,7 @@
|
|
|
7148
7056
|
}
|
|
7149
7057
|
}
|
|
7150
7058
|
|
|
7151
|
-
/*! @azure/msal-common v15.
|
|
7059
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7152
7060
|
|
|
7153
7061
|
/*
|
|
7154
7062
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7242,7 +7150,9 @@
|
|
|
7242
7150
|
*/
|
|
7243
7151
|
if (!this.includeRedirectUri) {
|
|
7244
7152
|
// Just validate
|
|
7245
|
-
|
|
7153
|
+
if (!request.redirectUri) {
|
|
7154
|
+
throw createClientConfigurationError(redirectUriEmpty);
|
|
7155
|
+
}
|
|
7246
7156
|
}
|
|
7247
7157
|
else {
|
|
7248
7158
|
// Validate and include redirect uri
|
|
@@ -7381,7 +7291,7 @@
|
|
|
7381
7291
|
}
|
|
7382
7292
|
}
|
|
7383
7293
|
|
|
7384
|
-
/*! @azure/msal-common v15.
|
|
7294
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7385
7295
|
|
|
7386
7296
|
/*
|
|
7387
7297
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7454,7 +7364,7 @@
|
|
|
7454
7364
|
async acquireTokenWithCachedRefreshToken(request, foci) {
|
|
7455
7365
|
this.performanceClient?.addQueueMeasurement(PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken, request.correlationId);
|
|
7456
7366
|
// fetches family RT or application RT based on FOCI value
|
|
7457
|
-
const refreshToken = invoke(this.cacheManager.getRefreshToken.bind(this.cacheManager), PerformanceEvents.CacheManagerGetRefreshToken, this.logger, this.performanceClient, request.correlationId)(request.account, foci, undefined, this.performanceClient
|
|
7367
|
+
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);
|
|
7458
7368
|
if (!refreshToken) {
|
|
7459
7369
|
throw createInteractionRequiredAuthError(noTokensFound);
|
|
7460
7370
|
}
|
|
@@ -7484,7 +7394,7 @@
|
|
|
7484
7394
|
// Remove bad refresh token from cache
|
|
7485
7395
|
this.logger.verbose("acquireTokenWithRefreshToken: bad refresh token, removing from cache");
|
|
7486
7396
|
const badRefreshTokenKey = generateCredentialKey(refreshToken);
|
|
7487
|
-
this.cacheManager.removeRefreshToken(badRefreshTokenKey);
|
|
7397
|
+
this.cacheManager.removeRefreshToken(badRefreshTokenKey, request.correlationId);
|
|
7488
7398
|
}
|
|
7489
7399
|
}
|
|
7490
7400
|
throw e;
|
|
@@ -7590,7 +7500,7 @@
|
|
|
7590
7500
|
}
|
|
7591
7501
|
}
|
|
7592
7502
|
|
|
7593
|
-
/*! @azure/msal-common v15.
|
|
7503
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7594
7504
|
|
|
7595
7505
|
/*
|
|
7596
7506
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7642,9 +7552,9 @@
|
|
|
7642
7552
|
}
|
|
7643
7553
|
const environment = request.authority || this.authority.getPreferredCache();
|
|
7644
7554
|
const cacheRecord = {
|
|
7645
|
-
account: this.cacheManager.readAccountFromCache(request.account),
|
|
7555
|
+
account: this.cacheManager.readAccountFromCache(request.account, request.correlationId),
|
|
7646
7556
|
accessToken: cachedAccessToken,
|
|
7647
|
-
idToken: this.cacheManager.getIdToken(request.account, tokenKeys, requestTenantId, this.performanceClient
|
|
7557
|
+
idToken: this.cacheManager.getIdToken(request.account, request.correlationId, tokenKeys, requestTenantId, this.performanceClient),
|
|
7648
7558
|
refreshToken: null,
|
|
7649
7559
|
appMetadata: this.cacheManager.readAppMetadataFromCache(environment),
|
|
7650
7560
|
};
|
|
@@ -7688,7 +7598,7 @@
|
|
|
7688
7598
|
}
|
|
7689
7599
|
}
|
|
7690
7600
|
|
|
7691
|
-
/*! @azure/msal-common v15.
|
|
7601
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7692
7602
|
|
|
7693
7603
|
/*
|
|
7694
7604
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7703,7 +7613,7 @@
|
|
|
7703
7613
|
},
|
|
7704
7614
|
};
|
|
7705
7615
|
|
|
7706
|
-
/*! @azure/msal-common v15.
|
|
7616
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7707
7617
|
|
|
7708
7618
|
/*
|
|
7709
7619
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7927,7 +7837,7 @@
|
|
|
7927
7837
|
return account.idTokenClaims?.login_hint || null;
|
|
7928
7838
|
}
|
|
7929
7839
|
|
|
7930
|
-
/*! @azure/msal-common v15.
|
|
7840
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7931
7841
|
|
|
7932
7842
|
/*
|
|
7933
7843
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7985,7 +7895,7 @@
|
|
|
7985
7895
|
}
|
|
7986
7896
|
}
|
|
7987
7897
|
|
|
7988
|
-
/*! @azure/msal-common v15.
|
|
7898
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7989
7899
|
|
|
7990
7900
|
/*
|
|
7991
7901
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8124,7 +8034,7 @@
|
|
|
8124
8034
|
else {
|
|
8125
8035
|
lastRequests.errors.push(SERVER_TELEM_CONSTANTS.UNKNOWN_ERROR);
|
|
8126
8036
|
}
|
|
8127
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8037
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8128
8038
|
return;
|
|
8129
8039
|
}
|
|
8130
8040
|
/**
|
|
@@ -8133,7 +8043,7 @@
|
|
|
8133
8043
|
incrementCacheHits() {
|
|
8134
8044
|
const lastRequests = this.getLastRequests();
|
|
8135
8045
|
lastRequests.cacheHits += 1;
|
|
8136
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8046
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8137
8047
|
return lastRequests.cacheHits;
|
|
8138
8048
|
}
|
|
8139
8049
|
/**
|
|
@@ -8157,7 +8067,7 @@
|
|
|
8157
8067
|
const errorCount = lastRequests.errors.length;
|
|
8158
8068
|
if (numErrorsFlushed === errorCount) {
|
|
8159
8069
|
// All errors were sent on last request, clear Telemetry cache
|
|
8160
|
-
this.cacheManager.removeItem(this.telemetryCacheKey);
|
|
8070
|
+
this.cacheManager.removeItem(this.telemetryCacheKey, this.correlationId);
|
|
8161
8071
|
}
|
|
8162
8072
|
else {
|
|
8163
8073
|
// Partial data was flushed to server, construct a new telemetry cache item with errors that were not flushed
|
|
@@ -8166,7 +8076,7 @@
|
|
|
8166
8076
|
errors: lastRequests.errors.slice(numErrorsFlushed),
|
|
8167
8077
|
cacheHits: 0,
|
|
8168
8078
|
};
|
|
8169
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, serverTelemEntity);
|
|
8079
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, serverTelemEntity, this.correlationId);
|
|
8170
8080
|
}
|
|
8171
8081
|
}
|
|
8172
8082
|
/**
|
|
@@ -8233,7 +8143,7 @@
|
|
|
8233
8143
|
setNativeBrokerErrorCode(errorCode) {
|
|
8234
8144
|
const lastRequests = this.getLastRequests();
|
|
8235
8145
|
lastRequests.nativeBrokerErrorCode = errorCode;
|
|
8236
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8146
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8237
8147
|
}
|
|
8238
8148
|
getNativeBrokerErrorCode() {
|
|
8239
8149
|
return this.getLastRequests().nativeBrokerErrorCode;
|
|
@@ -8241,14 +8151,14 @@
|
|
|
8241
8151
|
clearNativeBrokerErrorCode() {
|
|
8242
8152
|
const lastRequests = this.getLastRequests();
|
|
8243
8153
|
delete lastRequests.nativeBrokerErrorCode;
|
|
8244
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8154
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8245
8155
|
}
|
|
8246
8156
|
static makeExtraSkuString(params) {
|
|
8247
8157
|
return makeExtraSkuString(params);
|
|
8248
8158
|
}
|
|
8249
8159
|
}
|
|
8250
8160
|
|
|
8251
|
-
/*! @azure/msal-common v15.
|
|
8161
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
8252
8162
|
/*
|
|
8253
8163
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8254
8164
|
* Licensed under the MIT License.
|
|
@@ -8256,7 +8166,7 @@
|
|
|
8256
8166
|
const missingKidError = "missing_kid_error";
|
|
8257
8167
|
const missingAlgError = "missing_alg_error";
|
|
8258
8168
|
|
|
8259
|
-
/*! @azure/msal-common v15.
|
|
8169
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
8260
8170
|
|
|
8261
8171
|
/*
|
|
8262
8172
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8281,7 +8191,7 @@
|
|
|
8281
8191
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8282
8192
|
}
|
|
8283
8193
|
|
|
8284
|
-
/*! @azure/msal-common v15.
|
|
8194
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
8285
8195
|
|
|
8286
8196
|
/*
|
|
8287
8197
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8321,7 +8231,7 @@
|
|
|
8321
8231
|
}
|
|
8322
8232
|
}
|
|
8323
8233
|
|
|
8324
|
-
/*! @azure/msal-common v15.
|
|
8234
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
8325
8235
|
|
|
8326
8236
|
/*
|
|
8327
8237
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8983,7 +8893,8 @@
|
|
|
8983
8893
|
const invalidPopTokenRequest = "invalid_pop_token_request";
|
|
8984
8894
|
const failedToBuildHeaders = "failed_to_build_headers";
|
|
8985
8895
|
const failedToParseHeaders = "failed_to_parse_headers";
|
|
8986
|
-
const failedToDecryptEarResponse = "failed_to_decrypt_ear_response";
|
|
8896
|
+
const failedToDecryptEarResponse = "failed_to_decrypt_ear_response";
|
|
8897
|
+
const timedOut = "timed_out";
|
|
8987
8898
|
|
|
8988
8899
|
var BrowserAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
8989
8900
|
__proto__: null,
|
|
@@ -9031,6 +8942,7 @@
|
|
|
9031
8942
|
silentPromptValueError: silentPromptValueError,
|
|
9032
8943
|
spaCodeAndNativeAccountIdPresent: spaCodeAndNativeAccountIdPresent,
|
|
9033
8944
|
stateInteractionTypeMismatch: stateInteractionTypeMismatch,
|
|
8945
|
+
timedOut: timedOut,
|
|
9034
8946
|
unableToAcquireTokenFromNativePlatform: unableToAcquireTokenFromNativePlatform,
|
|
9035
8947
|
unableToLoadToken: unableToLoadToken,
|
|
9036
8948
|
unableToParseState: unableToParseState,
|
|
@@ -9098,6 +9010,7 @@
|
|
|
9098
9010
|
[failedToBuildHeaders]: "Failed to build request headers object.",
|
|
9099
9011
|
[failedToParseHeaders]: "Failed to parse response headers",
|
|
9100
9012
|
[failedToDecryptEarResponse]: "Failed to decrypt ear response",
|
|
9013
|
+
[timedOut]: "The request timed out.",
|
|
9101
9014
|
};
|
|
9102
9015
|
/**
|
|
9103
9016
|
* BrowserAuthErrorMessage class containing string constants used by error codes and messages.
|
|
@@ -9311,10 +9224,6 @@
|
|
|
9311
9224
|
* Constants
|
|
9312
9225
|
*/
|
|
9313
9226
|
const BrowserConstants = {
|
|
9314
|
-
/**
|
|
9315
|
-
* Interaction in progress cache value
|
|
9316
|
-
*/
|
|
9317
|
-
INTERACTION_IN_PROGRESS_VALUE: "interaction_in_progress",
|
|
9318
9227
|
/**
|
|
9319
9228
|
* Invalid grant error code
|
|
9320
9229
|
*/
|
|
@@ -10166,9 +10075,9 @@
|
|
|
10166
10075
|
else {
|
|
10167
10076
|
window.location.assign(url); // CodeQL [SM03712] Application owner controls the URL. User can't change it.
|
|
10168
10077
|
}
|
|
10169
|
-
return new Promise((resolve) => {
|
|
10078
|
+
return new Promise((resolve, reject) => {
|
|
10170
10079
|
setTimeout(() => {
|
|
10171
|
-
|
|
10080
|
+
reject(createBrowserAuthError(timedOut, "failed_to_redirect"));
|
|
10172
10081
|
}, options.timeout);
|
|
10173
10082
|
});
|
|
10174
10083
|
}
|
|
@@ -10426,7 +10335,7 @@
|
|
|
10426
10335
|
|
|
10427
10336
|
/* eslint-disable header/header */
|
|
10428
10337
|
const name = "@azure/msal-browser";
|
|
10429
|
-
const version = "4.
|
|
10338
|
+
const version = "4.15.0";
|
|
10430
10339
|
|
|
10431
10340
|
/*
|
|
10432
10341
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -11539,7 +11448,7 @@
|
|
|
11539
11448
|
setItem(key, value) {
|
|
11540
11449
|
window.localStorage.setItem(key, value);
|
|
11541
11450
|
}
|
|
11542
|
-
async setUserData(key, value, correlationId) {
|
|
11451
|
+
async setUserData(key, value, correlationId, timestamp) {
|
|
11543
11452
|
if (!this.initialized || !this.encryptionCookie) {
|
|
11544
11453
|
throw createBrowserAuthError(uninitializedPublicClientApplication);
|
|
11545
11454
|
}
|
|
@@ -11548,6 +11457,7 @@
|
|
|
11548
11457
|
id: this.encryptionCookie.id,
|
|
11549
11458
|
nonce: nonce,
|
|
11550
11459
|
data: data,
|
|
11460
|
+
lastUpdatedAt: timestamp,
|
|
11551
11461
|
};
|
|
11552
11462
|
this.memoryStorage.setItem(key, value);
|
|
11553
11463
|
this.setItem(key, JSON.stringify(encryptedData));
|
|
@@ -11817,7 +11727,7 @@
|
|
|
11817
11727
|
this.performanceClient.addFields({ previousLibraryVersion: previousVersion }, correlationId);
|
|
11818
11728
|
}
|
|
11819
11729
|
if (previousVersion !== version) {
|
|
11820
|
-
this.
|
|
11730
|
+
this.setItem(StaticCacheKeys.VERSION, version, correlationId);
|
|
11821
11731
|
}
|
|
11822
11732
|
}
|
|
11823
11733
|
/**
|
|
@@ -11841,22 +11751,111 @@
|
|
|
11841
11751
|
return null;
|
|
11842
11752
|
}
|
|
11843
11753
|
}
|
|
11754
|
+
/**
|
|
11755
|
+
* Helper to setItem in browser storage, with cleanup in case of quota errors
|
|
11756
|
+
* @param key
|
|
11757
|
+
* @param value
|
|
11758
|
+
*/
|
|
11759
|
+
setItem(key, value, correlationId) {
|
|
11760
|
+
let accessTokenKeys = [];
|
|
11761
|
+
const maxRetries = 20;
|
|
11762
|
+
for (let i = 0; i <= maxRetries; i++) {
|
|
11763
|
+
try {
|
|
11764
|
+
this.browserStorage.setItem(key, value);
|
|
11765
|
+
if (i > 0) {
|
|
11766
|
+
// Finally update the token keys array with the tokens removed
|
|
11767
|
+
this.removeAccessTokenKeys(accessTokenKeys.slice(0, i), correlationId);
|
|
11768
|
+
}
|
|
11769
|
+
break; // If setItem succeeds, exit the loop
|
|
11770
|
+
}
|
|
11771
|
+
catch (e) {
|
|
11772
|
+
const cacheError = createCacheError(e);
|
|
11773
|
+
if (cacheError.errorCode ===
|
|
11774
|
+
cacheQuotaExceeded &&
|
|
11775
|
+
i < maxRetries) {
|
|
11776
|
+
if (!accessTokenKeys.length) {
|
|
11777
|
+
if (key ===
|
|
11778
|
+
`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`) {
|
|
11779
|
+
// If we are currently trying to set the token keys, use the value we're trying to set
|
|
11780
|
+
accessTokenKeys = JSON.parse(value)
|
|
11781
|
+
.accessToken;
|
|
11782
|
+
}
|
|
11783
|
+
else {
|
|
11784
|
+
// If token keys have not been initialized, get them
|
|
11785
|
+
accessTokenKeys = this.getTokenKeys().accessToken;
|
|
11786
|
+
}
|
|
11787
|
+
}
|
|
11788
|
+
if (accessTokenKeys.length <= i) {
|
|
11789
|
+
// Nothing to remove, rethrow the error
|
|
11790
|
+
throw cacheError;
|
|
11791
|
+
}
|
|
11792
|
+
// When cache quota is exceeded, start removing access tokens until we can successfully set the item
|
|
11793
|
+
this.removeAccessToken(accessTokenKeys[i], correlationId, false // Don't save token keys yet, do it at the end
|
|
11794
|
+
);
|
|
11795
|
+
}
|
|
11796
|
+
else {
|
|
11797
|
+
// If the error is not a quota exceeded error, rethrow it
|
|
11798
|
+
throw cacheError;
|
|
11799
|
+
}
|
|
11800
|
+
}
|
|
11801
|
+
}
|
|
11802
|
+
}
|
|
11803
|
+
/**
|
|
11804
|
+
* Helper to setUserData in browser storage, with cleanup in case of quota errors
|
|
11805
|
+
* @param key
|
|
11806
|
+
* @param value
|
|
11807
|
+
* @param correlationId
|
|
11808
|
+
*/
|
|
11809
|
+
async setUserData(key, value, correlationId, timestamp) {
|
|
11810
|
+
let accessTokenKeys = [];
|
|
11811
|
+
const maxRetries = 20;
|
|
11812
|
+
for (let i = 0; i <= maxRetries; i++) {
|
|
11813
|
+
try {
|
|
11814
|
+
await invokeAsync(this.browserStorage.setUserData.bind(this.browserStorage), PerformanceEvents.SetUserData, this.logger, this.performanceClient)(key, value, correlationId, timestamp);
|
|
11815
|
+
if (i > 0) {
|
|
11816
|
+
// Finally update the token keys array with the tokens removed
|
|
11817
|
+
this.removeAccessTokenKeys(accessTokenKeys.slice(0, i), correlationId);
|
|
11818
|
+
}
|
|
11819
|
+
break; // If setItem succeeds, exit the loop
|
|
11820
|
+
}
|
|
11821
|
+
catch (e) {
|
|
11822
|
+
const cacheError = createCacheError(e);
|
|
11823
|
+
if (cacheError.errorCode ===
|
|
11824
|
+
cacheQuotaExceeded &&
|
|
11825
|
+
i < maxRetries) {
|
|
11826
|
+
if (!accessTokenKeys.length) {
|
|
11827
|
+
accessTokenKeys = this.getTokenKeys().accessToken;
|
|
11828
|
+
}
|
|
11829
|
+
if (accessTokenKeys.length <= i) {
|
|
11830
|
+
// Nothing left to remove, rethrow the error
|
|
11831
|
+
throw cacheError;
|
|
11832
|
+
}
|
|
11833
|
+
// When cache quota is exceeded, start removing access tokens until we can successfully set the item
|
|
11834
|
+
this.removeAccessToken(accessTokenKeys[i], correlationId, false // Don't save token keys yet, do it at the end
|
|
11835
|
+
);
|
|
11836
|
+
}
|
|
11837
|
+
else {
|
|
11838
|
+
// If the error is not a quota exceeded error, rethrow it
|
|
11839
|
+
throw cacheError;
|
|
11840
|
+
}
|
|
11841
|
+
}
|
|
11842
|
+
}
|
|
11843
|
+
}
|
|
11844
11844
|
/**
|
|
11845
11845
|
* Reads account from cache, deserializes it into an account entity and returns it.
|
|
11846
11846
|
* If account is not found from the key, returns null and removes key from map.
|
|
11847
11847
|
* @param accountKey
|
|
11848
11848
|
* @returns
|
|
11849
11849
|
*/
|
|
11850
|
-
getAccount(accountKey) {
|
|
11850
|
+
getAccount(accountKey, correlationId) {
|
|
11851
11851
|
this.logger.trace("BrowserCacheManager.getAccount called");
|
|
11852
11852
|
const serializedAccount = this.browserStorage.getUserData(accountKey);
|
|
11853
11853
|
if (!serializedAccount) {
|
|
11854
|
-
this.removeAccountKeyFromMap(accountKey);
|
|
11854
|
+
this.removeAccountKeyFromMap(accountKey, correlationId);
|
|
11855
11855
|
return null;
|
|
11856
11856
|
}
|
|
11857
11857
|
const parsedAccount = this.validateAndParseJson(serializedAccount);
|
|
11858
11858
|
if (!parsedAccount || !AccountEntity.isAccountEntity(parsedAccount)) {
|
|
11859
|
-
this.removeAccountKeyFromMap(accountKey);
|
|
11860
11859
|
return null;
|
|
11861
11860
|
}
|
|
11862
11861
|
return CacheManager.toObject(new AccountEntity(), parsedAccount);
|
|
@@ -11868,8 +11867,10 @@
|
|
|
11868
11867
|
async setAccount(account, correlationId) {
|
|
11869
11868
|
this.logger.trace("BrowserCacheManager.setAccount called");
|
|
11870
11869
|
const key = account.generateAccountKey();
|
|
11871
|
-
|
|
11872
|
-
|
|
11870
|
+
const timestamp = Date.now().toString();
|
|
11871
|
+
account.lastUpdatedAt = timestamp;
|
|
11872
|
+
await this.setUserData(key, JSON.stringify(account), correlationId, timestamp);
|
|
11873
|
+
const wasAdded = this.addAccountKeyToMap(key, correlationId);
|
|
11873
11874
|
/**
|
|
11874
11875
|
* @deprecated - Remove this in next major version in favor of more consistent LOGIN event
|
|
11875
11876
|
*/
|
|
@@ -11890,14 +11891,14 @@
|
|
|
11890
11891
|
* Add a new account to the key map
|
|
11891
11892
|
* @param key
|
|
11892
11893
|
*/
|
|
11893
|
-
addAccountKeyToMap(key) {
|
|
11894
|
+
addAccountKeyToMap(key, correlationId) {
|
|
11894
11895
|
this.logger.trace("BrowserCacheManager.addAccountKeyToMap called");
|
|
11895
11896
|
this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: ${key}`);
|
|
11896
11897
|
const accountKeys = this.getAccountKeys();
|
|
11897
11898
|
if (accountKeys.indexOf(key) === -1) {
|
|
11898
11899
|
// Only add key if it does not already exist in the map
|
|
11899
11900
|
accountKeys.push(key);
|
|
11900
|
-
this.
|
|
11901
|
+
this.setItem(StaticCacheKeys.ACCOUNT_KEYS, JSON.stringify(accountKeys), correlationId);
|
|
11901
11902
|
this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added");
|
|
11902
11903
|
return true;
|
|
11903
11904
|
}
|
|
@@ -11910,14 +11911,21 @@
|
|
|
11910
11911
|
* Remove an account from the key map
|
|
11911
11912
|
* @param key
|
|
11912
11913
|
*/
|
|
11913
|
-
removeAccountKeyFromMap(key) {
|
|
11914
|
+
removeAccountKeyFromMap(key, correlationId) {
|
|
11914
11915
|
this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called");
|
|
11915
11916
|
this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: ${key}`);
|
|
11916
11917
|
const accountKeys = this.getAccountKeys();
|
|
11917
11918
|
const removalIndex = accountKeys.indexOf(key);
|
|
11918
11919
|
if (removalIndex > -1) {
|
|
11919
11920
|
accountKeys.splice(removalIndex, 1);
|
|
11920
|
-
|
|
11921
|
+
if (accountKeys.length === 0) {
|
|
11922
|
+
// If no keys left, remove the map
|
|
11923
|
+
this.removeItem(StaticCacheKeys.ACCOUNT_KEYS);
|
|
11924
|
+
return;
|
|
11925
|
+
}
|
|
11926
|
+
else {
|
|
11927
|
+
this.setItem(StaticCacheKeys.ACCOUNT_KEYS, JSON.stringify(accountKeys), correlationId);
|
|
11928
|
+
}
|
|
11921
11929
|
this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed");
|
|
11922
11930
|
}
|
|
11923
11931
|
else {
|
|
@@ -11930,7 +11938,7 @@
|
|
|
11930
11938
|
*/
|
|
11931
11939
|
removeAccount(key, correlationId) {
|
|
11932
11940
|
super.removeAccount(key, correlationId);
|
|
11933
|
-
this.removeAccountKeyFromMap(key);
|
|
11941
|
+
this.removeAccountKeyFromMap(key, correlationId);
|
|
11934
11942
|
}
|
|
11935
11943
|
/**
|
|
11936
11944
|
* Removes credentials associated with the provided account
|
|
@@ -11949,25 +11957,60 @@
|
|
|
11949
11957
|
* Removes given idToken from the cache and from the key map
|
|
11950
11958
|
* @param key
|
|
11951
11959
|
*/
|
|
11952
|
-
removeIdToken(key) {
|
|
11953
|
-
super.removeIdToken(key);
|
|
11954
|
-
this.
|
|
11960
|
+
removeIdToken(key, correlationId) {
|
|
11961
|
+
super.removeIdToken(key, correlationId);
|
|
11962
|
+
const tokenKeys = this.getTokenKeys();
|
|
11963
|
+
const idRemoval = tokenKeys.idToken.indexOf(key);
|
|
11964
|
+
if (idRemoval > -1) {
|
|
11965
|
+
this.logger.info("idToken removed from tokenKeys map");
|
|
11966
|
+
tokenKeys.idToken.splice(idRemoval, 1);
|
|
11967
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
11968
|
+
}
|
|
11955
11969
|
}
|
|
11956
11970
|
/**
|
|
11957
11971
|
* Removes given accessToken from the cache and from the key map
|
|
11958
11972
|
* @param key
|
|
11959
11973
|
*/
|
|
11960
|
-
removeAccessToken(key, correlationId) {
|
|
11974
|
+
removeAccessToken(key, correlationId, updateTokenKeys = true) {
|
|
11961
11975
|
super.removeAccessToken(key, correlationId);
|
|
11962
|
-
this.
|
|
11976
|
+
updateTokenKeys && this.removeAccessTokenKeys([key], correlationId);
|
|
11977
|
+
}
|
|
11978
|
+
/**
|
|
11979
|
+
* Remove access token key from the key map
|
|
11980
|
+
* @param key
|
|
11981
|
+
* @param correlationId
|
|
11982
|
+
* @param tokenKeys
|
|
11983
|
+
*/
|
|
11984
|
+
removeAccessTokenKeys(keys, correlationId) {
|
|
11985
|
+
this.logger.trace("removeAccessTokenKey called");
|
|
11986
|
+
const tokenKeys = this.getTokenKeys();
|
|
11987
|
+
let keysRemoved = 0;
|
|
11988
|
+
keys.forEach((key) => {
|
|
11989
|
+
const accessRemoval = tokenKeys.accessToken.indexOf(key);
|
|
11990
|
+
if (accessRemoval > -1) {
|
|
11991
|
+
tokenKeys.accessToken.splice(accessRemoval, 1);
|
|
11992
|
+
keysRemoved++;
|
|
11993
|
+
}
|
|
11994
|
+
});
|
|
11995
|
+
if (keysRemoved > 0) {
|
|
11996
|
+
this.logger.info(`removed ${keysRemoved} accessToken keys from tokenKeys map`);
|
|
11997
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
11998
|
+
return;
|
|
11999
|
+
}
|
|
11963
12000
|
}
|
|
11964
12001
|
/**
|
|
11965
12002
|
* Removes given refreshToken from the cache and from the key map
|
|
11966
12003
|
* @param key
|
|
11967
12004
|
*/
|
|
11968
|
-
removeRefreshToken(key) {
|
|
11969
|
-
super.removeRefreshToken(key);
|
|
11970
|
-
this.
|
|
12005
|
+
removeRefreshToken(key, correlationId) {
|
|
12006
|
+
super.removeRefreshToken(key, correlationId);
|
|
12007
|
+
const tokenKeys = this.getTokenKeys();
|
|
12008
|
+
const refreshRemoval = tokenKeys.refreshToken.indexOf(key);
|
|
12009
|
+
if (refreshRemoval > -1) {
|
|
12010
|
+
this.logger.info("refreshToken removed from tokenKeys map");
|
|
12011
|
+
tokenKeys.refreshToken.splice(refreshRemoval, 1);
|
|
12012
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12013
|
+
}
|
|
11971
12014
|
}
|
|
11972
12015
|
/**
|
|
11973
12016
|
* Gets the keys for the cached tokens associated with this clientId
|
|
@@ -11977,101 +12020,37 @@
|
|
|
11977
12020
|
return getTokenKeys(this.clientId, this.browserStorage);
|
|
11978
12021
|
}
|
|
11979
12022
|
/**
|
|
11980
|
-
*
|
|
11981
|
-
* @param
|
|
11982
|
-
* @param
|
|
12023
|
+
* Stores the token keys in the cache
|
|
12024
|
+
* @param tokenKeys
|
|
12025
|
+
* @param correlationId
|
|
12026
|
+
* @returns
|
|
11983
12027
|
*/
|
|
11984
|
-
|
|
11985
|
-
|
|
11986
|
-
|
|
11987
|
-
|
|
11988
|
-
|
|
11989
|
-
|
|
11990
|
-
|
|
11991
|
-
tokenKeys.idToken.push(key);
|
|
11992
|
-
}
|
|
11993
|
-
break;
|
|
11994
|
-
case CredentialType.ACCESS_TOKEN:
|
|
11995
|
-
if (tokenKeys.accessToken.indexOf(key) === -1) {
|
|
11996
|
-
this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map");
|
|
11997
|
-
tokenKeys.accessToken.push(key);
|
|
11998
|
-
}
|
|
11999
|
-
break;
|
|
12000
|
-
case CredentialType.REFRESH_TOKEN:
|
|
12001
|
-
if (tokenKeys.refreshToken.indexOf(key) === -1) {
|
|
12002
|
-
this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map");
|
|
12003
|
-
tokenKeys.refreshToken.push(key);
|
|
12004
|
-
}
|
|
12005
|
-
break;
|
|
12006
|
-
default:
|
|
12007
|
-
this.logger.error(`BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ${type}`);
|
|
12008
|
-
throw createClientAuthError(unexpectedCredentialType);
|
|
12028
|
+
setTokenKeys(tokenKeys, correlationId) {
|
|
12029
|
+
if (tokenKeys.idToken.length === 0 &&
|
|
12030
|
+
tokenKeys.accessToken.length === 0 &&
|
|
12031
|
+
tokenKeys.refreshToken.length === 0) {
|
|
12032
|
+
// If no keys left, remove the map
|
|
12033
|
+
this.removeItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`);
|
|
12034
|
+
return;
|
|
12009
12035
|
}
|
|
12010
|
-
|
|
12011
|
-
|
|
12012
|
-
/**
|
|
12013
|
-
* Removes the given key from the token key map
|
|
12014
|
-
* @param key
|
|
12015
|
-
* @param type
|
|
12016
|
-
*/
|
|
12017
|
-
removeTokenKey(key, type) {
|
|
12018
|
-
this.logger.trace("BrowserCacheManager removeTokenKey called");
|
|
12019
|
-
const tokenKeys = this.getTokenKeys();
|
|
12020
|
-
switch (type) {
|
|
12021
|
-
case CredentialType.ID_TOKEN:
|
|
12022
|
-
this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: ${key} from map`);
|
|
12023
|
-
const idRemoval = tokenKeys.idToken.indexOf(key);
|
|
12024
|
-
if (idRemoval > -1) {
|
|
12025
|
-
this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map");
|
|
12026
|
-
tokenKeys.idToken.splice(idRemoval, 1);
|
|
12027
|
-
}
|
|
12028
|
-
else {
|
|
12029
|
-
this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");
|
|
12030
|
-
}
|
|
12031
|
-
break;
|
|
12032
|
-
case CredentialType.ACCESS_TOKEN:
|
|
12033
|
-
this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: ${key} from map`);
|
|
12034
|
-
const accessRemoval = tokenKeys.accessToken.indexOf(key);
|
|
12035
|
-
if (accessRemoval > -1) {
|
|
12036
|
-
this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map");
|
|
12037
|
-
tokenKeys.accessToken.splice(accessRemoval, 1);
|
|
12038
|
-
}
|
|
12039
|
-
else {
|
|
12040
|
-
this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");
|
|
12041
|
-
}
|
|
12042
|
-
break;
|
|
12043
|
-
case CredentialType.REFRESH_TOKEN:
|
|
12044
|
-
this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: ${key} from map`);
|
|
12045
|
-
const refreshRemoval = tokenKeys.refreshToken.indexOf(key);
|
|
12046
|
-
if (refreshRemoval > -1) {
|
|
12047
|
-
this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map");
|
|
12048
|
-
tokenKeys.refreshToken.splice(refreshRemoval, 1);
|
|
12049
|
-
}
|
|
12050
|
-
else {
|
|
12051
|
-
this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken does not exist in map. Either it was previously removed or it was never added.");
|
|
12052
|
-
}
|
|
12053
|
-
break;
|
|
12054
|
-
default:
|
|
12055
|
-
this.logger.error(`BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: ${type}`);
|
|
12056
|
-
throw createClientAuthError(unexpectedCredentialType);
|
|
12036
|
+
else {
|
|
12037
|
+
this.setItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`, JSON.stringify(tokenKeys), correlationId);
|
|
12057
12038
|
}
|
|
12058
|
-
this.browserStorage.setItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`, JSON.stringify(tokenKeys));
|
|
12059
12039
|
}
|
|
12060
12040
|
/**
|
|
12061
12041
|
* generates idToken entity from a string
|
|
12062
12042
|
* @param idTokenKey
|
|
12063
12043
|
*/
|
|
12064
|
-
getIdTokenCredential(idTokenKey) {
|
|
12044
|
+
getIdTokenCredential(idTokenKey, correlationId) {
|
|
12065
12045
|
const value = this.browserStorage.getUserData(idTokenKey);
|
|
12066
12046
|
if (!value) {
|
|
12067
12047
|
this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit");
|
|
12068
|
-
this.
|
|
12048
|
+
this.removeIdToken(idTokenKey, correlationId);
|
|
12069
12049
|
return null;
|
|
12070
12050
|
}
|
|
12071
12051
|
const parsedIdToken = this.validateAndParseJson(value);
|
|
12072
12052
|
if (!parsedIdToken || !isIdTokenEntity(parsedIdToken)) {
|
|
12073
12053
|
this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit");
|
|
12074
|
-
this.removeTokenKey(idTokenKey, CredentialType.ID_TOKEN);
|
|
12075
12054
|
return null;
|
|
12076
12055
|
}
|
|
12077
12056
|
this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit");
|
|
@@ -12084,25 +12063,31 @@
|
|
|
12084
12063
|
async setIdTokenCredential(idToken, correlationId) {
|
|
12085
12064
|
this.logger.trace("BrowserCacheManager.setIdTokenCredential called");
|
|
12086
12065
|
const idTokenKey = generateCredentialKey(idToken);
|
|
12087
|
-
|
|
12088
|
-
|
|
12066
|
+
const timestamp = Date.now().toString();
|
|
12067
|
+
idToken.lastUpdatedAt = timestamp;
|
|
12068
|
+
await this.setUserData(idTokenKey, JSON.stringify(idToken), correlationId, timestamp);
|
|
12069
|
+
const tokenKeys = this.getTokenKeys();
|
|
12070
|
+
if (tokenKeys.idToken.indexOf(idTokenKey) === -1) {
|
|
12071
|
+
this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map");
|
|
12072
|
+
tokenKeys.idToken.push(idTokenKey);
|
|
12073
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12074
|
+
}
|
|
12089
12075
|
}
|
|
12090
12076
|
/**
|
|
12091
12077
|
* generates accessToken entity from a string
|
|
12092
12078
|
* @param key
|
|
12093
12079
|
*/
|
|
12094
|
-
getAccessTokenCredential(accessTokenKey) {
|
|
12080
|
+
getAccessTokenCredential(accessTokenKey, correlationId) {
|
|
12095
12081
|
const value = this.browserStorage.getUserData(accessTokenKey);
|
|
12096
12082
|
if (!value) {
|
|
12097
12083
|
this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit");
|
|
12098
|
-
this.
|
|
12084
|
+
this.removeAccessTokenKeys([accessTokenKey], correlationId);
|
|
12099
12085
|
return null;
|
|
12100
12086
|
}
|
|
12101
12087
|
const parsedAccessToken = this.validateAndParseJson(value);
|
|
12102
12088
|
if (!parsedAccessToken ||
|
|
12103
12089
|
!isAccessTokenEntity(parsedAccessToken)) {
|
|
12104
12090
|
this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit");
|
|
12105
|
-
this.removeTokenKey(accessTokenKey, CredentialType.ACCESS_TOKEN);
|
|
12106
12091
|
return null;
|
|
12107
12092
|
}
|
|
12108
12093
|
this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit");
|
|
@@ -12115,25 +12100,33 @@
|
|
|
12115
12100
|
async setAccessTokenCredential(accessToken, correlationId) {
|
|
12116
12101
|
this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");
|
|
12117
12102
|
const accessTokenKey = generateCredentialKey(accessToken);
|
|
12118
|
-
|
|
12119
|
-
|
|
12103
|
+
const timestamp = Date.now().toString();
|
|
12104
|
+
accessToken.lastUpdatedAt = timestamp;
|
|
12105
|
+
await this.setUserData(accessTokenKey, JSON.stringify(accessToken), correlationId, timestamp);
|
|
12106
|
+
const tokenKeys = this.getTokenKeys();
|
|
12107
|
+
const index = tokenKeys.accessToken.indexOf(accessTokenKey);
|
|
12108
|
+
if (index !== -1) {
|
|
12109
|
+
tokenKeys.accessToken.splice(index, 1); // Remove existing key before pushing to the end
|
|
12110
|
+
}
|
|
12111
|
+
this.logger.trace(`access token ${index === -1 ? "added to" : "updated in"} map`);
|
|
12112
|
+
tokenKeys.accessToken.push(accessTokenKey);
|
|
12113
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12120
12114
|
}
|
|
12121
12115
|
/**
|
|
12122
12116
|
* generates refreshToken entity from a string
|
|
12123
12117
|
* @param refreshTokenKey
|
|
12124
12118
|
*/
|
|
12125
|
-
getRefreshTokenCredential(refreshTokenKey) {
|
|
12119
|
+
getRefreshTokenCredential(refreshTokenKey, correlationId) {
|
|
12126
12120
|
const value = this.browserStorage.getUserData(refreshTokenKey);
|
|
12127
12121
|
if (!value) {
|
|
12128
12122
|
this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit");
|
|
12129
|
-
this.
|
|
12123
|
+
this.removeRefreshToken(refreshTokenKey, correlationId);
|
|
12130
12124
|
return null;
|
|
12131
12125
|
}
|
|
12132
12126
|
const parsedRefreshToken = this.validateAndParseJson(value);
|
|
12133
12127
|
if (!parsedRefreshToken ||
|
|
12134
12128
|
!isRefreshTokenEntity(parsedRefreshToken)) {
|
|
12135
12129
|
this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit");
|
|
12136
|
-
this.removeTokenKey(refreshTokenKey, CredentialType.REFRESH_TOKEN);
|
|
12137
12130
|
return null;
|
|
12138
12131
|
}
|
|
12139
12132
|
this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit");
|
|
@@ -12146,8 +12139,15 @@
|
|
|
12146
12139
|
async setRefreshTokenCredential(refreshToken, correlationId) {
|
|
12147
12140
|
this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");
|
|
12148
12141
|
const refreshTokenKey = generateCredentialKey(refreshToken);
|
|
12149
|
-
|
|
12150
|
-
|
|
12142
|
+
const timestamp = Date.now().toString();
|
|
12143
|
+
refreshToken.lastUpdatedAt = timestamp;
|
|
12144
|
+
await this.setUserData(refreshTokenKey, JSON.stringify(refreshToken), correlationId, timestamp);
|
|
12145
|
+
const tokenKeys = this.getTokenKeys();
|
|
12146
|
+
if (tokenKeys.refreshToken.indexOf(refreshTokenKey) === -1) {
|
|
12147
|
+
this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map");
|
|
12148
|
+
tokenKeys.refreshToken.push(refreshTokenKey);
|
|
12149
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12150
|
+
}
|
|
12151
12151
|
}
|
|
12152
12152
|
/**
|
|
12153
12153
|
* fetch appMetadata entity from the platform cache
|
|
@@ -12172,10 +12172,10 @@
|
|
|
12172
12172
|
* set appMetadata entity to the platform cache
|
|
12173
12173
|
* @param appMetadata
|
|
12174
12174
|
*/
|
|
12175
|
-
setAppMetadata(appMetadata) {
|
|
12175
|
+
setAppMetadata(appMetadata, correlationId) {
|
|
12176
12176
|
this.logger.trace("BrowserCacheManager.setAppMetadata called");
|
|
12177
12177
|
const appMetadataKey = generateAppMetadataKey(appMetadata);
|
|
12178
|
-
this.
|
|
12178
|
+
this.setItem(appMetadataKey, JSON.stringify(appMetadata), correlationId);
|
|
12179
12179
|
}
|
|
12180
12180
|
/**
|
|
12181
12181
|
* fetch server telemetry entity from the platform cache
|
|
@@ -12201,9 +12201,9 @@
|
|
|
12201
12201
|
* @param serverTelemetryKey
|
|
12202
12202
|
* @param serverTelemetry
|
|
12203
12203
|
*/
|
|
12204
|
-
setServerTelemetry(serverTelemetryKey, serverTelemetry) {
|
|
12204
|
+
setServerTelemetry(serverTelemetryKey, serverTelemetry, correlationId) {
|
|
12205
12205
|
this.logger.trace("BrowserCacheManager.setServerTelemetry called");
|
|
12206
|
-
this.
|
|
12206
|
+
this.setItem(serverTelemetryKey, JSON.stringify(serverTelemetry), correlationId);
|
|
12207
12207
|
}
|
|
12208
12208
|
/**
|
|
12209
12209
|
*
|
|
@@ -12261,7 +12261,7 @@
|
|
|
12261
12261
|
/**
|
|
12262
12262
|
* Gets the active account
|
|
12263
12263
|
*/
|
|
12264
|
-
getActiveAccount() {
|
|
12264
|
+
getActiveAccount(correlationId) {
|
|
12265
12265
|
const activeAccountKeyFilters = this.generateCacheKey(PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
|
|
12266
12266
|
const activeAccountValueFilters = this.browserStorage.getItem(activeAccountKeyFilters);
|
|
12267
12267
|
if (!activeAccountValueFilters) {
|
|
@@ -12275,7 +12275,7 @@
|
|
|
12275
12275
|
homeAccountId: activeAccountValueObj.homeAccountId,
|
|
12276
12276
|
localAccountId: activeAccountValueObj.localAccountId,
|
|
12277
12277
|
tenantId: activeAccountValueObj.tenantId,
|
|
12278
|
-
});
|
|
12278
|
+
}, correlationId);
|
|
12279
12279
|
}
|
|
12280
12280
|
this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found");
|
|
12281
12281
|
return null;
|
|
@@ -12284,7 +12284,7 @@
|
|
|
12284
12284
|
* Sets the active account's localAccountId in cache
|
|
12285
12285
|
* @param account
|
|
12286
12286
|
*/
|
|
12287
|
-
setActiveAccount(account) {
|
|
12287
|
+
setActiveAccount(account, correlationId) {
|
|
12288
12288
|
const activeAccountKey = this.generateCacheKey(PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
|
|
12289
12289
|
if (account) {
|
|
12290
12290
|
this.logger.verbose("setActiveAccount: Active account set");
|
|
@@ -12292,8 +12292,9 @@
|
|
|
12292
12292
|
homeAccountId: account.homeAccountId,
|
|
12293
12293
|
localAccountId: account.localAccountId,
|
|
12294
12294
|
tenantId: account.tenantId,
|
|
12295
|
+
lastUpdatedAt: nowSeconds().toString(),
|
|
12295
12296
|
};
|
|
12296
|
-
this.
|
|
12297
|
+
this.setItem(activeAccountKey, JSON.stringify(activeAccountValue), correlationId);
|
|
12297
12298
|
}
|
|
12298
12299
|
else {
|
|
12299
12300
|
this.logger.verbose("setActiveAccount: No account passed, active account not set");
|
|
@@ -12325,9 +12326,9 @@
|
|
|
12325
12326
|
* @param throttlingCacheKey
|
|
12326
12327
|
* @param throttlingCache
|
|
12327
12328
|
*/
|
|
12328
|
-
setThrottlingCache(throttlingCacheKey, throttlingCache) {
|
|
12329
|
+
setThrottlingCache(throttlingCacheKey, throttlingCache, correlationId) {
|
|
12329
12330
|
this.logger.trace("BrowserCacheManager.setThrottlingCache called");
|
|
12330
|
-
this.
|
|
12331
|
+
this.setItem(throttlingCacheKey, JSON.stringify(throttlingCache), correlationId);
|
|
12331
12332
|
}
|
|
12332
12333
|
/**
|
|
12333
12334
|
* Gets cache item with given key.
|
|
@@ -12406,7 +12407,7 @@
|
|
|
12406
12407
|
clear(correlationId) {
|
|
12407
12408
|
// Removes all accounts and their credentials
|
|
12408
12409
|
this.removeAllAccounts(correlationId);
|
|
12409
|
-
this.removeAppMetadata();
|
|
12410
|
+
this.removeAppMetadata(correlationId);
|
|
12410
12411
|
// Remove temp storage first to make sure any cookies are cleared
|
|
12411
12412
|
this.temporaryCacheStorage.getKeys().forEach((cacheKey) => {
|
|
12412
12413
|
if (cacheKey.indexOf(Constants.CACHE_PREFIX) !== -1 ||
|
|
@@ -12435,7 +12436,7 @@
|
|
|
12435
12436
|
let removedAccessTokens = 0;
|
|
12436
12437
|
tokenKeys.accessToken.forEach((key) => {
|
|
12437
12438
|
// if the access token has claims in its key, remove the token key and the token
|
|
12438
|
-
const credential = this.getAccessTokenCredential(key);
|
|
12439
|
+
const credential = this.getAccessTokenCredential(key, correlationId);
|
|
12439
12440
|
if (credential?.requestedClaimsHash &&
|
|
12440
12441
|
key.includes(credential.requestedClaimsHash.toLowerCase())) {
|
|
12441
12442
|
this.removeAccessToken(key, correlationId);
|
|
@@ -12671,22 +12672,24 @@
|
|
|
12671
12672
|
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
|
12672
12673
|
* @returns Array of AccountInfo objects in cache
|
|
12673
12674
|
*/
|
|
12674
|
-
function getAllAccounts(logger, browserStorage, isInBrowser, accountFilter) {
|
|
12675
|
+
function getAllAccounts(logger, browserStorage, isInBrowser, correlationId, accountFilter) {
|
|
12675
12676
|
logger.verbose("getAllAccounts called");
|
|
12676
|
-
return isInBrowser
|
|
12677
|
+
return isInBrowser
|
|
12678
|
+
? browserStorage.getAllAccounts(accountFilter || {}, correlationId)
|
|
12679
|
+
: [];
|
|
12677
12680
|
}
|
|
12678
12681
|
/**
|
|
12679
12682
|
* Returns the first account found in the cache that matches the account filter passed in.
|
|
12680
12683
|
* @param accountFilter
|
|
12681
12684
|
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
|
12682
12685
|
*/
|
|
12683
|
-
function getAccount(accountFilter, logger, browserStorage) {
|
|
12686
|
+
function getAccount(accountFilter, logger, browserStorage, correlationId) {
|
|
12684
12687
|
logger.trace("getAccount called");
|
|
12685
12688
|
if (Object.keys(accountFilter).length === 0) {
|
|
12686
12689
|
logger.warning("getAccount: No accountFilter provided");
|
|
12687
12690
|
return null;
|
|
12688
12691
|
}
|
|
12689
|
-
const account = browserStorage.getAccountInfoFilteredBy(accountFilter);
|
|
12692
|
+
const account = browserStorage.getAccountInfoFilteredBy(accountFilter, correlationId);
|
|
12690
12693
|
if (account) {
|
|
12691
12694
|
logger.verbose("getAccount: Account matching provided filter found, returning");
|
|
12692
12695
|
return account;
|
|
@@ -12704,7 +12707,7 @@
|
|
|
12704
12707
|
* @param username
|
|
12705
12708
|
* @returns The account object stored in MSAL
|
|
12706
12709
|
*/
|
|
12707
|
-
function getAccountByUsername(username, logger, browserStorage) {
|
|
12710
|
+
function getAccountByUsername(username, logger, browserStorage, correlationId) {
|
|
12708
12711
|
logger.trace("getAccountByUsername called");
|
|
12709
12712
|
if (!username) {
|
|
12710
12713
|
logger.warning("getAccountByUsername: No username provided");
|
|
@@ -12712,7 +12715,7 @@
|
|
|
12712
12715
|
}
|
|
12713
12716
|
const account = browserStorage.getAccountInfoFilteredBy({
|
|
12714
12717
|
username,
|
|
12715
|
-
});
|
|
12718
|
+
}, correlationId);
|
|
12716
12719
|
if (account) {
|
|
12717
12720
|
logger.verbose("getAccountByUsername: Account matching username found, returning");
|
|
12718
12721
|
logger.verbosePii(`getAccountByUsername: Returning signed-in accounts matching username: ${username}`);
|
|
@@ -12730,7 +12733,7 @@
|
|
|
12730
12733
|
* @param homeAccountId
|
|
12731
12734
|
* @returns The account object stored in MSAL
|
|
12732
12735
|
*/
|
|
12733
|
-
function getAccountByHomeId(homeAccountId, logger, browserStorage) {
|
|
12736
|
+
function getAccountByHomeId(homeAccountId, logger, browserStorage, correlationId) {
|
|
12734
12737
|
logger.trace("getAccountByHomeId called");
|
|
12735
12738
|
if (!homeAccountId) {
|
|
12736
12739
|
logger.warning("getAccountByHomeId: No homeAccountId provided");
|
|
@@ -12738,7 +12741,7 @@
|
|
|
12738
12741
|
}
|
|
12739
12742
|
const account = browserStorage.getAccountInfoFilteredBy({
|
|
12740
12743
|
homeAccountId,
|
|
12741
|
-
});
|
|
12744
|
+
}, correlationId);
|
|
12742
12745
|
if (account) {
|
|
12743
12746
|
logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning");
|
|
12744
12747
|
logger.verbosePii(`getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ${homeAccountId}`);
|
|
@@ -12756,7 +12759,7 @@
|
|
|
12756
12759
|
* @param localAccountId
|
|
12757
12760
|
* @returns The account object stored in MSAL
|
|
12758
12761
|
*/
|
|
12759
|
-
function getAccountByLocalId(localAccountId, logger, browserStorage) {
|
|
12762
|
+
function getAccountByLocalId(localAccountId, logger, browserStorage, correlationId) {
|
|
12760
12763
|
logger.trace("getAccountByLocalId called");
|
|
12761
12764
|
if (!localAccountId) {
|
|
12762
12765
|
logger.warning("getAccountByLocalId: No localAccountId provided");
|
|
@@ -12764,7 +12767,7 @@
|
|
|
12764
12767
|
}
|
|
12765
12768
|
const account = browserStorage.getAccountInfoFilteredBy({
|
|
12766
12769
|
localAccountId,
|
|
12767
|
-
});
|
|
12770
|
+
}, correlationId);
|
|
12768
12771
|
if (account) {
|
|
12769
12772
|
logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning");
|
|
12770
12773
|
logger.verbosePii(`getAccountByLocalId: Returning signed-in accounts matching localAccountId: ${localAccountId}`);
|
|
@@ -12779,14 +12782,14 @@
|
|
|
12779
12782
|
* 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.
|
|
12780
12783
|
* @param account
|
|
12781
12784
|
*/
|
|
12782
|
-
function setActiveAccount(account, browserStorage) {
|
|
12783
|
-
browserStorage.setActiveAccount(account);
|
|
12785
|
+
function setActiveAccount(account, browserStorage, correlationId) {
|
|
12786
|
+
browserStorage.setActiveAccount(account, correlationId);
|
|
12784
12787
|
}
|
|
12785
12788
|
/**
|
|
12786
12789
|
* Gets the currently active account
|
|
12787
12790
|
*/
|
|
12788
|
-
function getActiveAccount(browserStorage) {
|
|
12789
|
-
return browserStorage.getActiveAccount();
|
|
12791
|
+
function getActiveAccount(browserStorage, correlationId) {
|
|
12792
|
+
return browserStorage.getActiveAccount(correlationId);
|
|
12790
12793
|
}
|
|
12791
12794
|
|
|
12792
12795
|
/*
|
|
@@ -12910,15 +12913,15 @@
|
|
|
12910
12913
|
this.logger = logger.clone(BrowserConstants.MSAL_SKU, version, this.correlationId);
|
|
12911
12914
|
this.performanceClient = performanceClient;
|
|
12912
12915
|
}
|
|
12913
|
-
async clearCacheOnLogout(account) {
|
|
12916
|
+
async clearCacheOnLogout(correlationId, account) {
|
|
12914
12917
|
if (account) {
|
|
12915
|
-
if (AccountEntity.accountInfoIsEqual(account, this.browserStorage.getActiveAccount(), false)) {
|
|
12918
|
+
if (AccountEntity.accountInfoIsEqual(account, this.browserStorage.getActiveAccount(correlationId), false)) {
|
|
12916
12919
|
this.logger.verbose("Setting active account to null");
|
|
12917
|
-
this.browserStorage.setActiveAccount(null);
|
|
12920
|
+
this.browserStorage.setActiveAccount(null, correlationId);
|
|
12918
12921
|
}
|
|
12919
12922
|
// Clear given account.
|
|
12920
12923
|
try {
|
|
12921
|
-
this.browserStorage.removeAccount(AccountEntity.generateAccountCacheKey(account),
|
|
12924
|
+
this.browserStorage.removeAccount(AccountEntity.generateAccountCacheKey(account), correlationId);
|
|
12922
12925
|
this.logger.verbose("Cleared cache items belonging to the account provided in the logout request.");
|
|
12923
12926
|
}
|
|
12924
12927
|
catch (error) {
|
|
@@ -12929,7 +12932,7 @@
|
|
|
12929
12932
|
try {
|
|
12930
12933
|
this.logger.verbose("No account provided in logout request, clearing all cache items.", this.correlationId);
|
|
12931
12934
|
// Clear all accounts and tokens
|
|
12932
|
-
this.browserStorage.clear(
|
|
12935
|
+
this.browserStorage.clear(correlationId);
|
|
12933
12936
|
// Clear any stray keys from IndexedDB
|
|
12934
12937
|
await this.browserCrypto.clearKeystore();
|
|
12935
12938
|
}
|
|
@@ -13251,7 +13254,8 @@
|
|
|
13251
13254
|
if (request.loginHint || request.sid) {
|
|
13252
13255
|
return validatedRequest;
|
|
13253
13256
|
}
|
|
13254
|
-
const account = request.account ||
|
|
13257
|
+
const account = request.account ||
|
|
13258
|
+
this.browserStorage.getActiveAccount(this.correlationId);
|
|
13255
13259
|
if (account) {
|
|
13256
13260
|
this.logger.verbose("Setting validated request account", this.correlationId);
|
|
13257
13261
|
this.logger.verbosePii(`Setting validated request account: ${account.homeAccountId}`, this.correlationId);
|
|
@@ -13541,7 +13545,7 @@
|
|
|
13541
13545
|
logout(logoutRequest) {
|
|
13542
13546
|
this.logger.verbose("logoutRedirect called");
|
|
13543
13547
|
const validLogoutRequest = this.initializeLogoutRequest(logoutRequest);
|
|
13544
|
-
return this.clearCacheOnLogout(validLogoutRequest?.account);
|
|
13548
|
+
return this.clearCacheOnLogout(validLogoutRequest.correlationId, validLogoutRequest?.account);
|
|
13545
13549
|
}
|
|
13546
13550
|
}
|
|
13547
13551
|
|
|
@@ -13665,7 +13669,7 @@
|
|
|
13665
13669
|
// fetch the account from browser cache
|
|
13666
13670
|
const account = this.browserStorage.getBaseAccountInfo({
|
|
13667
13671
|
nativeAccountId,
|
|
13668
|
-
});
|
|
13672
|
+
}, this.correlationId);
|
|
13669
13673
|
if (!account) {
|
|
13670
13674
|
throw createClientAuthError(noAccountFound);
|
|
13671
13675
|
}
|
|
@@ -13781,7 +13785,7 @@
|
|
|
13781
13785
|
const homeAccountIdentifier = this.createHomeAccountIdentifier(response, idTokenClaims);
|
|
13782
13786
|
const cachedhomeAccountId = this.browserStorage.getAccountInfoFilteredBy({
|
|
13783
13787
|
nativeAccountId: request.accountId,
|
|
13784
|
-
})?.homeAccountId;
|
|
13788
|
+
}, this.correlationId)?.homeAccountId;
|
|
13785
13789
|
// add exception for double brokering, please note this is temporary and will be fortified in future
|
|
13786
13790
|
if (request.extraParameters?.child_client_id &&
|
|
13787
13791
|
response.account.id !== request.accountId) {
|
|
@@ -13796,7 +13800,7 @@
|
|
|
13796
13800
|
const authority = await this.getDiscoveredAuthority({
|
|
13797
13801
|
requestAuthority: request.authority,
|
|
13798
13802
|
});
|
|
13799
|
-
const baseAccount = buildAccountToCache(this.browserStorage, authority, homeAccountIdentifier, base64Decode, idTokenClaims, response.client_info, undefined, // environment
|
|
13803
|
+
const baseAccount = buildAccountToCache(this.browserStorage, authority, homeAccountIdentifier, base64Decode, this.correlationId, idTokenClaims, response.client_info, undefined, // environment
|
|
13800
13804
|
idTokenClaims.tid, undefined, // auth code payload
|
|
13801
13805
|
response.account.id, this.logger);
|
|
13802
13806
|
// Ensure expires_in is in number format
|
|
@@ -13804,7 +13808,7 @@
|
|
|
13804
13808
|
// generate authenticationResult
|
|
13805
13809
|
const result = await this.generateAuthenticationResult(response, request, idTokenClaims, baseAccount, authority.canonicalAuthority, reqTimestamp);
|
|
13806
13810
|
// cache accounts and tokens in the appropriate storage
|
|
13807
|
-
await this.cacheAccount(baseAccount);
|
|
13811
|
+
await this.cacheAccount(baseAccount, this.correlationId);
|
|
13808
13812
|
await this.cacheNativeTokens(response, request, homeAccountIdentifier, idTokenClaims, response.access_token, result.tenantId, reqTimestamp);
|
|
13809
13813
|
return result;
|
|
13810
13814
|
}
|
|
@@ -13928,11 +13932,11 @@
|
|
|
13928
13932
|
* cache the account entity in browser storage
|
|
13929
13933
|
* @param accountEntity
|
|
13930
13934
|
*/
|
|
13931
|
-
async cacheAccount(accountEntity) {
|
|
13935
|
+
async cacheAccount(accountEntity, correlationId) {
|
|
13932
13936
|
// Store the account info and hence `nativeAccountId` in browser cache
|
|
13933
13937
|
await this.browserStorage.setAccount(accountEntity, this.correlationId);
|
|
13934
13938
|
// Remove any existing cached tokens for this account in browser storage
|
|
13935
|
-
this.browserStorage.removeAccountContext(accountEntity,
|
|
13939
|
+
this.browserStorage.removeAccountContext(accountEntity, correlationId);
|
|
13936
13940
|
}
|
|
13937
13941
|
/**
|
|
13938
13942
|
* Stores the access_token and id_token in inmemory storage
|
|
@@ -15102,7 +15106,7 @@
|
|
|
15102
15106
|
const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.logoutPopup);
|
|
15103
15107
|
try {
|
|
15104
15108
|
// Clear cache on logout
|
|
15105
|
-
await this.clearCacheOnLogout(validRequest.account);
|
|
15109
|
+
await this.clearCacheOnLogout(this.correlationId, validRequest.account);
|
|
15106
15110
|
// Initialize the client
|
|
15107
15111
|
const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
|
|
15108
15112
|
serverTelemetryManager,
|
|
@@ -15480,6 +15484,11 @@
|
|
|
15480
15484
|
this.browserStorage.cacheAuthorizeRequest(redirectRequest);
|
|
15481
15485
|
const form = await getEARForm(document, this.config, discoveredAuthority, redirectRequest, this.logger, this.performanceClient);
|
|
15482
15486
|
form.submit();
|
|
15487
|
+
return new Promise((resolve, reject) => {
|
|
15488
|
+
setTimeout(() => {
|
|
15489
|
+
reject(createBrowserAuthError(timedOut, "failed_to_redirect"));
|
|
15490
|
+
}, this.config.system.redirectNavigationTimeout);
|
|
15491
|
+
});
|
|
15483
15492
|
}
|
|
15484
15493
|
/**
|
|
15485
15494
|
* Checks if navigateToLoginRequestUrl is set, and:
|
|
@@ -15694,7 +15703,7 @@
|
|
|
15694
15703
|
try {
|
|
15695
15704
|
this.eventHandler.emitEvent(EventType.LOGOUT_START, exports.InteractionType.Redirect, logoutRequest);
|
|
15696
15705
|
// Clear cache on logout
|
|
15697
|
-
await this.clearCacheOnLogout(validLogoutRequest.account);
|
|
15706
|
+
await this.clearCacheOnLogout(this.correlationId, validLogoutRequest.account);
|
|
15698
15707
|
const navigationOptions = {
|
|
15699
15708
|
apiId: ApiId.logout,
|
|
15700
15709
|
timeout: this.config.system.redirectNavigationTimeout,
|
|
@@ -16189,7 +16198,7 @@
|
|
|
16189
16198
|
}
|
|
16190
16199
|
const homeAccountId = AccountEntity.generateHomeAccountId(clientInfo, authority.authorityType, this.logger, this.cryptoObj, idTokenClaims);
|
|
16191
16200
|
const claimsTenantId = idTokenClaims?.tid;
|
|
16192
|
-
const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
|
|
16201
|
+
const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
|
|
16193
16202
|
undefined, // nativeAccountId
|
|
16194
16203
|
this.logger);
|
|
16195
16204
|
await this.storage.setAccount(cachedAccount, correlationId);
|
|
@@ -17227,7 +17236,8 @@
|
|
|
17227
17236
|
* @returns Array of AccountInfo objects in cache
|
|
17228
17237
|
*/
|
|
17229
17238
|
getAllAccounts(accountFilter) {
|
|
17230
|
-
|
|
17239
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17240
|
+
return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnvironment, correlationId, accountFilter);
|
|
17231
17241
|
}
|
|
17232
17242
|
/**
|
|
17233
17243
|
* Returns the first account found in the cache that matches the account filter passed in.
|
|
@@ -17235,7 +17245,8 @@
|
|
|
17235
17245
|
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
|
17236
17246
|
*/
|
|
17237
17247
|
getAccount(accountFilter) {
|
|
17238
|
-
|
|
17248
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17249
|
+
return getAccount(accountFilter, this.logger, this.browserStorage, correlationId);
|
|
17239
17250
|
}
|
|
17240
17251
|
/**
|
|
17241
17252
|
* Returns the signed in account matching username.
|
|
@@ -17246,7 +17257,8 @@
|
|
|
17246
17257
|
* @returns The account object stored in MSAL
|
|
17247
17258
|
*/
|
|
17248
17259
|
getAccountByUsername(username) {
|
|
17249
|
-
|
|
17260
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17261
|
+
return getAccountByUsername(username, this.logger, this.browserStorage, correlationId);
|
|
17250
17262
|
}
|
|
17251
17263
|
/**
|
|
17252
17264
|
* Returns the signed in account matching homeAccountId.
|
|
@@ -17256,7 +17268,8 @@
|
|
|
17256
17268
|
* @returns The account object stored in MSAL
|
|
17257
17269
|
*/
|
|
17258
17270
|
getAccountByHomeId(homeAccountId) {
|
|
17259
|
-
|
|
17271
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17272
|
+
return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage, correlationId);
|
|
17260
17273
|
}
|
|
17261
17274
|
/**
|
|
17262
17275
|
* Returns the signed in account matching localAccountId.
|
|
@@ -17266,20 +17279,23 @@
|
|
|
17266
17279
|
* @returns The account object stored in MSAL
|
|
17267
17280
|
*/
|
|
17268
17281
|
getAccountByLocalId(localAccountId) {
|
|
17269
|
-
|
|
17282
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17283
|
+
return getAccountByLocalId(localAccountId, this.logger, this.browserStorage, correlationId);
|
|
17270
17284
|
}
|
|
17271
17285
|
/**
|
|
17272
17286
|
* 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.
|
|
17273
17287
|
* @param account
|
|
17274
17288
|
*/
|
|
17275
17289
|
setActiveAccount(account) {
|
|
17276
|
-
|
|
17290
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17291
|
+
setActiveAccount(account, this.browserStorage, correlationId);
|
|
17277
17292
|
}
|
|
17278
17293
|
/**
|
|
17279
17294
|
* Gets the currently active account
|
|
17280
17295
|
*/
|
|
17281
17296
|
getActiveAccount() {
|
|
17282
|
-
|
|
17297
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17298
|
+
return getActiveAccount(this.browserStorage, correlationId);
|
|
17283
17299
|
}
|
|
17284
17300
|
// #endregion
|
|
17285
17301
|
/**
|
|
@@ -17619,9 +17635,7 @@
|
|
|
17619
17635
|
async acquireTokenSilentDeduped(request, account, correlationId) {
|
|
17620
17636
|
const thumbprint = getRequestThumbprint(this.config.auth.clientId, {
|
|
17621
17637
|
...request,
|
|
17622
|
-
authority: request.authority || this.config.auth.authority,
|
|
17623
|
-
correlationId: correlationId,
|
|
17624
|
-
}, account.homeAccountId);
|
|
17638
|
+
authority: request.authority || this.config.auth.authority}, account.homeAccountId);
|
|
17625
17639
|
const silentRequestKey = JSON.stringify(thumbprint);
|
|
17626
17640
|
const inProgressRequest = this.activeSilentTokenRequests.get(silentRequestKey);
|
|
17627
17641
|
if (typeof inProgressRequest === "undefined") {
|
|
@@ -18283,8 +18297,9 @@
|
|
|
18283
18297
|
// always prioritize the account context from the bridge
|
|
18284
18298
|
const accountContext = this.bridgeProxy.getAccountContext() || this.currentAccountContext;
|
|
18285
18299
|
let currentAccount = null;
|
|
18300
|
+
const correlationId = request.correlationId || this.browserCrypto.createNewGuid();
|
|
18286
18301
|
if (accountContext) {
|
|
18287
|
-
currentAccount = getAccount(accountContext, this.logger, this.browserStorage);
|
|
18302
|
+
currentAccount = getAccount(accountContext, this.logger, this.browserStorage, correlationId);
|
|
18288
18303
|
}
|
|
18289
18304
|
// fall back to brokering if no cached account is found
|
|
18290
18305
|
if (!currentAccount) {
|
|
@@ -18313,7 +18328,7 @@
|
|
|
18313
18328
|
this.logger.verbose("Cached access token has expired");
|
|
18314
18329
|
return Promise.resolve(null);
|
|
18315
18330
|
}
|
|
18316
|
-
const cachedIdToken = this.browserStorage.getIdToken(currentAccount, tokenKeys, currentAccount.tenantId, this.performanceClient
|
|
18331
|
+
const cachedIdToken = this.browserStorage.getIdToken(currentAccount, authRequest.correlationId, tokenKeys, currentAccount.tenantId, this.performanceClient);
|
|
18317
18332
|
if (!cachedIdToken) {
|
|
18318
18333
|
this.logger.verbose("No cached id token found");
|
|
18319
18334
|
return Promise.resolve(null);
|
|
@@ -18410,7 +18425,8 @@
|
|
|
18410
18425
|
* @returns Array of AccountInfo objects in cache
|
|
18411
18426
|
*/
|
|
18412
18427
|
getAllAccounts(accountFilter) {
|
|
18413
|
-
|
|
18428
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18429
|
+
return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnv(), correlationId, accountFilter);
|
|
18414
18430
|
}
|
|
18415
18431
|
/**
|
|
18416
18432
|
* Returns the first account found in the cache that matches the account filter passed in.
|
|
@@ -18418,7 +18434,8 @@
|
|
|
18418
18434
|
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
|
18419
18435
|
*/
|
|
18420
18436
|
getAccount(accountFilter) {
|
|
18421
|
-
|
|
18437
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18438
|
+
return getAccount(accountFilter, this.logger, this.browserStorage, correlationId);
|
|
18422
18439
|
}
|
|
18423
18440
|
/**
|
|
18424
18441
|
* Returns the signed in account matching username.
|
|
@@ -18429,7 +18446,8 @@
|
|
|
18429
18446
|
* @returns The account object stored in MSAL
|
|
18430
18447
|
*/
|
|
18431
18448
|
getAccountByUsername(username) {
|
|
18432
|
-
|
|
18449
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18450
|
+
return getAccountByUsername(username, this.logger, this.browserStorage, correlationId);
|
|
18433
18451
|
}
|
|
18434
18452
|
/**
|
|
18435
18453
|
* Returns the signed in account matching homeAccountId.
|
|
@@ -18439,7 +18457,8 @@
|
|
|
18439
18457
|
* @returns The account object stored in MSAL
|
|
18440
18458
|
*/
|
|
18441
18459
|
getAccountByHomeId(homeAccountId) {
|
|
18442
|
-
|
|
18460
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18461
|
+
return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage, correlationId);
|
|
18443
18462
|
}
|
|
18444
18463
|
/**
|
|
18445
18464
|
* Returns the signed in account matching localAccountId.
|
|
@@ -18449,7 +18468,8 @@
|
|
|
18449
18468
|
* @returns The account object stored in MSAL
|
|
18450
18469
|
*/
|
|
18451
18470
|
getAccountByLocalId(localAccountId) {
|
|
18452
|
-
|
|
18471
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18472
|
+
return getAccountByLocalId(localAccountId, this.logger, this.browserStorage, correlationId);
|
|
18453
18473
|
}
|
|
18454
18474
|
/**
|
|
18455
18475
|
* 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.
|
|
@@ -18460,13 +18480,15 @@
|
|
|
18460
18480
|
* StandardController uses this to allow the developer to set the active account
|
|
18461
18481
|
* in the nested app auth scenario the active account is controlled by the app hosting the nested app
|
|
18462
18482
|
*/
|
|
18463
|
-
|
|
18483
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18484
|
+
return setActiveAccount(account, this.browserStorage, correlationId);
|
|
18464
18485
|
}
|
|
18465
18486
|
/**
|
|
18466
18487
|
* Gets the currently active account
|
|
18467
18488
|
*/
|
|
18468
18489
|
getActiveAccount() {
|
|
18469
|
-
|
|
18490
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18491
|
+
return getActiveAccount(this.browserStorage, correlationId);
|
|
18470
18492
|
}
|
|
18471
18493
|
// #endregion
|
|
18472
18494
|
handleRedirectPromise(hash // eslint-disable-line @typescript-eslint/no-unused-vars
|