@azure/msal-browser 4.13.2 → 4.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientNext.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/cache/AccountManager.d.ts +7 -7
- package/dist/cache/AccountManager.d.ts.map +1 -1
- package/dist/cache/AccountManager.mjs +17 -15
- package/dist/cache/AccountManager.mjs.map +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.d.ts +40 -25
- package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/cache/BrowserCacheManager.mjs +215 -124
- package/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/IWindowStorage.d.ts +1 -1
- package/dist/cache/IWindowStorage.d.ts.map +1 -1
- package/dist/cache/LocalStorage.d.ts +1 -1
- package/dist/cache/LocalStorage.d.ts.map +1 -1
- package/dist/cache/LocalStorage.mjs +4 -3
- package/dist/cache/LocalStorage.mjs.map +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.mjs +2 -2
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/config/Configuration.mjs +3 -3
- package/dist/controllers/ControllerFactory.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +18 -10
- package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +16 -9
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/custom-auth-path/app/IPublicClientApplication.d.ts +55 -0
- package/dist/custom-auth-path/app/IPublicClientApplication.d.ts.map +1 -0
- package/dist/custom-auth-path/app/PublicClientApplication.d.ts +297 -0
- package/dist/custom-auth-path/app/PublicClientApplication.d.ts.map +1 -0
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +346 -0
- package/dist/custom-auth-path/app/PublicClientApplication.mjs.map +1 -0
- package/dist/custom-auth-path/app/PublicClientNext.d.ts +278 -0
- package/dist/custom-auth-path/app/PublicClientNext.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
- package/dist/custom-auth-path/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +17 -0
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +143 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +274 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts +26 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +90 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthRequest.d.ts +78 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/AccountManager.d.ts +49 -0
- package/dist/custom-auth-path/cache/AccountManager.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/AccountManager.mjs +133 -0
- package/dist/custom-auth-path/cache/AccountManager.mjs.map +1 -0
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts +51 -0
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +141 -0
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs.map +1 -0
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +297 -0
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +989 -0
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -0
- package/dist/custom-auth-path/cache/CacheHelpers.d.ts +16 -0
- package/dist/custom-auth-path/cache/CacheHelpers.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/CacheHelpers.mjs +46 -0
- package/dist/custom-auth-path/cache/CacheHelpers.mjs.map +1 -0
- package/dist/custom-auth-path/cache/CookieStorage.d.ts +22 -0
- package/dist/custom-auth-path/cache/CookieStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/CookieStorage.mjs +78 -0
- package/dist/custom-auth-path/cache/CookieStorage.mjs.map +1 -0
- package/dist/custom-auth-path/cache/DatabaseStorage.d.ts +57 -0
- package/dist/custom-auth-path/cache/DatabaseStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/DatabaseStorage.mjs +209 -0
- package/dist/custom-auth-path/cache/DatabaseStorage.mjs.map +1 -0
- package/dist/custom-auth-path/cache/IAsyncStorage.d.ts +28 -0
- package/dist/custom-auth-path/cache/IAsyncStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/ITokenCache.d.ts +12 -0
- package/dist/custom-auth-path/cache/ITokenCache.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/IWindowStorage.d.ts +40 -0
- package/dist/custom-auth-path/cache/IWindowStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/LocalStorage.d.ts +49 -0
- package/dist/custom-auth-path/cache/LocalStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/LocalStorage.mjs +264 -0
- package/dist/custom-auth-path/cache/LocalStorage.mjs.map +1 -0
- package/dist/custom-auth-path/cache/MemoryStorage.d.ts +15 -0
- package/dist/custom-auth-path/cache/MemoryStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/MemoryStorage.mjs +45 -0
- package/dist/custom-auth-path/cache/MemoryStorage.mjs.map +1 -0
- package/dist/custom-auth-path/cache/SessionStorage.d.ts +13 -0
- package/dist/custom-auth-path/cache/SessionStorage.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/SessionStorage.mjs +43 -0
- package/dist/custom-auth-path/cache/SessionStorage.mjs.map +1 -0
- package/dist/custom-auth-path/cache/TokenCache.d.ts +78 -0
- package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -0
- package/dist/custom-auth-path/cache/TokenCache.mjs +207 -0
- package/dist/custom-auth-path/cache/TokenCache.mjs.map +1 -0
- package/dist/custom-auth-path/config/Configuration.d.ts +228 -0
- package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -0
- package/dist/custom-auth-path/config/Configuration.mjs +141 -0
- package/dist/custom-auth-path/config/Configuration.mjs.map +1 -0
- package/dist/custom-auth-path/controllers/ControllerFactory.d.ts +6 -0
- package/dist/custom-auth-path/controllers/ControllerFactory.d.ts.map +1 -0
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs +17 -0
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs.map +1 -0
- package/dist/custom-auth-path/controllers/IController.d.ts +59 -0
- package/dist/custom-auth-path/controllers/IController.d.ts.map +1 -0
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts +203 -0
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -0
- package/dist/custom-auth-path/controllers/StandardController.d.ts +425 -0
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -0
- package/dist/custom-auth-path/controllers/StandardController.mjs +1469 -0
- package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -0
- package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts +86 -0
- package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts.map +1 -0
- package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts +97 -0
- package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts.map +1 -0
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +308 -0
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs.map +1 -0
- package/dist/custom-auth-path/crypto/CryptoOps.d.ts +75 -0
- package/dist/custom-auth-path/crypto/CryptoOps.d.ts.map +1 -0
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +191 -0
- package/dist/custom-auth-path/crypto/CryptoOps.mjs.map +1 -0
- package/dist/custom-auth-path/crypto/PkceGenerator.d.ts +9 -0
- package/dist/custom-auth-path/crypto/PkceGenerator.d.ts.map +1 -0
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +65 -0
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs.map +1 -0
- package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts +31 -0
- package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthActionInputs.d.ts +26 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +33 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +47 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +97 -0
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
- package/dist/custom-auth-path/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/configuration/CustomAuthConfiguration.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts +25 -0
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +274 -0
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
- package/dist/custom-auth-path/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +83 -0
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +28 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +105 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +47 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.d.ts +27 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +45 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.d.ts +19 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +33 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.d.ts +9 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +22 -0
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +11 -0
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +18 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +12 -0
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +18 -0
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.d.ts +6 -0
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +18 -0
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +10 -0
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +30 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +18 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +24 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +47 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +25 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +14 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +86 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +20 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +20 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +9 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +31 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +87 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +29 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +113 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +20 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +71 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +22 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +29 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +65 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +45 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +10 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +54 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +15 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts +21 -0
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +34 -0
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +21 -0
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.d.ts +3 -0
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +26 -0
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +122 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +47 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +48 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +47 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +47 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +21 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +21 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +21 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +122 -0
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/index.d.ts +69 -0
- package/dist/custom-auth-path/custom_auth/index.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/index.mjs +57 -0
- package/dist/custom-auth-path/custom_auth/index.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +35 -0
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +55 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +88 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +51 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +48 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +48 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +43 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +23 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +94 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +16 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +16 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +54 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +25 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +15 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +155 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +13 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +50 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +76 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +48 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +54 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +62 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +25 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +41 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +21 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs +24 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +20 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +36 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +29 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +95 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +8 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +17 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +13 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +46 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +16 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +17 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +54 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +6 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +26 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +20 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts +48 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +191 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +29 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +30 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +30 -0
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +87 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +126 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +51 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +62 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +48 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +62 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +55 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +21 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +74 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +28 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +139 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +16 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +16 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +12 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +77 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +26 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +20 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +241 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +37 -0
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs.map +1 -0
- package/dist/custom-auth-path/encode/Base64Decode.d.ts +15 -0
- package/dist/custom-auth-path/encode/Base64Decode.d.ts.map +1 -0
- package/dist/custom-auth-path/encode/Base64Decode.mjs +44 -0
- package/dist/custom-auth-path/encode/Base64Decode.mjs.map +1 -0
- package/dist/custom-auth-path/encode/Base64Encode.d.ts +20 -0
- package/dist/custom-auth-path/encode/Base64Encode.d.ts.map +1 -0
- package/dist/custom-auth-path/encode/Base64Encode.mjs +48 -0
- package/dist/custom-auth-path/encode/Base64Encode.mjs.map +1 -0
- package/dist/custom-auth-path/error/BrowserAuthError.d.ts +257 -0
- package/dist/custom-auth-path/error/BrowserAuthError.d.ts.map +1 -0
- package/dist/custom-auth-path/error/BrowserAuthError.mjs +82 -0
- package/dist/custom-auth-path/error/BrowserAuthError.mjs.map +1 -0
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.d.ts +52 -0
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +60 -0
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts +34 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts.map +1 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +30 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs.map +1 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +12 -0
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/error/NativeAuthError.d.ts +30 -0
- package/dist/custom-auth-path/error/NativeAuthError.d.ts.map +1 -0
- package/dist/custom-auth-path/error/NativeAuthError.mjs +73 -0
- package/dist/custom-auth-path/error/NativeAuthError.mjs.map +1 -0
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts +3 -0
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts.map +1 -0
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +11 -0
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs.map +1 -0
- package/dist/custom-auth-path/error/NestedAppAuthError.d.ts +15 -0
- package/dist/custom-auth-path/error/NestedAppAuthError.d.ts.map +1 -0
- package/dist/custom-auth-path/event/EventHandler.d.ts +49 -0
- package/dist/custom-auth-path/event/EventHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/event/EventHandler.mjs +112 -0
- package/dist/custom-auth-path/event/EventHandler.mjs.map +1 -0
- package/dist/custom-auth-path/event/EventMessage.d.ts +40 -0
- package/dist/custom-auth-path/event/EventMessage.d.ts.map +1 -0
- package/dist/custom-auth-path/event/EventType.d.ts +31 -0
- package/dist/custom-auth-path/event/EventType.d.ts.map +1 -0
- package/dist/custom-auth-path/event/EventType.mjs +38 -0
- package/dist/custom-auth-path/event/EventType.mjs.map +1 -0
- package/dist/custom-auth-path/index.d.ts +45 -0
- package/dist/custom-auth-path/index.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts +59 -0
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +128 -0
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +17 -0
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +149 -0
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +630 -0
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts +120 -0
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +469 -0
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts +68 -0
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +427 -0
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts +24 -0
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +76 -0
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.d.ts +17 -0
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +58 -0
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts +43 -0
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +154 -0
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.d.ts +32 -0
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +75 -0
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts +64 -0
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +209 -0
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts +33 -0
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +102 -0
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs.map +1 -0
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts +16 -0
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +154 -0
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -0
- package/dist/custom-auth-path/naa/AccountInfo.d.ts +12 -0
- package/dist/custom-auth-path/naa/AccountInfo.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/AuthBridge.d.ts +9 -0
- package/dist/custom-auth-path/naa/AuthBridge.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/AuthResult.d.ts +7 -0
- package/dist/custom-auth-path/naa/AuthResult.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeAccountContext.d.ts +13 -0
- package/dist/custom-auth-path/naa/BridgeAccountContext.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeCapabilities.d.ts +4 -0
- package/dist/custom-auth-path/naa/BridgeCapabilities.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeError.d.ts +10 -0
- package/dist/custom-auth-path/naa/BridgeError.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeProxy.d.ts +69 -0
- package/dist/custom-auth-path/naa/BridgeProxy.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeRequest.d.ts +8 -0
- package/dist/custom-auth-path/naa/BridgeRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeRequestEnvelope.d.ts +13 -0
- package/dist/custom-auth-path/naa/BridgeRequestEnvelope.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeResponseEnvelope.d.ts +14 -0
- package/dist/custom-auth-path/naa/BridgeResponseEnvelope.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/BridgeStatusCode.d.ts +12 -0
- package/dist/custom-auth-path/naa/BridgeStatusCode.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/IBridgeProxy.d.ts +11 -0
- package/dist/custom-auth-path/naa/IBridgeProxy.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/InitContext.d.ts +9 -0
- package/dist/custom-auth-path/naa/InitContext.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/TokenRequest.d.ts +19 -0
- package/dist/custom-auth-path/naa/TokenRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/TokenResponse.d.ts +14 -0
- package/dist/custom-auth-path/naa/TokenResponse.d.ts.map +1 -0
- package/dist/custom-auth-path/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
- package/dist/custom-auth-path/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
- package/dist/custom-auth-path/navigation/INavigationClient.d.ts +17 -0
- package/dist/custom-auth-path/navigation/INavigationClient.d.ts.map +1 -0
- package/dist/custom-auth-path/navigation/NavigationClient.d.ts +23 -0
- package/dist/custom-auth-path/navigation/NavigationClient.d.ts.map +1 -0
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +48 -0
- package/dist/custom-auth-path/navigation/NavigationClient.mjs.map +1 -0
- package/dist/custom-auth-path/navigation/NavigationOptions.d.ts +13 -0
- package/dist/custom-auth-path/navigation/NavigationOptions.d.ts.map +1 -0
- package/dist/custom-auth-path/network/FetchClient.d.ts +21 -0
- package/dist/custom-auth-path/network/FetchClient.d.ts.map +1 -0
- package/dist/custom-auth-path/network/FetchClient.mjs +128 -0
- package/dist/custom-auth-path/network/FetchClient.mjs.map +1 -0
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts +42 -0
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +104 -0
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs.map +1 -0
- package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts +40 -0
- package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts +26 -0
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +50 -0
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs.map +1 -0
- package/dist/custom-auth-path/operatingcontext/UnknownOperatingContext.d.ts +26 -0
- package/dist/custom-auth-path/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
- package/dist/custom-auth-path/packageMetadata.d.ts +3 -0
- package/dist/custom-auth-path/packageMetadata.d.ts.map +1 -0
- package/dist/custom-auth-path/packageMetadata.mjs +8 -0
- package/dist/custom-auth-path/packageMetadata.mjs.map +1 -0
- package/dist/custom-auth-path/protocol/Authorize.d.ts +65 -0
- package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -0
- package/dist/custom-auth-path/protocol/Authorize.mjs +218 -0
- package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -0
- package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts +9 -0
- package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts +7 -0
- package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/ClearCacheRequest.d.ts +11 -0
- package/dist/custom-auth-path/request/ClearCacheRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts +21 -0
- package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/EndSessionRequest.d.ts +16 -0
- package/dist/custom-auth-path/request/EndSessionRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts +9 -0
- package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/PopupRequest.d.ts +36 -0
- package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/PopupWindowAttributes.d.ts +16 -0
- package/dist/custom-auth-path/request/PopupWindowAttributes.d.ts.map +1 -0
- package/dist/custom-auth-path/request/RedirectRequest.d.ts +40 -0
- package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/RequestHelpers.d.ts +14 -0
- package/dist/custom-auth-path/request/RequestHelpers.d.ts.map +1 -0
- package/dist/custom-auth-path/request/RequestHelpers.mjs +61 -0
- package/dist/custom-auth-path/request/RequestHelpers.mjs.map +1 -0
- package/dist/custom-auth-path/request/SilentRequest.d.ts +33 -0
- package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +28 -0
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts.map +1 -0
- package/dist/custom-auth-path/response/AuthenticationResult.d.ts +5 -0
- package/dist/custom-auth-path/response/AuthenticationResult.d.ts.map +1 -0
- package/dist/custom-auth-path/response/ResponseHandler.d.ts +8 -0
- package/dist/custom-auth-path/response/ResponseHandler.d.ts.map +1 -0
- package/dist/custom-auth-path/response/ResponseHandler.mjs +46 -0
- package/dist/custom-auth-path/response/ResponseHandler.mjs.map +1 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts +35 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
- package/dist/custom-auth-path/utils/BrowserConstants.d.ts +184 -0
- package/dist/custom-auth-path/utils/BrowserConstants.d.ts.map +1 -0
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +177 -0
- package/dist/custom-auth-path/utils/BrowserConstants.mjs.map +1 -0
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.d.ts +12 -0
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.d.ts.map +1 -0
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +28 -0
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs.map +1 -0
- package/dist/custom-auth-path/utils/BrowserUtils.d.ts +76 -0
- package/dist/custom-auth-path/utils/BrowserUtils.d.ts.map +1 -0
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +173 -0
- package/dist/custom-auth-path/utils/BrowserUtils.mjs.map +1 -0
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts +3 -0
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts.map +1 -0
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +23 -0
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs.map +1 -0
- package/dist/custom_auth/CustomAuthActionInputs.d.ts +26 -0
- package/dist/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
- package/dist/custom_auth/CustomAuthConstants.d.ts +33 -0
- package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -0
- package/dist/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
- package/dist/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
- package/dist/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
- package/dist/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
- package/dist/custom_auth/UserAccountAttributes.d.ts +12 -0
- package/dist/custom_auth/UserAccountAttributes.d.ts.map +1 -0
- package/dist/custom_auth/configuration/CustomAuthConfiguration.d.ts +12 -0
- package/dist/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
- package/dist/custom_auth/controller/CustomAuthStandardController.d.ts +25 -0
- package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
- package/dist/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
- package/dist/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
- package/dist/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
- package/dist/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +28 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts +27 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
- package/dist/custom_auth/core/error/CustomAuthApiError.d.ts +19 -0
- package/dist/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/CustomAuthError.d.ts +9 -0
- package/dist/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/HttpError.d.ts +5 -0
- package/dist/custom_auth/core/error/HttpError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
- package/dist/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
- package/dist/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
- package/dist/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
- package/dist/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
- package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
- package/dist/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
- package/dist/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/MsalCustomAuthError.d.ts +6 -0
- package/dist/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
- package/dist/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
- package/dist/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
- package/dist/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
- package/dist/custom_auth/core/error/UnexpectedError.d.ts +5 -0
- package/dist/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
- package/dist/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
- package/dist/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
- package/dist/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
- package/dist/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
- package/dist/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
- package/dist/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +24 -0
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
- package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +14 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +12 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +12 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +9 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +31 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +29 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +20 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +22 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +65 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +45 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +10 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +21 -0
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
- package/dist/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
- package/dist/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
- package/dist/custom_auth/core/utils/UrlUtils.d.ts +3 -0
- package/dist/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
- package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +12 -0
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +12 -0
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +12 -0
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
- package/dist/custom_auth/index.d.ts +69 -0
- package/dist/custom_auth/index.d.ts.map +1 -0
- package/dist/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
- package/dist/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +55 -0
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +23 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +7 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +7 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +12 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +15 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
- package/dist/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
- package/dist/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
- package/dist/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
- package/dist/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +50 -0
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +54 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +25 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +21 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +20 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +29 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +8 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +13 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +7 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +17 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +6 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +20 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +48 -0
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +29 -0
- package/dist/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +30 -0
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +87 -0
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +21 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +28 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +7 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +7 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +12 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +20 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
- package/dist/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
- package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
- package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.d.ts +1 -0
- package/dist/error/BrowserAuthError.d.ts.map +1 -1
- package/dist/error/BrowserAuthError.mjs +3 -2
- package/dist/error/BrowserAuthError.mjs.map +1 -1
- package/dist/error/BrowserAuthErrorCodes.d.ts +1 -0
- package/dist/error/BrowserAuthErrorCodes.d.ts.map +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +4 -3
- package/dist/error/BrowserAuthErrorCodes.mjs.map +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +2 -2
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.d.ts +1 -1
- package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +6 -6
- package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +9 -9
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +2 -2
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +8 -3
- package/dist/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +2 -2
- package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +3 -2
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +3 -3
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +2 -2
- package/dist/navigation/NavigationClient.d.ts.map +1 -1
- package/dist/navigation/NavigationClient.mjs +6 -3
- package/dist/navigation/NavigationClient.mjs.map +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -5
- package/dist/utils/BrowserConstants.mjs.map +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/lib/custom-auth-path/msal-custom-auth.cjs +20624 -0
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -0
- package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts +55 -0
- package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts.map +1 -0
- package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts +297 -0
- package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts.map +1 -0
- package/lib/custom-auth-path/types/app/PublicClientNext.d.ts +278 -0
- package/lib/custom-auth-path/types/app/PublicClientNext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts +26 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthRequest.d.ts +78 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/AccountManager.d.ts +49 -0
- package/lib/custom-auth-path/types/cache/AccountManager.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts +51 -0
- package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +297 -0
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/CacheHelpers.d.ts +16 -0
- package/lib/custom-auth-path/types/cache/CacheHelpers.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/CookieStorage.d.ts +22 -0
- package/lib/custom-auth-path/types/cache/CookieStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/DatabaseStorage.d.ts +57 -0
- package/lib/custom-auth-path/types/cache/DatabaseStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts +28 -0
- package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/ITokenCache.d.ts +12 -0
- package/lib/custom-auth-path/types/cache/ITokenCache.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/IWindowStorage.d.ts +40 -0
- package/lib/custom-auth-path/types/cache/IWindowStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/LocalStorage.d.ts +49 -0
- package/lib/custom-auth-path/types/cache/LocalStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/MemoryStorage.d.ts +15 -0
- package/lib/custom-auth-path/types/cache/MemoryStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/SessionStorage.d.ts +13 -0
- package/lib/custom-auth-path/types/cache/SessionStorage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/cache/TokenCache.d.ts +78 -0
- package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -0
- package/lib/custom-auth-path/types/config/Configuration.d.ts +228 -0
- package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -0
- package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts +6 -0
- package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts.map +1 -0
- package/lib/custom-auth-path/types/controllers/IController.d.ts +59 -0
- package/lib/custom-auth-path/types/controllers/IController.d.ts.map +1 -0
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts +203 -0
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -0
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts +425 -0
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -0
- package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts +86 -0
- package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts.map +1 -0
- package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts +97 -0
- package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts.map +1 -0
- package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts +75 -0
- package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts.map +1 -0
- package/lib/custom-auth-path/types/crypto/PkceGenerator.d.ts +9 -0
- package/lib/custom-auth-path/types/crypto/PkceGenerator.d.ts.map +1 -0
- package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts +31 -0
- package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/CustomAuthActionInputs.d.ts +26 -0
- package/lib/custom-auth-path/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +33 -0
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
- package/lib/custom-auth-path/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
- package/lib/custom-auth-path/types/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts +25 -0
- package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
- package/lib/custom-auth-path/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
- package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +28 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +27 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthApiError.d.ts +19 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthError.d.ts +9 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/HttpError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/HttpError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/MsalCustomAuthError.d.ts +6 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UnexpectedError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
- package/lib/custom-auth-path/types/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +24 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +14 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +9 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +31 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +29 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +20 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +22 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +65 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +45 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +10 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts +21 -0
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
- package/lib/custom-auth-path/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/utils/UrlUtils.d.ts +3 -0
- package/lib/custom-auth-path/types/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/index.d.ts +69 -0
- package/lib/custom-auth-path/types/custom_auth/index.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
- package/lib/custom-auth-path/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +55 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +23 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +15 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +50 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +54 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +25 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +21 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +20 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +29 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +8 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +13 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +17 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +6 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +20 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +48 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +29 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +30 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +87 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +21 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +28 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +12 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +20 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/encode/Base64Decode.d.ts +15 -0
- package/lib/custom-auth-path/types/encode/Base64Decode.d.ts.map +1 -0
- package/lib/custom-auth-path/types/encode/Base64Encode.d.ts +20 -0
- package/lib/custom-auth-path/types/encode/Base64Encode.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts +257 -0
- package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/BrowserAuthErrorCodes.d.ts +52 -0
- package/lib/custom-auth-path/types/error/BrowserAuthErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts +34 -0
- package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
- package/lib/custom-auth-path/types/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/NativeAuthError.d.ts +30 -0
- package/lib/custom-auth-path/types/error/NativeAuthError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts +3 -0
- package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts +15 -0
- package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/event/EventHandler.d.ts +49 -0
- package/lib/custom-auth-path/types/event/EventHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/event/EventMessage.d.ts +40 -0
- package/lib/custom-auth-path/types/event/EventMessage.d.ts.map +1 -0
- package/lib/custom-auth-path/types/event/EventType.d.ts +31 -0
- package/lib/custom-auth-path/types/event/EventType.d.ts.map +1 -0
- package/lib/custom-auth-path/types/index.d.ts +45 -0
- package/lib/custom-auth-path/types/index.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts +59 -0
- package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
- package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +149 -0
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts +120 -0
- package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts +68 -0
- package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts +24 -0
- package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/SilentCacheClient.d.ts +17 -0
- package/lib/custom-auth-path/types/interaction_client/SilentCacheClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts +43 -0
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/SilentRefreshClient.d.ts +32 -0
- package/lib/custom-auth-path/types/interaction_client/SilentRefreshClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts +64 -0
- package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts +33 -0
- package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts +16 -0
- package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/AccountInfo.d.ts +12 -0
- package/lib/custom-auth-path/types/naa/AccountInfo.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/AuthBridge.d.ts +9 -0
- package/lib/custom-auth-path/types/naa/AuthBridge.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/AuthResult.d.ts +7 -0
- package/lib/custom-auth-path/types/naa/AuthResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeAccountContext.d.ts +13 -0
- package/lib/custom-auth-path/types/naa/BridgeAccountContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeCapabilities.d.ts +4 -0
- package/lib/custom-auth-path/types/naa/BridgeCapabilities.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeError.d.ts +10 -0
- package/lib/custom-auth-path/types/naa/BridgeError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeProxy.d.ts +69 -0
- package/lib/custom-auth-path/types/naa/BridgeProxy.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeRequest.d.ts +8 -0
- package/lib/custom-auth-path/types/naa/BridgeRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeRequestEnvelope.d.ts +13 -0
- package/lib/custom-auth-path/types/naa/BridgeRequestEnvelope.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeResponseEnvelope.d.ts +14 -0
- package/lib/custom-auth-path/types/naa/BridgeResponseEnvelope.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/BridgeStatusCode.d.ts +12 -0
- package/lib/custom-auth-path/types/naa/BridgeStatusCode.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/IBridgeProxy.d.ts +11 -0
- package/lib/custom-auth-path/types/naa/IBridgeProxy.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/InitContext.d.ts +9 -0
- package/lib/custom-auth-path/types/naa/InitContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/TokenRequest.d.ts +19 -0
- package/lib/custom-auth-path/types/naa/TokenRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/TokenResponse.d.ts +14 -0
- package/lib/custom-auth-path/types/naa/TokenResponse.d.ts.map +1 -0
- package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
- package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
- package/lib/custom-auth-path/types/navigation/INavigationClient.d.ts +17 -0
- package/lib/custom-auth-path/types/navigation/INavigationClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/navigation/NavigationClient.d.ts +23 -0
- package/lib/custom-auth-path/types/navigation/NavigationClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/navigation/NavigationOptions.d.ts +13 -0
- package/lib/custom-auth-path/types/navigation/NavigationOptions.d.ts.map +1 -0
- package/lib/custom-auth-path/types/network/FetchClient.d.ts +21 -0
- package/lib/custom-auth-path/types/network/FetchClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts +42 -0
- package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts +40 -0
- package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts +26 -0
- package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/operatingcontext/UnknownOperatingContext.d.ts +26 -0
- package/lib/custom-auth-path/types/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
- package/lib/custom-auth-path/types/packageMetadata.d.ts +3 -0
- package/lib/custom-auth-path/types/packageMetadata.d.ts.map +1 -0
- package/lib/custom-auth-path/types/protocol/Authorize.d.ts +65 -0
- package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts +9 -0
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts +7 -0
- package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts +11 -0
- package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts +21 -0
- package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts +16 -0
- package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts +9 -0
- package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts +36 -0
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/PopupWindowAttributes.d.ts +16 -0
- package/lib/custom-auth-path/types/request/PopupWindowAttributes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +40 -0
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/RequestHelpers.d.ts +14 -0
- package/lib/custom-auth-path/types/request/RequestHelpers.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts +33 -0
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +28 -0
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts.map +1 -0
- package/lib/custom-auth-path/types/response/AuthenticationResult.d.ts +5 -0
- package/lib/custom-auth-path/types/response/AuthenticationResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/response/ResponseHandler.d.ts +8 -0
- package/lib/custom-auth-path/types/response/ResponseHandler.d.ts.map +1 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts +35 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
- package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts +184 -0
- package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts.map +1 -0
- package/lib/custom-auth-path/types/utils/BrowserProtocolUtils.d.ts +12 -0
- package/lib/custom-auth-path/types/utils/BrowserProtocolUtils.d.ts.map +1 -0
- package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts +76 -0
- package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts.map +1 -0
- package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts +3 -0
- package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts.map +1 -0
- package/lib/msal-browser.cjs +467 -366
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +467 -366
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +68 -68
- package/lib/types/cache/AccountManager.d.ts +7 -7
- package/lib/types/cache/AccountManager.d.ts.map +1 -1
- package/lib/types/cache/BrowserCacheManager.d.ts +40 -25
- package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/types/cache/IWindowStorage.d.ts +1 -1
- package/lib/types/cache/IWindowStorage.d.ts.map +1 -1
- package/lib/types/cache/LocalStorage.d.ts +1 -1
- package/lib/types/cache/LocalStorage.d.ts.map +1 -1
- package/lib/types/cache/TokenCache.d.ts.map +1 -1
- package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthActionInputs.d.ts +26 -0
- package/lib/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +33 -0
- package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -0
- package/lib/types/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
- package/lib/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/types/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
- package/lib/types/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/types/custom_auth/UserAccountAttributes.d.ts +12 -0
- package/lib/types/custom_auth/UserAccountAttributes.d.ts.map +1 -0
- package/lib/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +12 -0
- package/lib/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
- package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts +25 -0
- package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
- package/lib/types/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
- package/lib/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
- package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
- package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +28 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +27 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/CustomAuthApiError.d.ts +19 -0
- package/lib/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/CustomAuthError.d.ts +9 -0
- package/lib/types/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/HttpError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/HttpError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
- package/lib/types/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
- package/lib/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/MsalCustomAuthError.d.ts +6 -0
- package/lib/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
- package/lib/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/UnexpectedError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
- package/lib/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
- package/lib/types/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +24 -0
- package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
- package/lib/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +14 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +12 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +12 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +9 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +31 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +29 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +20 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +22 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +65 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +45 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +10 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
- package/lib/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
- package/lib/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +21 -0
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
- package/lib/types/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
- package/lib/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
- package/lib/types/custom_auth/core/utils/UrlUtils.d.ts +3 -0
- package/lib/types/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
- package/lib/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
- package/lib/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
- package/lib/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
- package/lib/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
- package/lib/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +12 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +12 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +12 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
- package/lib/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
- package/lib/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
- package/lib/types/custom_auth/index.d.ts +69 -0
- package/lib/types/custom_auth/index.d.ts.map +1 -0
- package/lib/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
- package/lib/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +55 -0
- package/lib/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +23 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +7 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +7 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +12 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +15 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
- package/lib/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
- package/lib/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
- package/lib/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
- package/lib/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
- package/lib/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +50 -0
- package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +54 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +25 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +21 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +20 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +29 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +8 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +13 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +7 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +17 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +6 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +20 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +48 -0
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +29 -0
- package/lib/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +30 -0
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +87 -0
- package/lib/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +21 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +28 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +7 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +7 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +12 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +20 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
- package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
- package/lib/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
- package/lib/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
- package/lib/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
- package/lib/types/error/BrowserAuthError.d.ts +1 -0
- package/lib/types/error/BrowserAuthError.d.ts.map +1 -1
- package/lib/types/error/BrowserAuthErrorCodes.d.ts +1 -0
- package/lib/types/error/BrowserAuthErrorCodes.d.ts.map +1 -1
- package/lib/types/interaction_client/BaseInteractionClient.d.ts +1 -1
- package/lib/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/lib/types/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/lib/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/lib/types/navigation/NavigationClient.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +12 -2
- package/src/cache/AccountManager.ts +40 -20
- package/src/cache/BrowserCacheManager.ts +323 -202
- package/src/cache/IWindowStorage.ts +6 -1
- package/src/cache/LocalStorage.ts +4 -1
- package/src/cache/TokenCache.ts +1 -0
- package/src/controllers/NestedAppAuthController.ts +31 -9
- package/src/controllers/StandardController.ts +25 -6
- package/src/custom_auth/CustomAuthActionInputs.ts +37 -0
- package/src/custom_auth/CustomAuthConstants.ts +50 -0
- package/src/custom_auth/CustomAuthPublicClientApplication.ts +158 -0
- package/src/custom_auth/ICustomAuthPublicClientApplication.ts +51 -0
- package/src/custom_auth/UserAccountAttributes.ts +16 -0
- package/src/custom_auth/configuration/CustomAuthConfiguration.ts +22 -0
- package/src/custom_auth/controller/CustomAuthStandardController.ts +509 -0
- package/src/custom_auth/controller/ICustomAuthStandardController.ts +53 -0
- package/src/custom_auth/core/CustomAuthAuthority.ts +112 -0
- package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +140 -0
- package/src/custom_auth/core/auth_flow/AuthFlowResultBase.ts +55 -0
- package/src/custom_auth/core/auth_flow/AuthFlowState.ts +73 -0
- package/src/custom_auth/core/error/CustomAuthApiError.ts +41 -0
- package/src/custom_auth/core/error/CustomAuthError.ts +20 -0
- package/src/custom_auth/core/error/HttpError.ts +13 -0
- package/src/custom_auth/core/error/HttpErrorCodes.ts +7 -0
- package/src/custom_auth/core/error/InvalidArgumentError.ts +15 -0
- package/src/custom_auth/core/error/InvalidConfigurationError.ts +13 -0
- package/src/custom_auth/core/error/InvalidConfigurationErrorCodes.ts +8 -0
- package/src/custom_auth/core/error/MethodNotImplementedError.ts +15 -0
- package/src/custom_auth/core/error/MsalCustomAuthError.ts +22 -0
- package/src/custom_auth/core/error/NoCachedAccountFoundError.ts +17 -0
- package/src/custom_auth/core/error/ParsedUrlError.ts +13 -0
- package/src/custom_auth/core/error/ParsedUrlErrorCodes.ts +6 -0
- package/src/custom_auth/core/error/UnexpectedError.ts +25 -0
- package/src/custom_auth/core/error/UnsupportedEnvironmentError.ts +17 -0
- package/src/custom_auth/core/error/UserAccountAttributeError.ts +15 -0
- package/src/custom_auth/core/error/UserAccountAttributeErrorCodes.ts +6 -0
- package/src/custom_auth/core/error/UserAlreadySignedInError.ts +17 -0
- package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +92 -0
- package/src/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.ts +57 -0
- package/src/custom_auth/core/network_client/custom_auth_api/BaseApiClient.ts +168 -0
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts +38 -0
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +18 -0
- package/src/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.ts +13 -0
- package/src/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.ts +172 -0
- package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +186 -0
- package/src/custom_auth/core/network_client/custom_auth_api/SignupApiClient.ts +141 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.ts +26 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.ts +36 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +91 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +66 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +14 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.ts +15 -0
- package/src/custom_auth/core/network_client/http_client/FetchHttpClient.ts +86 -0
- package/src/custom_auth/core/network_client/http_client/IHttpClient.ts +54 -0
- package/src/custom_auth/core/telemetry/PublicApiId.ts +37 -0
- package/src/custom_auth/core/utils/ArgumentValidator.ts +26 -0
- package/src/custom_auth/core/utils/UrlUtils.ts +25 -0
- package/src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts +185 -0
- package/src/custom_auth/get_account/auth_flow/error_type/GetAccountError.ts +45 -0
- package/src/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.ts +72 -0
- package/src/custom_auth/get_account/auth_flow/result/GetAccountResult.ts +69 -0
- package/src/custom_auth/get_account/auth_flow/result/SignOutResult.ts +62 -0
- package/src/custom_auth/get_account/auth_flow/state/GetAccessTokenState.ts +16 -0
- package/src/custom_auth/get_account/auth_flow/state/GetAccountState.ts +16 -0
- package/src/custom_auth/get_account/auth_flow/state/SignOutState.ts +16 -0
- package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +215 -0
- package/src/custom_auth/index.ts +185 -0
- package/src/custom_auth/operating_context/CustomAuthOperatingContext.ts +43 -0
- package/src/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.ts +96 -0
- package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.ts +76 -0
- package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.ts +70 -0
- package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.ts +70 -0
- package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.ts +65 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.ts +130 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.ts +11 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.ts +11 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.ts +73 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordState.ts +29 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.ts +25 -0
- package/src/custom_auth/reset_password/interaction_client/ResetPasswordClient.ts +311 -0
- package/src/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.ts +28 -0
- package/src/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.ts +21 -0
- package/src/custom_auth/sign_in/auth_flow/SignInScenario.ts +12 -0
- package/src/custom_auth/sign_in/auth_flow/error_type/SignInError.ts +79 -0
- package/src/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.ts +67 -0
- package/src/custom_auth/sign_in/auth_flow/result/SignInResult.ts +87 -0
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.ts +44 -0
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.ts +43 -0
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.ts +41 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +141 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInCompletedState.ts +12 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +71 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInFailedState.ts +11 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +83 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInState.ts +34 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInStateParameters.ts +32 -0
- package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +396 -0
- package/src/custom_auth/sign_in/interaction_client/parameter/SignInParams.ts +39 -0
- package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +65 -0
- package/src/custom_auth/sign_up/auth_flow/error_type/SignUpError.ts +138 -0
- package/src/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.ts +70 -0
- package/src/custom_auth/sign_up/auth_flow/result/SignUpResult.ts +88 -0
- package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.ts +70 -0
- package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.ts +90 -0
- package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.ts +80 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts +115 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts +196 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.ts +11 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpFailedState.ts +11 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.ts +112 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpState.ts +34 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.ts +31 -0
- package/src/custom_auth/sign_up/interaction_client/SignUpClient.ts +496 -0
- package/src/custom_auth/sign_up/interaction_client/parameter/SignUpParams.ts +36 -0
- package/src/custom_auth/sign_up/interaction_client/result/SignUpActionResult.ts +77 -0
- package/src/error/BrowserAuthError.ts +1 -0
- package/src/error/BrowserAuthErrorCodes.ts +1 -0
- package/src/interaction_client/BaseInteractionClient.ts +5 -4
- package/src/interaction_client/PlatformAuthInteractionClient.ts +19 -12
- package/src/interaction_client/PopupClient.ts +4 -1
- package/src/interaction_client/RedirectClient.ts +14 -1
- package/src/interaction_client/SilentCacheClient.ts +4 -1
- package/src/interaction_client/StandardInteractionClient.ts +2 -1
- package/src/navigation/NavigationClient.ts +11 -2
- package/src/packageMetadata.ts +1 -1
package/lib/msal-browser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.14.0 2025-07-01 */
|
|
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.0 2025-07-01 */
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
12
|
* Licensed under the MIT License.
|
|
@@ -151,7 +151,6 @@
|
|
|
151
151
|
*/
|
|
152
152
|
const OAuthResponseType = {
|
|
153
153
|
CODE: "code",
|
|
154
|
-
IDTOKEN_TOKEN: "id_token token",
|
|
155
154
|
IDTOKEN_TOKEN_REFRESHTOKEN: "id_token token refresh_token",
|
|
156
155
|
};
|
|
157
156
|
/**
|
|
@@ -166,29 +165,19 @@
|
|
|
166
165
|
* allowed values for response_mode
|
|
167
166
|
*/
|
|
168
167
|
const ResponseMode = {
|
|
169
|
-
QUERY: "query"
|
|
170
|
-
FRAGMENT: "fragment",
|
|
171
|
-
FORM_POST: "form_post",
|
|
172
|
-
};
|
|
168
|
+
QUERY: "query"};
|
|
173
169
|
/**
|
|
174
170
|
* allowed grant_type
|
|
175
171
|
*/
|
|
176
172
|
const GrantType = {
|
|
177
|
-
IMPLICIT_GRANT: "implicit",
|
|
178
173
|
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
|
-
};
|
|
174
|
+
REFRESH_TOKEN_GRANT: "refresh_token"};
|
|
185
175
|
/**
|
|
186
176
|
* Account types in Cache
|
|
187
177
|
*/
|
|
188
178
|
const CacheAccountType = {
|
|
189
179
|
MSSTS_ACCOUNT_TYPE: "MSSTS",
|
|
190
180
|
ADFS_ACCOUNT_TYPE: "ADFS",
|
|
191
|
-
MSAV1_ACCOUNT_TYPE: "MSA",
|
|
192
181
|
GENERIC_ACCOUNT_TYPE: "Generic", // NTLM, Kerberos, FBA, Basic etc
|
|
193
182
|
};
|
|
194
183
|
/**
|
|
@@ -225,7 +214,6 @@
|
|
|
225
214
|
};
|
|
226
215
|
const SERVER_TELEM_CONSTANTS = {
|
|
227
216
|
SCHEMA_VERSION: 5,
|
|
228
|
-
MAX_CUR_HEADER_BYTES: 80,
|
|
229
217
|
MAX_LAST_HEADER_BYTES: 330,
|
|
230
218
|
MAX_CACHED_ERRORS: 50,
|
|
231
219
|
CACHE_KEY: "server-telemetry",
|
|
@@ -273,9 +261,7 @@
|
|
|
273
261
|
* Region Discovery Outcomes
|
|
274
262
|
*/
|
|
275
263
|
const RegionDiscoveryOutcomes = {
|
|
276
|
-
CONFIGURED_MATCHES_DETECTED: "1",
|
|
277
264
|
CONFIGURED_NO_AUTO_DETECTION: "2",
|
|
278
|
-
CONFIGURED_NOT_DETECTED: "3",
|
|
279
265
|
AUTO_DETECTION_REQUESTED_SUCCESSFUL: "4",
|
|
280
266
|
AUTO_DETECTION_REQUESTED_FAILED: "5",
|
|
281
267
|
};
|
|
@@ -302,7 +288,7 @@
|
|
|
302
288
|
// Token renewal offset default in seconds
|
|
303
289
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
304
290
|
|
|
305
|
-
/*! @azure/msal-common v15.
|
|
291
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
306
292
|
/*
|
|
307
293
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
308
294
|
* Licensed under the MIT License.
|
|
@@ -319,7 +305,7 @@
|
|
|
319
305
|
unexpectedError: unexpectedError
|
|
320
306
|
});
|
|
321
307
|
|
|
322
|
-
/*! @azure/msal-common v15.
|
|
308
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
323
309
|
|
|
324
310
|
/*
|
|
325
311
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -368,7 +354,7 @@
|
|
|
368
354
|
: AuthErrorMessages[code]);
|
|
369
355
|
}
|
|
370
356
|
|
|
371
|
-
/*! @azure/msal-common v15.
|
|
357
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
372
358
|
/*
|
|
373
359
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
374
360
|
* Licensed under the MIT License.
|
|
@@ -466,7 +452,7 @@
|
|
|
466
452
|
userTimeoutReached: userTimeoutReached
|
|
467
453
|
});
|
|
468
454
|
|
|
469
|
-
/*! @azure/msal-common v15.
|
|
455
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
470
456
|
|
|
471
457
|
/*
|
|
472
458
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -718,7 +704,7 @@
|
|
|
718
704
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
719
705
|
}
|
|
720
706
|
|
|
721
|
-
/*! @azure/msal-common v15.
|
|
707
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
722
708
|
|
|
723
709
|
/*
|
|
724
710
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -757,7 +743,7 @@
|
|
|
757
743
|
},
|
|
758
744
|
};
|
|
759
745
|
|
|
760
|
-
/*! @azure/msal-common v15.
|
|
746
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
761
747
|
|
|
762
748
|
/*
|
|
763
749
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -948,12 +934,12 @@
|
|
|
948
934
|
}
|
|
949
935
|
}
|
|
950
936
|
|
|
951
|
-
/*! @azure/msal-common v15.
|
|
937
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
952
938
|
/* eslint-disable header/header */
|
|
953
939
|
const name$1 = "@azure/msal-common";
|
|
954
|
-
const version$1 = "15.
|
|
940
|
+
const version$1 = "15.8.0";
|
|
955
941
|
|
|
956
|
-
/*! @azure/msal-common v15.
|
|
942
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
957
943
|
/*
|
|
958
944
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
959
945
|
* Licensed under the MIT License.
|
|
@@ -973,7 +959,7 @@
|
|
|
973
959
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
974
960
|
};
|
|
975
961
|
|
|
976
|
-
/*! @azure/msal-common v15.
|
|
962
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
977
963
|
|
|
978
964
|
/*
|
|
979
965
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1034,7 +1020,7 @@
|
|
|
1034
1020
|
}
|
|
1035
1021
|
}
|
|
1036
1022
|
|
|
1037
|
-
/*! @azure/msal-common v15.
|
|
1023
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1038
1024
|
/*
|
|
1039
1025
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1040
1026
|
* Licensed under the MIT License.
|
|
@@ -1089,7 +1075,7 @@
|
|
|
1089
1075
|
return cachedAtSec > nowSeconds();
|
|
1090
1076
|
}
|
|
1091
1077
|
|
|
1092
|
-
/*! @azure/msal-common v15.
|
|
1078
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1093
1079
|
|
|
1094
1080
|
/*
|
|
1095
1081
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1416,7 +1402,7 @@
|
|
|
1416
1402
|
return metadata.expiresAt <= nowSeconds();
|
|
1417
1403
|
}
|
|
1418
1404
|
|
|
1419
|
-
/*! @azure/msal-common v15.
|
|
1405
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1420
1406
|
/*
|
|
1421
1407
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1422
1408
|
* Licensed under the MIT License.
|
|
@@ -1470,7 +1456,7 @@
|
|
|
1470
1456
|
urlParseError: urlParseError
|
|
1471
1457
|
});
|
|
1472
1458
|
|
|
1473
|
-
/*! @azure/msal-common v15.
|
|
1459
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1474
1460
|
|
|
1475
1461
|
/*
|
|
1476
1462
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1608,7 +1594,7 @@
|
|
|
1608
1594
|
return new ClientConfigurationError(errorCode);
|
|
1609
1595
|
}
|
|
1610
1596
|
|
|
1611
|
-
/*! @azure/msal-common v15.
|
|
1597
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1612
1598
|
/*
|
|
1613
1599
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1614
1600
|
* Licensed under the MIT License.
|
|
@@ -1705,7 +1691,7 @@
|
|
|
1705
1691
|
}
|
|
1706
1692
|
}
|
|
1707
1693
|
|
|
1708
|
-
/*! @azure/msal-common v15.
|
|
1694
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1709
1695
|
|
|
1710
1696
|
/*
|
|
1711
1697
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1896,7 +1882,7 @@
|
|
|
1896
1882
|
}
|
|
1897
1883
|
}
|
|
1898
1884
|
|
|
1899
|
-
/*! @azure/msal-common v15.
|
|
1885
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1900
1886
|
|
|
1901
1887
|
/*
|
|
1902
1888
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1936,7 +1922,7 @@
|
|
|
1936
1922
|
};
|
|
1937
1923
|
}
|
|
1938
1924
|
|
|
1939
|
-
/*! @azure/msal-common v15.
|
|
1925
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
1940
1926
|
/*
|
|
1941
1927
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1942
1928
|
* Licensed under the MIT License.
|
|
@@ -2015,7 +2001,7 @@
|
|
|
2015
2001
|
return updatedAccountInfo;
|
|
2016
2002
|
}
|
|
2017
2003
|
|
|
2018
|
-
/*! @azure/msal-common v15.
|
|
2004
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2019
2005
|
/*
|
|
2020
2006
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2021
2007
|
* Licensed under the MIT License.
|
|
@@ -2030,7 +2016,7 @@
|
|
|
2030
2016
|
Ciam: 3,
|
|
2031
2017
|
};
|
|
2032
2018
|
|
|
2033
|
-
/*! @azure/msal-common v15.
|
|
2019
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2034
2020
|
/*
|
|
2035
2021
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2036
2022
|
* Licensed under the MIT License.
|
|
@@ -2052,7 +2038,7 @@
|
|
|
2052
2038
|
return null;
|
|
2053
2039
|
}
|
|
2054
2040
|
|
|
2055
|
-
/*! @azure/msal-common v15.
|
|
2041
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2056
2042
|
/*
|
|
2057
2043
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2058
2044
|
* Licensed under the MIT License.
|
|
@@ -2076,7 +2062,7 @@
|
|
|
2076
2062
|
EAR: "EAR",
|
|
2077
2063
|
};
|
|
2078
2064
|
|
|
2079
|
-
/*! @azure/msal-common v15.
|
|
2065
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2080
2066
|
|
|
2081
2067
|
/*
|
|
2082
2068
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2319,7 +2305,7 @@
|
|
|
2319
2305
|
}
|
|
2320
2306
|
}
|
|
2321
2307
|
|
|
2322
|
-
/*! @azure/msal-common v15.
|
|
2308
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2323
2309
|
|
|
2324
2310
|
/*
|
|
2325
2311
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2384,7 +2370,7 @@
|
|
|
2384
2370
|
return queryParameterArray.join("&");
|
|
2385
2371
|
}
|
|
2386
2372
|
|
|
2387
|
-
/*! @azure/msal-common v15.
|
|
2373
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2388
2374
|
|
|
2389
2375
|
/*
|
|
2390
2376
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2548,7 +2534,7 @@
|
|
|
2548
2534
|
}
|
|
2549
2535
|
}
|
|
2550
2536
|
|
|
2551
|
-
/*! @azure/msal-common v15.
|
|
2537
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2552
2538
|
|
|
2553
2539
|
/*
|
|
2554
2540
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2579,7 +2565,6 @@
|
|
|
2579
2565
|
},
|
|
2580
2566
|
},
|
|
2581
2567
|
instanceDiscoveryMetadata: {
|
|
2582
|
-
tenant_discovery_endpoint: "https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",
|
|
2583
2568
|
metadata: [
|
|
2584
2569
|
{
|
|
2585
2570
|
preferred_network: "login.microsoftonline.com",
|
|
@@ -2688,42 +2673,60 @@
|
|
|
2688
2673
|
return null;
|
|
2689
2674
|
}
|
|
2690
2675
|
|
|
2691
|
-
/*! @azure/msal-common v15.
|
|
2676
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2692
2677
|
/*
|
|
2693
2678
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2694
2679
|
* Licensed under the MIT License.
|
|
2695
2680
|
*/
|
|
2696
|
-
const
|
|
2697
|
-
const
|
|
2681
|
+
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2682
|
+
const cacheErrorUnknown = "cache_error_unknown";
|
|
2698
2683
|
|
|
2699
|
-
/*! @azure/msal-common v15.
|
|
2684
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2700
2685
|
|
|
2701
2686
|
/*
|
|
2702
2687
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2703
2688
|
* Licensed under the MIT License.
|
|
2704
2689
|
*/
|
|
2705
2690
|
const CacheErrorMessages = {
|
|
2706
|
-
[
|
|
2707
|
-
[
|
|
2691
|
+
[cacheQuotaExceeded]: "Exceeded cache storage capacity.",
|
|
2692
|
+
[cacheErrorUnknown]: "Unexpected error occurred when using cache storage.",
|
|
2708
2693
|
};
|
|
2709
2694
|
/**
|
|
2710
2695
|
* Error thrown when there is an error with the cache
|
|
2711
2696
|
*/
|
|
2712
|
-
class CacheError extends
|
|
2697
|
+
class CacheError extends AuthError {
|
|
2713
2698
|
constructor(errorCode, errorMessage) {
|
|
2714
2699
|
const message = errorMessage ||
|
|
2715
2700
|
(CacheErrorMessages[errorCode]
|
|
2716
2701
|
? CacheErrorMessages[errorCode]
|
|
2717
|
-
: CacheErrorMessages[
|
|
2702
|
+
: CacheErrorMessages[cacheErrorUnknown]);
|
|
2718
2703
|
super(`${errorCode}: ${message}`);
|
|
2719
2704
|
Object.setPrototypeOf(this, CacheError.prototype);
|
|
2720
2705
|
this.name = "CacheError";
|
|
2721
2706
|
this.errorCode = errorCode;
|
|
2722
2707
|
this.errorMessage = message;
|
|
2723
2708
|
}
|
|
2709
|
+
}
|
|
2710
|
+
/**
|
|
2711
|
+
* Helper function to wrap browser errors in a CacheError object
|
|
2712
|
+
* @param e
|
|
2713
|
+
* @returns
|
|
2714
|
+
*/
|
|
2715
|
+
function createCacheError(e) {
|
|
2716
|
+
if (!(e instanceof Error)) {
|
|
2717
|
+
return new CacheError(cacheErrorUnknown);
|
|
2718
|
+
}
|
|
2719
|
+
if (e.name === "QuotaExceededError" ||
|
|
2720
|
+
e.name === "NS_ERROR_DOM_QUOTA_REACHED" ||
|
|
2721
|
+
e.message.includes("exceeded the quota")) {
|
|
2722
|
+
return new CacheError(cacheQuotaExceeded);
|
|
2723
|
+
}
|
|
2724
|
+
else {
|
|
2725
|
+
return new CacheError(e.name, e.message);
|
|
2726
|
+
}
|
|
2724
2727
|
}
|
|
2725
2728
|
|
|
2726
|
-
/*! @azure/msal-common v15.
|
|
2729
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
2727
2730
|
|
|
2728
2731
|
/*
|
|
2729
2732
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2746,14 +2749,14 @@
|
|
|
2746
2749
|
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
|
2747
2750
|
* @returns Array of AccountInfo objects in cache
|
|
2748
2751
|
*/
|
|
2749
|
-
getAllAccounts(accountFilter) {
|
|
2750
|
-
return this.buildTenantProfiles(this.getAccountsFilteredBy(accountFilter
|
|
2752
|
+
getAllAccounts(accountFilter, correlationId) {
|
|
2753
|
+
return this.buildTenantProfiles(this.getAccountsFilteredBy(accountFilter, correlationId), correlationId, accountFilter);
|
|
2751
2754
|
}
|
|
2752
2755
|
/**
|
|
2753
2756
|
* Gets first tenanted AccountInfo object found based on provided filters
|
|
2754
2757
|
*/
|
|
2755
|
-
getAccountInfoFilteredBy(accountFilter) {
|
|
2756
|
-
const allAccounts = this.getAllAccounts(accountFilter);
|
|
2758
|
+
getAccountInfoFilteredBy(accountFilter, correlationId) {
|
|
2759
|
+
const allAccounts = this.getAllAccounts(accountFilter, correlationId);
|
|
2757
2760
|
if (allAccounts.length > 1) {
|
|
2758
2761
|
// If one or more accounts are found, prioritize accounts that have an ID token
|
|
2759
2762
|
const sortedAccounts = allAccounts.sort((account) => {
|
|
@@ -2774,8 +2777,8 @@
|
|
|
2774
2777
|
* @param accountFilter
|
|
2775
2778
|
* @returns
|
|
2776
2779
|
*/
|
|
2777
|
-
getBaseAccountInfo(accountFilter) {
|
|
2778
|
-
const accountEntities = this.getAccountsFilteredBy(accountFilter);
|
|
2780
|
+
getBaseAccountInfo(accountFilter, correlationId) {
|
|
2781
|
+
const accountEntities = this.getAccountsFilteredBy(accountFilter, correlationId);
|
|
2779
2782
|
if (accountEntities.length > 0) {
|
|
2780
2783
|
return accountEntities[0].getAccountInfo();
|
|
2781
2784
|
}
|
|
@@ -2790,12 +2793,12 @@
|
|
|
2790
2793
|
* @param accountFilter
|
|
2791
2794
|
* @returns Array of AccountInfo objects that match account and tenant profile filters
|
|
2792
2795
|
*/
|
|
2793
|
-
buildTenantProfiles(cachedAccounts, accountFilter) {
|
|
2796
|
+
buildTenantProfiles(cachedAccounts, correlationId, accountFilter) {
|
|
2794
2797
|
return cachedAccounts.flatMap((accountEntity) => {
|
|
2795
|
-
return this.getTenantProfilesFromAccountEntity(accountEntity, accountFilter?.tenantId, accountFilter);
|
|
2798
|
+
return this.getTenantProfilesFromAccountEntity(accountEntity, correlationId, accountFilter?.tenantId, accountFilter);
|
|
2796
2799
|
});
|
|
2797
2800
|
}
|
|
2798
|
-
getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, tenantProfileFilter) {
|
|
2801
|
+
getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, correlationId, tenantProfileFilter) {
|
|
2799
2802
|
let tenantedAccountInfo = null;
|
|
2800
2803
|
let idTokenClaims;
|
|
2801
2804
|
if (tenantProfileFilter) {
|
|
@@ -2803,7 +2806,7 @@
|
|
|
2803
2806
|
return null;
|
|
2804
2807
|
}
|
|
2805
2808
|
}
|
|
2806
|
-
const idToken = this.getIdToken(accountInfo, tokenKeys, tenantProfile.tenantId);
|
|
2809
|
+
const idToken = this.getIdToken(accountInfo, correlationId, tokenKeys, tenantProfile.tenantId);
|
|
2807
2810
|
if (idToken) {
|
|
2808
2811
|
idTokenClaims = extractTokenClaims(idToken.secret, this.cryptoImpl.base64Decode);
|
|
2809
2812
|
if (!this.idTokenClaimsMatchTenantProfileFilter(idTokenClaims, tenantProfileFilter)) {
|
|
@@ -2815,7 +2818,7 @@
|
|
|
2815
2818
|
tenantedAccountInfo = updateAccountTenantProfileData(accountInfo, tenantProfile, idTokenClaims, idToken?.secret);
|
|
2816
2819
|
return tenantedAccountInfo;
|
|
2817
2820
|
}
|
|
2818
|
-
getTenantProfilesFromAccountEntity(accountEntity, targetTenantId, tenantProfileFilter) {
|
|
2821
|
+
getTenantProfilesFromAccountEntity(accountEntity, correlationId, targetTenantId, tenantProfileFilter) {
|
|
2819
2822
|
const accountInfo = accountEntity.getAccountInfo();
|
|
2820
2823
|
let searchTenantProfiles = accountInfo.tenantProfiles || new Map();
|
|
2821
2824
|
const tokenKeys = this.getTokenKeys();
|
|
@@ -2835,7 +2838,7 @@
|
|
|
2835
2838
|
}
|
|
2836
2839
|
const matchingTenantProfiles = [];
|
|
2837
2840
|
searchTenantProfiles.forEach((tenantProfile) => {
|
|
2838
|
-
const tenantedAccountInfo = this.getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, tenantProfileFilter);
|
|
2841
|
+
const tenantedAccountInfo = this.getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, correlationId, tenantProfileFilter);
|
|
2839
2842
|
if (tenantedAccountInfo) {
|
|
2840
2843
|
matchingTenantProfiles.push(tenantedAccountInfo);
|
|
2841
2844
|
}
|
|
@@ -2909,26 +2912,16 @@
|
|
|
2909
2912
|
await this.setRefreshTokenCredential(cacheRecord.refreshToken, correlationId);
|
|
2910
2913
|
}
|
|
2911
2914
|
if (!!cacheRecord.appMetadata) {
|
|
2912
|
-
this.setAppMetadata(cacheRecord.appMetadata);
|
|
2915
|
+
this.setAppMetadata(cacheRecord.appMetadata, correlationId);
|
|
2913
2916
|
}
|
|
2914
2917
|
}
|
|
2915
2918
|
catch (e) {
|
|
2916
2919
|
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
|
-
}
|
|
2920
|
+
if (e instanceof AuthError) {
|
|
2921
|
+
throw e;
|
|
2928
2922
|
}
|
|
2929
2923
|
else {
|
|
2930
|
-
|
|
2931
|
-
throw new CacheError(cacheUnknownErrorCode);
|
|
2924
|
+
throw createCacheError(e);
|
|
2932
2925
|
}
|
|
2933
2926
|
}
|
|
2934
2927
|
}
|
|
@@ -2952,7 +2945,7 @@
|
|
|
2952
2945
|
if (!this.accessTokenKeyMatchesFilter(key, accessTokenFilter, false)) {
|
|
2953
2946
|
return;
|
|
2954
2947
|
}
|
|
2955
|
-
const tokenEntity = this.getAccessTokenCredential(key);
|
|
2948
|
+
const tokenEntity = this.getAccessTokenCredential(key, correlationId);
|
|
2956
2949
|
if (tokenEntity &&
|
|
2957
2950
|
this.credentialMatchesFilter(tokenEntity, accessTokenFilter)) {
|
|
2958
2951
|
const tokenScopeSet = ScopeSet.fromString(tokenEntity.target);
|
|
@@ -2968,7 +2961,7 @@
|
|
|
2968
2961
|
* Not checking for casing as keys are all generated in lower case, remember to convert to lower case if object properties are compared
|
|
2969
2962
|
* @param accountFilter - An object containing Account properties to filter by
|
|
2970
2963
|
*/
|
|
2971
|
-
getAccountsFilteredBy(accountFilter) {
|
|
2964
|
+
getAccountsFilteredBy(accountFilter, correlationId) {
|
|
2972
2965
|
const allAccountKeys = this.getAccountKeys();
|
|
2973
2966
|
const matchingAccounts = [];
|
|
2974
2967
|
allAccountKeys.forEach((cacheKey) => {
|
|
@@ -2976,7 +2969,7 @@
|
|
|
2976
2969
|
// Don't parse value if the key doesn't match the account filters
|
|
2977
2970
|
return;
|
|
2978
2971
|
}
|
|
2979
|
-
const entity = this.getAccount(cacheKey,
|
|
2972
|
+
const entity = this.getAccount(cacheKey, correlationId);
|
|
2980
2973
|
// Match base account fields
|
|
2981
2974
|
if (!entity) {
|
|
2982
2975
|
return;
|
|
@@ -3213,12 +3206,12 @@
|
|
|
3213
3206
|
* @param account
|
|
3214
3207
|
*/
|
|
3215
3208
|
removeAccount(accountKey, correlationId) {
|
|
3216
|
-
const account = this.getAccount(accountKey,
|
|
3209
|
+
const account = this.getAccount(accountKey, correlationId);
|
|
3217
3210
|
if (!account) {
|
|
3218
3211
|
return;
|
|
3219
3212
|
}
|
|
3220
3213
|
this.removeAccountContext(account, correlationId);
|
|
3221
|
-
this.removeItem(accountKey);
|
|
3214
|
+
this.removeItem(accountKey, correlationId);
|
|
3222
3215
|
}
|
|
3223
3216
|
/**
|
|
3224
3217
|
* Removes credentials associated with the provided account
|
|
@@ -3229,7 +3222,7 @@
|
|
|
3229
3222
|
const accountId = account.generateAccountId();
|
|
3230
3223
|
allTokenKeys.idToken.forEach((key) => {
|
|
3231
3224
|
if (key.indexOf(accountId) === 0) {
|
|
3232
|
-
this.removeIdToken(key);
|
|
3225
|
+
this.removeIdToken(key, correlationId);
|
|
3233
3226
|
}
|
|
3234
3227
|
});
|
|
3235
3228
|
allTokenKeys.accessToken.forEach((key) => {
|
|
@@ -3239,45 +3232,43 @@
|
|
|
3239
3232
|
});
|
|
3240
3233
|
allTokenKeys.refreshToken.forEach((key) => {
|
|
3241
3234
|
if (key.indexOf(accountId) === 0) {
|
|
3242
|
-
this.removeRefreshToken(key);
|
|
3235
|
+
this.removeRefreshToken(key, correlationId);
|
|
3243
3236
|
}
|
|
3244
3237
|
});
|
|
3245
3238
|
}
|
|
3246
3239
|
/**
|
|
3247
|
-
*
|
|
3248
|
-
* @param
|
|
3240
|
+
* Removes accessToken from the cache
|
|
3241
|
+
* @param key
|
|
3242
|
+
* @param correlationId
|
|
3249
3243
|
*/
|
|
3250
3244
|
removeAccessToken(key, correlationId) {
|
|
3251
|
-
const credential = this.getAccessTokenCredential(key);
|
|
3252
|
-
|
|
3245
|
+
const credential = this.getAccessTokenCredential(key, correlationId);
|
|
3246
|
+
this.removeItem(key, correlationId);
|
|
3247
|
+
this.performanceClient.incrementFields({ accessTokensRemoved: 1 }, correlationId);
|
|
3248
|
+
if (!credential ||
|
|
3249
|
+
credential.credentialType.toLowerCase() !==
|
|
3250
|
+
CredentialType.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase() ||
|
|
3251
|
+
credential.tokenType !== AuthenticationScheme.POP) {
|
|
3252
|
+
// If the credential is not a PoP token, we can return
|
|
3253
3253
|
return;
|
|
3254
3254
|
}
|
|
3255
|
-
this.removeItem(key);
|
|
3256
3255
|
// 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
|
-
}
|
|
3256
|
+
const kid = credential.keyId;
|
|
3257
|
+
if (kid) {
|
|
3258
|
+
void this.cryptoImpl.removeTokenBindingKey(kid).catch(() => {
|
|
3259
|
+
this.commonLogger.error(`Failed to remove token binding key ${kid}`, correlationId);
|
|
3260
|
+
this.performanceClient?.incrementFields({ removeTokenBindingKeyFailure: 1 }, correlationId);
|
|
3261
|
+
});
|
|
3271
3262
|
}
|
|
3272
3263
|
}
|
|
3273
3264
|
/**
|
|
3274
3265
|
* Removes all app metadata objects from cache.
|
|
3275
3266
|
*/
|
|
3276
|
-
removeAppMetadata() {
|
|
3267
|
+
removeAppMetadata(correlationId) {
|
|
3277
3268
|
const allCacheKeys = this.getKeys();
|
|
3278
3269
|
allCacheKeys.forEach((cacheKey) => {
|
|
3279
3270
|
if (this.isAppMetadata(cacheKey)) {
|
|
3280
|
-
this.removeItem(cacheKey);
|
|
3271
|
+
this.removeItem(cacheKey, correlationId);
|
|
3281
3272
|
}
|
|
3282
3273
|
});
|
|
3283
3274
|
return true;
|
|
@@ -3286,9 +3277,9 @@
|
|
|
3286
3277
|
* Retrieve AccountEntity from cache
|
|
3287
3278
|
* @param account
|
|
3288
3279
|
*/
|
|
3289
|
-
readAccountFromCache(account) {
|
|
3280
|
+
readAccountFromCache(account, correlationId) {
|
|
3290
3281
|
const accountKey = AccountEntity.generateAccountCacheKey(account);
|
|
3291
|
-
return this.getAccount(accountKey,
|
|
3282
|
+
return this.getAccount(accountKey, correlationId);
|
|
3292
3283
|
}
|
|
3293
3284
|
/**
|
|
3294
3285
|
* Retrieve IdTokenEntity from cache
|
|
@@ -3298,7 +3289,7 @@
|
|
|
3298
3289
|
* @param performanceClient {?IPerformanceClient}
|
|
3299
3290
|
* @param correlationId {?string}
|
|
3300
3291
|
*/
|
|
3301
|
-
getIdToken(account, tokenKeys, targetRealm, performanceClient
|
|
3292
|
+
getIdToken(account, correlationId, tokenKeys, targetRealm, performanceClient) {
|
|
3302
3293
|
this.commonLogger.trace("CacheManager - getIdToken called");
|
|
3303
3294
|
const idTokenFilter = {
|
|
3304
3295
|
homeAccountId: account.homeAccountId,
|
|
@@ -3307,7 +3298,7 @@
|
|
|
3307
3298
|
clientId: this.clientId,
|
|
3308
3299
|
realm: targetRealm,
|
|
3309
3300
|
};
|
|
3310
|
-
const idTokenMap = this.getIdTokensByFilter(idTokenFilter, tokenKeys);
|
|
3301
|
+
const idTokenMap = this.getIdTokensByFilter(idTokenFilter, correlationId, tokenKeys);
|
|
3311
3302
|
const numIdTokens = idTokenMap.size;
|
|
3312
3303
|
if (numIdTokens < 1) {
|
|
3313
3304
|
this.commonLogger.info("CacheManager:getIdToken - No token found");
|
|
@@ -3340,7 +3331,7 @@
|
|
|
3340
3331
|
// Multiple tokens for a single tenant profile, remove all and return null
|
|
3341
3332
|
this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them");
|
|
3342
3333
|
tokensToBeRemoved.forEach((idToken, key) => {
|
|
3343
|
-
this.removeIdToken(key);
|
|
3334
|
+
this.removeIdToken(key, correlationId);
|
|
3344
3335
|
});
|
|
3345
3336
|
if (performanceClient && correlationId) {
|
|
3346
3337
|
performanceClient.addFields({ multiMatchedID: idTokenMap.size }, correlationId);
|
|
@@ -3355,7 +3346,7 @@
|
|
|
3355
3346
|
* @param filter
|
|
3356
3347
|
* @returns
|
|
3357
3348
|
*/
|
|
3358
|
-
getIdTokensByFilter(filter, tokenKeys) {
|
|
3349
|
+
getIdTokensByFilter(filter, correlationId, tokenKeys) {
|
|
3359
3350
|
const idTokenKeys = (tokenKeys && tokenKeys.idToken) || this.getTokenKeys().idToken;
|
|
3360
3351
|
const idTokens = new Map();
|
|
3361
3352
|
idTokenKeys.forEach((key) => {
|
|
@@ -3365,7 +3356,7 @@
|
|
|
3365
3356
|
})) {
|
|
3366
3357
|
return;
|
|
3367
3358
|
}
|
|
3368
|
-
const idToken = this.getIdTokenCredential(key);
|
|
3359
|
+
const idToken = this.getIdTokenCredential(key, correlationId);
|
|
3369
3360
|
if (idToken && this.credentialMatchesFilter(idToken, filter)) {
|
|
3370
3361
|
idTokens.set(key, idToken);
|
|
3371
3362
|
}
|
|
@@ -3394,20 +3385,21 @@
|
|
|
3394
3385
|
* Removes idToken from the cache
|
|
3395
3386
|
* @param key
|
|
3396
3387
|
*/
|
|
3397
|
-
removeIdToken(key) {
|
|
3398
|
-
this.removeItem(key);
|
|
3388
|
+
removeIdToken(key, correlationId) {
|
|
3389
|
+
this.removeItem(key, correlationId);
|
|
3399
3390
|
}
|
|
3400
3391
|
/**
|
|
3401
3392
|
* Removes refresh token from the cache
|
|
3402
3393
|
* @param key
|
|
3403
3394
|
*/
|
|
3404
|
-
removeRefreshToken(key) {
|
|
3405
|
-
this.removeItem(key);
|
|
3395
|
+
removeRefreshToken(key, correlationId) {
|
|
3396
|
+
this.removeItem(key, correlationId);
|
|
3406
3397
|
}
|
|
3407
3398
|
/**
|
|
3408
3399
|
* Retrieve AccessTokenEntity from cache
|
|
3409
3400
|
* @param account {AccountInfo}
|
|
3410
3401
|
* @param request {BaseAuthRequest}
|
|
3402
|
+
* @param correlationId {?string}
|
|
3411
3403
|
* @param tokenKeys {?TokenKeys}
|
|
3412
3404
|
* @param performanceClient {?IPerformanceClient}
|
|
3413
3405
|
*/
|
|
@@ -3442,7 +3434,7 @@
|
|
|
3442
3434
|
accessTokenKeys.forEach((key) => {
|
|
3443
3435
|
// Validate key
|
|
3444
3436
|
if (this.accessTokenKeyMatchesFilter(key, accessTokenFilter, true)) {
|
|
3445
|
-
const accessToken = this.getAccessTokenCredential(key);
|
|
3437
|
+
const accessToken = this.getAccessTokenCredential(key, correlationId);
|
|
3446
3438
|
// Validate value
|
|
3447
3439
|
if (accessToken &&
|
|
3448
3440
|
this.credentialMatchesFilter(accessToken, accessTokenFilter)) {
|
|
@@ -3512,14 +3504,14 @@
|
|
|
3512
3504
|
* @param filter
|
|
3513
3505
|
* @returns
|
|
3514
3506
|
*/
|
|
3515
|
-
getAccessTokensByFilter(filter) {
|
|
3507
|
+
getAccessTokensByFilter(filter, correlationId) {
|
|
3516
3508
|
const tokenKeys = this.getTokenKeys();
|
|
3517
3509
|
const accessTokens = [];
|
|
3518
3510
|
tokenKeys.accessToken.forEach((key) => {
|
|
3519
3511
|
if (!this.accessTokenKeyMatchesFilter(key, filter, true)) {
|
|
3520
3512
|
return;
|
|
3521
3513
|
}
|
|
3522
|
-
const accessToken = this.getAccessTokenCredential(key);
|
|
3514
|
+
const accessToken = this.getAccessTokenCredential(key, correlationId);
|
|
3523
3515
|
if (accessToken &&
|
|
3524
3516
|
this.credentialMatchesFilter(accessToken, filter)) {
|
|
3525
3517
|
accessTokens.push(accessToken);
|
|
@@ -3531,11 +3523,11 @@
|
|
|
3531
3523
|
* Helper to retrieve the appropriate refresh token from cache
|
|
3532
3524
|
* @param account {AccountInfo}
|
|
3533
3525
|
* @param familyRT {boolean}
|
|
3526
|
+
* @param correlationId {?string}
|
|
3534
3527
|
* @param tokenKeys {?TokenKeys}
|
|
3535
3528
|
* @param performanceClient {?IPerformanceClient}
|
|
3536
|
-
* @param correlationId {?string}
|
|
3537
3529
|
*/
|
|
3538
|
-
getRefreshToken(account, familyRT, tokenKeys, performanceClient
|
|
3530
|
+
getRefreshToken(account, familyRT, correlationId, tokenKeys, performanceClient) {
|
|
3539
3531
|
this.commonLogger.trace("CacheManager - getRefreshToken called");
|
|
3540
3532
|
const id = familyRT ? THE_FAMILY_ID : undefined;
|
|
3541
3533
|
const refreshTokenFilter = {
|
|
@@ -3551,7 +3543,7 @@
|
|
|
3551
3543
|
refreshTokenKeys.forEach((key) => {
|
|
3552
3544
|
// Validate key
|
|
3553
3545
|
if (this.refreshTokenKeyMatchesFilter(key, refreshTokenFilter)) {
|
|
3554
|
-
const refreshToken = this.getRefreshTokenCredential(key);
|
|
3546
|
+
const refreshToken = this.getRefreshTokenCredential(key, correlationId);
|
|
3555
3547
|
// Validate value
|
|
3556
3548
|
if (refreshToken &&
|
|
3557
3549
|
this.credentialMatchesFilter(refreshToken, refreshTokenFilter)) {
|
|
@@ -3901,7 +3893,7 @@
|
|
|
3901
3893
|
}
|
|
3902
3894
|
}
|
|
3903
3895
|
|
|
3904
|
-
/*! @azure/msal-common v15.
|
|
3896
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
3905
3897
|
/*
|
|
3906
3898
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3907
3899
|
* Licensed under the MIT License.
|
|
@@ -4393,7 +4385,6 @@
|
|
|
4393
4385
|
* @enum {number}
|
|
4394
4386
|
*/
|
|
4395
4387
|
const PerformanceEventStatus = {
|
|
4396
|
-
NotStarted: 0,
|
|
4397
4388
|
InProgress: 1,
|
|
4398
4389
|
Completed: 2,
|
|
4399
4390
|
};
|
|
@@ -4414,7 +4405,7 @@
|
|
|
4414
4405
|
"encryptedCacheExpiredCount",
|
|
4415
4406
|
]);
|
|
4416
4407
|
|
|
4417
|
-
/*! @azure/msal-common v15.
|
|
4408
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
4418
4409
|
|
|
4419
4410
|
/*
|
|
4420
4411
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4493,7 +4484,7 @@
|
|
|
4493
4484
|
}
|
|
4494
4485
|
}
|
|
4495
4486
|
|
|
4496
|
-
/*! @azure/msal-common v15.
|
|
4487
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
4497
4488
|
|
|
4498
4489
|
/*
|
|
4499
4490
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4593,7 +4584,7 @@
|
|
|
4593
4584
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4594
4585
|
}
|
|
4595
4586
|
|
|
4596
|
-
/*! @azure/msal-common v15.
|
|
4587
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
4597
4588
|
/*
|
|
4598
4589
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4599
4590
|
* Licensed under the MIT License.
|
|
@@ -4603,7 +4594,7 @@
|
|
|
4603
4594
|
UPN: "UPN",
|
|
4604
4595
|
};
|
|
4605
4596
|
|
|
4606
|
-
/*! @azure/msal-common v15.
|
|
4597
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
4607
4598
|
/*
|
|
4608
4599
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4609
4600
|
* Licensed under the MIT License.
|
|
@@ -4653,7 +4644,7 @@
|
|
|
4653
4644
|
const EAR_JWK = "ear_jwk";
|
|
4654
4645
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
4655
4646
|
|
|
4656
|
-
/*! @azure/msal-common v15.
|
|
4647
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
4657
4648
|
|
|
4658
4649
|
/*
|
|
4659
4650
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5021,7 +5012,7 @@
|
|
|
5021
5012
|
parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
|
|
5022
5013
|
}
|
|
5023
5014
|
|
|
5024
|
-
/*! @azure/msal-common v15.
|
|
5015
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
5025
5016
|
/*
|
|
5026
5017
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5027
5018
|
* Licensed under the MIT License.
|
|
@@ -5033,7 +5024,7 @@
|
|
|
5033
5024
|
response.hasOwnProperty("jwks_uri"));
|
|
5034
5025
|
}
|
|
5035
5026
|
|
|
5036
|
-
/*! @azure/msal-common v15.
|
|
5027
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
5037
5028
|
/*
|
|
5038
5029
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5039
5030
|
* Licensed under the MIT License.
|
|
@@ -5043,7 +5034,7 @@
|
|
|
5043
5034
|
response.hasOwnProperty("metadata"));
|
|
5044
5035
|
}
|
|
5045
5036
|
|
|
5046
|
-
/*! @azure/msal-common v15.
|
|
5037
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
5047
5038
|
/*
|
|
5048
5039
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5049
5040
|
* Licensed under the MIT License.
|
|
@@ -5053,7 +5044,7 @@
|
|
|
5053
5044
|
response.hasOwnProperty("error_description"));
|
|
5054
5045
|
}
|
|
5055
5046
|
|
|
5056
|
-
/*! @azure/msal-common v15.
|
|
5047
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
5057
5048
|
/*
|
|
5058
5049
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5059
5050
|
* Licensed under the MIT License.
|
|
@@ -5149,7 +5140,7 @@
|
|
|
5149
5140
|
};
|
|
5150
5141
|
};
|
|
5151
5142
|
|
|
5152
|
-
/*! @azure/msal-common v15.
|
|
5143
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
5153
5144
|
|
|
5154
5145
|
/*
|
|
5155
5146
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5255,7 +5246,7 @@
|
|
|
5255
5246
|
},
|
|
5256
5247
|
};
|
|
5257
5248
|
|
|
5258
|
-
/*! @azure/msal-common v15.
|
|
5249
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
5259
5250
|
|
|
5260
5251
|
/*
|
|
5261
5252
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6094,7 +6085,7 @@
|
|
|
6094
6085
|
};
|
|
6095
6086
|
}
|
|
6096
6087
|
|
|
6097
|
-
/*! @azure/msal-common v15.
|
|
6088
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6098
6089
|
|
|
6099
6090
|
/*
|
|
6100
6091
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6125,7 +6116,7 @@
|
|
|
6125
6116
|
}
|
|
6126
6117
|
}
|
|
6127
6118
|
|
|
6128
|
-
/*! @azure/msal-common v15.
|
|
6119
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6129
6120
|
|
|
6130
6121
|
/*
|
|
6131
6122
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6144,7 +6135,7 @@
|
|
|
6144
6135
|
}
|
|
6145
6136
|
}
|
|
6146
6137
|
|
|
6147
|
-
/*! @azure/msal-common v15.
|
|
6138
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6148
6139
|
/*
|
|
6149
6140
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6150
6141
|
* Licensed under the MIT License.
|
|
@@ -6165,7 +6156,7 @@
|
|
|
6165
6156
|
};
|
|
6166
6157
|
}
|
|
6167
6158
|
|
|
6168
|
-
/*! @azure/msal-common v15.
|
|
6159
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6169
6160
|
|
|
6170
6161
|
/*
|
|
6171
6162
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6185,12 +6176,12 @@
|
|
|
6185
6176
|
* @param cacheManager
|
|
6186
6177
|
* @param thumbprint
|
|
6187
6178
|
*/
|
|
6188
|
-
static preProcess(cacheManager, thumbprint) {
|
|
6179
|
+
static preProcess(cacheManager, thumbprint, correlationId) {
|
|
6189
6180
|
const key = ThrottlingUtils.generateThrottlingStorageKey(thumbprint);
|
|
6190
6181
|
const value = cacheManager.getThrottlingCache(key);
|
|
6191
6182
|
if (value) {
|
|
6192
6183
|
if (value.throttleTime < Date.now()) {
|
|
6193
|
-
cacheManager.removeItem(key);
|
|
6184
|
+
cacheManager.removeItem(key, correlationId);
|
|
6194
6185
|
return;
|
|
6195
6186
|
}
|
|
6196
6187
|
throw new ServerError(value.errorCodes?.join(" ") || Constants.EMPTY_STRING, value.errorMessage, value.subError);
|
|
@@ -6202,7 +6193,7 @@
|
|
|
6202
6193
|
* @param thumbprint
|
|
6203
6194
|
* @param response
|
|
6204
6195
|
*/
|
|
6205
|
-
static postProcess(cacheManager, thumbprint, response) {
|
|
6196
|
+
static postProcess(cacheManager, thumbprint, response, correlationId) {
|
|
6206
6197
|
if (ThrottlingUtils.checkResponseStatus(response) ||
|
|
6207
6198
|
ThrottlingUtils.checkResponseForRetryAfter(response)) {
|
|
6208
6199
|
const thumbprintValue = {
|
|
@@ -6212,7 +6203,7 @@
|
|
|
6212
6203
|
errorMessage: response.body.error_description,
|
|
6213
6204
|
subError: response.body.suberror,
|
|
6214
6205
|
};
|
|
6215
|
-
cacheManager.setThrottlingCache(ThrottlingUtils.generateThrottlingStorageKey(thumbprint), thumbprintValue);
|
|
6206
|
+
cacheManager.setThrottlingCache(ThrottlingUtils.generateThrottlingStorageKey(thumbprint), thumbprintValue, correlationId);
|
|
6216
6207
|
}
|
|
6217
6208
|
}
|
|
6218
6209
|
/**
|
|
@@ -6248,11 +6239,11 @@
|
|
|
6248
6239
|
static removeThrottle(cacheManager, clientId, request, homeAccountIdentifier) {
|
|
6249
6240
|
const thumbprint = getRequestThumbprint(clientId, request, homeAccountIdentifier);
|
|
6250
6241
|
const key = this.generateThrottlingStorageKey(thumbprint);
|
|
6251
|
-
cacheManager.removeItem(key);
|
|
6242
|
+
cacheManager.removeItem(key, request.correlationId);
|
|
6252
6243
|
}
|
|
6253
6244
|
}
|
|
6254
6245
|
|
|
6255
|
-
/*! @azure/msal-common v15.
|
|
6246
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6256
6247
|
|
|
6257
6248
|
/*
|
|
6258
6249
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6283,7 +6274,7 @@
|
|
|
6283
6274
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6284
6275
|
}
|
|
6285
6276
|
|
|
6286
|
-
/*! @azure/msal-common v15.
|
|
6277
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6287
6278
|
|
|
6288
6279
|
/*
|
|
6289
6280
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6365,7 +6356,7 @@
|
|
|
6365
6356
|
* @param correlationId - CorrelationId for telemetry
|
|
6366
6357
|
*/
|
|
6367
6358
|
async sendPostRequest(thumbprint, tokenEndpoint, options, correlationId) {
|
|
6368
|
-
ThrottlingUtils.preProcess(this.cacheManager, thumbprint);
|
|
6359
|
+
ThrottlingUtils.preProcess(this.cacheManager, thumbprint, correlationId);
|
|
6369
6360
|
let response;
|
|
6370
6361
|
try {
|
|
6371
6362
|
response = await invokeAsync((this.networkClient.sendPostRequestAsync.bind(this.networkClient)), PerformanceEvents.NetworkClientSendPostRequestAsync, this.logger, this.performanceClient, correlationId)(tokenEndpoint, options);
|
|
@@ -6400,7 +6391,7 @@
|
|
|
6400
6391
|
throw createClientAuthError(networkError);
|
|
6401
6392
|
}
|
|
6402
6393
|
}
|
|
6403
|
-
ThrottlingUtils.postProcess(this.cacheManager, thumbprint, response);
|
|
6394
|
+
ThrottlingUtils.postProcess(this.cacheManager, thumbprint, response, correlationId);
|
|
6404
6395
|
return response;
|
|
6405
6396
|
}
|
|
6406
6397
|
/**
|
|
@@ -6431,7 +6422,7 @@
|
|
|
6431
6422
|
}
|
|
6432
6423
|
}
|
|
6433
6424
|
|
|
6434
|
-
/*! @azure/msal-common v15.
|
|
6425
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6435
6426
|
/*
|
|
6436
6427
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6437
6428
|
* Licensed under the MIT License.
|
|
@@ -6459,7 +6450,7 @@
|
|
|
6459
6450
|
uxNotAllowed: uxNotAllowed
|
|
6460
6451
|
});
|
|
6461
6452
|
|
|
6462
|
-
/*! @azure/msal-common v15.
|
|
6453
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6463
6454
|
|
|
6464
6455
|
/*
|
|
6465
6456
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6549,7 +6540,7 @@
|
|
|
6549
6540
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6550
6541
|
}
|
|
6551
6542
|
|
|
6552
|
-
/*! @azure/msal-common v15.
|
|
6543
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6553
6544
|
|
|
6554
6545
|
/*
|
|
6555
6546
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6621,16 +6612,14 @@
|
|
|
6621
6612
|
}
|
|
6622
6613
|
}
|
|
6623
6614
|
|
|
6624
|
-
/*! @azure/msal-common v15.
|
|
6615
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6625
6616
|
|
|
6626
6617
|
/*
|
|
6627
6618
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6628
6619
|
* Licensed under the MIT License.
|
|
6629
6620
|
*/
|
|
6630
6621
|
const KeyLocation = {
|
|
6631
|
-
SW: "sw"
|
|
6632
|
-
UHW: "uhw",
|
|
6633
|
-
};
|
|
6622
|
+
SW: "sw"};
|
|
6634
6623
|
/** @internal */
|
|
6635
6624
|
class PopTokenGenerator {
|
|
6636
6625
|
constructor(cryptoUtils, performanceClient) {
|
|
@@ -6705,7 +6694,7 @@
|
|
|
6705
6694
|
}
|
|
6706
6695
|
}
|
|
6707
6696
|
|
|
6708
|
-
/*! @azure/msal-common v15.
|
|
6697
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6709
6698
|
/*
|
|
6710
6699
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6711
6700
|
* Licensed under the MIT License.
|
|
@@ -6732,7 +6721,7 @@
|
|
|
6732
6721
|
}
|
|
6733
6722
|
}
|
|
6734
6723
|
|
|
6735
|
-
/*! @azure/msal-common v15.
|
|
6724
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6736
6725
|
|
|
6737
6726
|
/*
|
|
6738
6727
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6845,7 +6834,7 @@
|
|
|
6845
6834
|
!forceCacheRefreshTokenResponse &&
|
|
6846
6835
|
cacheRecord.account) {
|
|
6847
6836
|
const key = cacheRecord.account.generateAccountKey();
|
|
6848
|
-
const account = this.cacheStorage.getAccount(key);
|
|
6837
|
+
const account = this.cacheStorage.getAccount(key, request.correlationId);
|
|
6849
6838
|
if (!account) {
|
|
6850
6839
|
this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache");
|
|
6851
6840
|
return await ResponseHandler.generateAuthenticationResult(this.cryptoObj, authority, cacheRecord, false, request, idTokenClaims, requestStateObj, undefined, serverRequestId);
|
|
@@ -6880,7 +6869,7 @@
|
|
|
6880
6869
|
let cachedAccount;
|
|
6881
6870
|
if (serverTokenResponse.id_token && !!idTokenClaims) {
|
|
6882
6871
|
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
|
|
6872
|
+
cachedAccount = buildAccountToCache(this.cacheStorage, authority, this.homeAccountIdentifier, this.cryptoObj.base64Decode, request.correlationId, idTokenClaims, serverTokenResponse.client_info, env, claimsTenantId, authCodePayload, undefined, // nativeAccountId
|
|
6884
6873
|
this.logger);
|
|
6885
6874
|
}
|
|
6886
6875
|
// AccessToken
|
|
@@ -7029,7 +7018,7 @@
|
|
|
7029
7018
|
};
|
|
7030
7019
|
}
|
|
7031
7020
|
}
|
|
7032
|
-
function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decode, idTokenClaims, clientInfo, environment, claimsTenantId, authCodePayload, nativeAccountId, logger) {
|
|
7021
|
+
function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, environment, claimsTenantId, authCodePayload, nativeAccountId, logger) {
|
|
7033
7022
|
logger?.verbose("setCachedAccount called");
|
|
7034
7023
|
// Check if base account is already cached
|
|
7035
7024
|
const accountKeys = cacheStorage.getAccountKeys();
|
|
@@ -7038,7 +7027,7 @@
|
|
|
7038
7027
|
});
|
|
7039
7028
|
let cachedAccount = null;
|
|
7040
7029
|
if (baseAccountKey) {
|
|
7041
|
-
cachedAccount = cacheStorage.getAccount(baseAccountKey);
|
|
7030
|
+
cachedAccount = cacheStorage.getAccount(baseAccountKey, correlationId);
|
|
7042
7031
|
}
|
|
7043
7032
|
const baseAccount = cachedAccount ||
|
|
7044
7033
|
AccountEntity.createAccount({
|
|
@@ -7063,7 +7052,7 @@
|
|
|
7063
7052
|
return baseAccount;
|
|
7064
7053
|
}
|
|
7065
7054
|
|
|
7066
|
-
/*! @azure/msal-common v15.
|
|
7055
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7067
7056
|
|
|
7068
7057
|
/*
|
|
7069
7058
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7130,7 +7119,7 @@
|
|
|
7130
7119
|
}
|
|
7131
7120
|
}
|
|
7132
7121
|
|
|
7133
|
-
/*! @azure/msal-common v15.
|
|
7122
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7134
7123
|
/*
|
|
7135
7124
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7136
7125
|
* Licensed under the MIT License.
|
|
@@ -7148,7 +7137,7 @@
|
|
|
7148
7137
|
}
|
|
7149
7138
|
}
|
|
7150
7139
|
|
|
7151
|
-
/*! @azure/msal-common v15.
|
|
7140
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7152
7141
|
|
|
7153
7142
|
/*
|
|
7154
7143
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7381,7 +7370,7 @@
|
|
|
7381
7370
|
}
|
|
7382
7371
|
}
|
|
7383
7372
|
|
|
7384
|
-
/*! @azure/msal-common v15.
|
|
7373
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7385
7374
|
|
|
7386
7375
|
/*
|
|
7387
7376
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7454,7 +7443,7 @@
|
|
|
7454
7443
|
async acquireTokenWithCachedRefreshToken(request, foci) {
|
|
7455
7444
|
this.performanceClient?.addQueueMeasurement(PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken, request.correlationId);
|
|
7456
7445
|
// 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
|
|
7446
|
+
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
7447
|
if (!refreshToken) {
|
|
7459
7448
|
throw createInteractionRequiredAuthError(noTokensFound);
|
|
7460
7449
|
}
|
|
@@ -7484,7 +7473,7 @@
|
|
|
7484
7473
|
// Remove bad refresh token from cache
|
|
7485
7474
|
this.logger.verbose("acquireTokenWithRefreshToken: bad refresh token, removing from cache");
|
|
7486
7475
|
const badRefreshTokenKey = generateCredentialKey(refreshToken);
|
|
7487
|
-
this.cacheManager.removeRefreshToken(badRefreshTokenKey);
|
|
7476
|
+
this.cacheManager.removeRefreshToken(badRefreshTokenKey, request.correlationId);
|
|
7488
7477
|
}
|
|
7489
7478
|
}
|
|
7490
7479
|
throw e;
|
|
@@ -7590,7 +7579,7 @@
|
|
|
7590
7579
|
}
|
|
7591
7580
|
}
|
|
7592
7581
|
|
|
7593
|
-
/*! @azure/msal-common v15.
|
|
7582
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7594
7583
|
|
|
7595
7584
|
/*
|
|
7596
7585
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7642,9 +7631,9 @@
|
|
|
7642
7631
|
}
|
|
7643
7632
|
const environment = request.authority || this.authority.getPreferredCache();
|
|
7644
7633
|
const cacheRecord = {
|
|
7645
|
-
account: this.cacheManager.readAccountFromCache(request.account),
|
|
7634
|
+
account: this.cacheManager.readAccountFromCache(request.account, request.correlationId),
|
|
7646
7635
|
accessToken: cachedAccessToken,
|
|
7647
|
-
idToken: this.cacheManager.getIdToken(request.account, tokenKeys, requestTenantId, this.performanceClient
|
|
7636
|
+
idToken: this.cacheManager.getIdToken(request.account, request.correlationId, tokenKeys, requestTenantId, this.performanceClient),
|
|
7648
7637
|
refreshToken: null,
|
|
7649
7638
|
appMetadata: this.cacheManager.readAppMetadataFromCache(environment),
|
|
7650
7639
|
};
|
|
@@ -7688,7 +7677,7 @@
|
|
|
7688
7677
|
}
|
|
7689
7678
|
}
|
|
7690
7679
|
|
|
7691
|
-
/*! @azure/msal-common v15.
|
|
7680
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7692
7681
|
|
|
7693
7682
|
/*
|
|
7694
7683
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7703,7 +7692,7 @@
|
|
|
7703
7692
|
},
|
|
7704
7693
|
};
|
|
7705
7694
|
|
|
7706
|
-
/*! @azure/msal-common v15.
|
|
7695
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7707
7696
|
|
|
7708
7697
|
/*
|
|
7709
7698
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7927,7 +7916,7 @@
|
|
|
7927
7916
|
return account.idTokenClaims?.login_hint || null;
|
|
7928
7917
|
}
|
|
7929
7918
|
|
|
7930
|
-
/*! @azure/msal-common v15.
|
|
7919
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7931
7920
|
|
|
7932
7921
|
/*
|
|
7933
7922
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7985,7 +7974,7 @@
|
|
|
7985
7974
|
}
|
|
7986
7975
|
}
|
|
7987
7976
|
|
|
7988
|
-
/*! @azure/msal-common v15.
|
|
7977
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
7989
7978
|
|
|
7990
7979
|
/*
|
|
7991
7980
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8124,7 +8113,7 @@
|
|
|
8124
8113
|
else {
|
|
8125
8114
|
lastRequests.errors.push(SERVER_TELEM_CONSTANTS.UNKNOWN_ERROR);
|
|
8126
8115
|
}
|
|
8127
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8116
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8128
8117
|
return;
|
|
8129
8118
|
}
|
|
8130
8119
|
/**
|
|
@@ -8133,7 +8122,7 @@
|
|
|
8133
8122
|
incrementCacheHits() {
|
|
8134
8123
|
const lastRequests = this.getLastRequests();
|
|
8135
8124
|
lastRequests.cacheHits += 1;
|
|
8136
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8125
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8137
8126
|
return lastRequests.cacheHits;
|
|
8138
8127
|
}
|
|
8139
8128
|
/**
|
|
@@ -8157,7 +8146,7 @@
|
|
|
8157
8146
|
const errorCount = lastRequests.errors.length;
|
|
8158
8147
|
if (numErrorsFlushed === errorCount) {
|
|
8159
8148
|
// All errors were sent on last request, clear Telemetry cache
|
|
8160
|
-
this.cacheManager.removeItem(this.telemetryCacheKey);
|
|
8149
|
+
this.cacheManager.removeItem(this.telemetryCacheKey, this.correlationId);
|
|
8161
8150
|
}
|
|
8162
8151
|
else {
|
|
8163
8152
|
// Partial data was flushed to server, construct a new telemetry cache item with errors that were not flushed
|
|
@@ -8166,7 +8155,7 @@
|
|
|
8166
8155
|
errors: lastRequests.errors.slice(numErrorsFlushed),
|
|
8167
8156
|
cacheHits: 0,
|
|
8168
8157
|
};
|
|
8169
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, serverTelemEntity);
|
|
8158
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, serverTelemEntity, this.correlationId);
|
|
8170
8159
|
}
|
|
8171
8160
|
}
|
|
8172
8161
|
/**
|
|
@@ -8233,7 +8222,7 @@
|
|
|
8233
8222
|
setNativeBrokerErrorCode(errorCode) {
|
|
8234
8223
|
const lastRequests = this.getLastRequests();
|
|
8235
8224
|
lastRequests.nativeBrokerErrorCode = errorCode;
|
|
8236
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8225
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8237
8226
|
}
|
|
8238
8227
|
getNativeBrokerErrorCode() {
|
|
8239
8228
|
return this.getLastRequests().nativeBrokerErrorCode;
|
|
@@ -8241,14 +8230,14 @@
|
|
|
8241
8230
|
clearNativeBrokerErrorCode() {
|
|
8242
8231
|
const lastRequests = this.getLastRequests();
|
|
8243
8232
|
delete lastRequests.nativeBrokerErrorCode;
|
|
8244
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
|
|
8233
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
8245
8234
|
}
|
|
8246
8235
|
static makeExtraSkuString(params) {
|
|
8247
8236
|
return makeExtraSkuString(params);
|
|
8248
8237
|
}
|
|
8249
8238
|
}
|
|
8250
8239
|
|
|
8251
|
-
/*! @azure/msal-common v15.
|
|
8240
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
8252
8241
|
/*
|
|
8253
8242
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8254
8243
|
* Licensed under the MIT License.
|
|
@@ -8256,7 +8245,7 @@
|
|
|
8256
8245
|
const missingKidError = "missing_kid_error";
|
|
8257
8246
|
const missingAlgError = "missing_alg_error";
|
|
8258
8247
|
|
|
8259
|
-
/*! @azure/msal-common v15.
|
|
8248
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
8260
8249
|
|
|
8261
8250
|
/*
|
|
8262
8251
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8281,7 +8270,7 @@
|
|
|
8281
8270
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8282
8271
|
}
|
|
8283
8272
|
|
|
8284
|
-
/*! @azure/msal-common v15.
|
|
8273
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
8285
8274
|
|
|
8286
8275
|
/*
|
|
8287
8276
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8321,7 +8310,7 @@
|
|
|
8321
8310
|
}
|
|
8322
8311
|
}
|
|
8323
8312
|
|
|
8324
|
-
/*! @azure/msal-common v15.
|
|
8313
|
+
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
8325
8314
|
|
|
8326
8315
|
/*
|
|
8327
8316
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8983,7 +8972,8 @@
|
|
|
8983
8972
|
const invalidPopTokenRequest = "invalid_pop_token_request";
|
|
8984
8973
|
const failedToBuildHeaders = "failed_to_build_headers";
|
|
8985
8974
|
const failedToParseHeaders = "failed_to_parse_headers";
|
|
8986
|
-
const failedToDecryptEarResponse = "failed_to_decrypt_ear_response";
|
|
8975
|
+
const failedToDecryptEarResponse = "failed_to_decrypt_ear_response";
|
|
8976
|
+
const timedOut = "timed_out";
|
|
8987
8977
|
|
|
8988
8978
|
var BrowserAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
8989
8979
|
__proto__: null,
|
|
@@ -9031,6 +9021,7 @@
|
|
|
9031
9021
|
silentPromptValueError: silentPromptValueError,
|
|
9032
9022
|
spaCodeAndNativeAccountIdPresent: spaCodeAndNativeAccountIdPresent,
|
|
9033
9023
|
stateInteractionTypeMismatch: stateInteractionTypeMismatch,
|
|
9024
|
+
timedOut: timedOut,
|
|
9034
9025
|
unableToAcquireTokenFromNativePlatform: unableToAcquireTokenFromNativePlatform,
|
|
9035
9026
|
unableToLoadToken: unableToLoadToken,
|
|
9036
9027
|
unableToParseState: unableToParseState,
|
|
@@ -9098,6 +9089,7 @@
|
|
|
9098
9089
|
[failedToBuildHeaders]: "Failed to build request headers object.",
|
|
9099
9090
|
[failedToParseHeaders]: "Failed to parse response headers",
|
|
9100
9091
|
[failedToDecryptEarResponse]: "Failed to decrypt ear response",
|
|
9092
|
+
[timedOut]: "The request timed out.",
|
|
9101
9093
|
};
|
|
9102
9094
|
/**
|
|
9103
9095
|
* BrowserAuthErrorMessage class containing string constants used by error codes and messages.
|
|
@@ -9311,10 +9303,6 @@
|
|
|
9311
9303
|
* Constants
|
|
9312
9304
|
*/
|
|
9313
9305
|
const BrowserConstants = {
|
|
9314
|
-
/**
|
|
9315
|
-
* Interaction in progress cache value
|
|
9316
|
-
*/
|
|
9317
|
-
INTERACTION_IN_PROGRESS_VALUE: "interaction_in_progress",
|
|
9318
9306
|
/**
|
|
9319
9307
|
* Invalid grant error code
|
|
9320
9308
|
*/
|
|
@@ -10166,9 +10154,9 @@
|
|
|
10166
10154
|
else {
|
|
10167
10155
|
window.location.assign(url); // CodeQL [SM03712] Application owner controls the URL. User can't change it.
|
|
10168
10156
|
}
|
|
10169
|
-
return new Promise((resolve) => {
|
|
10157
|
+
return new Promise((resolve, reject) => {
|
|
10170
10158
|
setTimeout(() => {
|
|
10171
|
-
|
|
10159
|
+
reject(createBrowserAuthError(timedOut, "failed_to_redirect"));
|
|
10172
10160
|
}, options.timeout);
|
|
10173
10161
|
});
|
|
10174
10162
|
}
|
|
@@ -10426,7 +10414,7 @@
|
|
|
10426
10414
|
|
|
10427
10415
|
/* eslint-disable header/header */
|
|
10428
10416
|
const name = "@azure/msal-browser";
|
|
10429
|
-
const version = "4.
|
|
10417
|
+
const version = "4.14.0";
|
|
10430
10418
|
|
|
10431
10419
|
/*
|
|
10432
10420
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -11539,7 +11527,7 @@
|
|
|
11539
11527
|
setItem(key, value) {
|
|
11540
11528
|
window.localStorage.setItem(key, value);
|
|
11541
11529
|
}
|
|
11542
|
-
async setUserData(key, value, correlationId) {
|
|
11530
|
+
async setUserData(key, value, correlationId, timestamp) {
|
|
11543
11531
|
if (!this.initialized || !this.encryptionCookie) {
|
|
11544
11532
|
throw createBrowserAuthError(uninitializedPublicClientApplication);
|
|
11545
11533
|
}
|
|
@@ -11548,6 +11536,7 @@
|
|
|
11548
11536
|
id: this.encryptionCookie.id,
|
|
11549
11537
|
nonce: nonce,
|
|
11550
11538
|
data: data,
|
|
11539
|
+
lastUpdatedAt: timestamp,
|
|
11551
11540
|
};
|
|
11552
11541
|
this.memoryStorage.setItem(key, value);
|
|
11553
11542
|
this.setItem(key, JSON.stringify(encryptedData));
|
|
@@ -11817,7 +11806,7 @@
|
|
|
11817
11806
|
this.performanceClient.addFields({ previousLibraryVersion: previousVersion }, correlationId);
|
|
11818
11807
|
}
|
|
11819
11808
|
if (previousVersion !== version) {
|
|
11820
|
-
this.
|
|
11809
|
+
this.setItem(StaticCacheKeys.VERSION, version, correlationId);
|
|
11821
11810
|
}
|
|
11822
11811
|
}
|
|
11823
11812
|
/**
|
|
@@ -11841,22 +11830,111 @@
|
|
|
11841
11830
|
return null;
|
|
11842
11831
|
}
|
|
11843
11832
|
}
|
|
11833
|
+
/**
|
|
11834
|
+
* Helper to setItem in browser storage, with cleanup in case of quota errors
|
|
11835
|
+
* @param key
|
|
11836
|
+
* @param value
|
|
11837
|
+
*/
|
|
11838
|
+
setItem(key, value, correlationId) {
|
|
11839
|
+
let accessTokenKeys = [];
|
|
11840
|
+
const maxRetries = 20;
|
|
11841
|
+
for (let i = 0; i <= maxRetries; i++) {
|
|
11842
|
+
try {
|
|
11843
|
+
this.browserStorage.setItem(key, value);
|
|
11844
|
+
if (i > 0) {
|
|
11845
|
+
// Finally update the token keys array with the tokens removed
|
|
11846
|
+
this.removeAccessTokenKeys(accessTokenKeys.slice(0, i), correlationId);
|
|
11847
|
+
}
|
|
11848
|
+
break; // If setItem succeeds, exit the loop
|
|
11849
|
+
}
|
|
11850
|
+
catch (e) {
|
|
11851
|
+
const cacheError = createCacheError(e);
|
|
11852
|
+
if (cacheError.errorCode ===
|
|
11853
|
+
cacheQuotaExceeded &&
|
|
11854
|
+
i < maxRetries) {
|
|
11855
|
+
if (!accessTokenKeys.length) {
|
|
11856
|
+
if (key ===
|
|
11857
|
+
`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`) {
|
|
11858
|
+
// If we are currently trying to set the token keys, use the value we're trying to set
|
|
11859
|
+
accessTokenKeys = JSON.parse(value)
|
|
11860
|
+
.accessToken;
|
|
11861
|
+
}
|
|
11862
|
+
else {
|
|
11863
|
+
// If token keys have not been initialized, get them
|
|
11864
|
+
accessTokenKeys = this.getTokenKeys().accessToken;
|
|
11865
|
+
}
|
|
11866
|
+
}
|
|
11867
|
+
if (accessTokenKeys.length <= i) {
|
|
11868
|
+
// Nothing to remove, rethrow the error
|
|
11869
|
+
throw cacheError;
|
|
11870
|
+
}
|
|
11871
|
+
// When cache quota is exceeded, start removing access tokens until we can successfully set the item
|
|
11872
|
+
this.removeAccessToken(accessTokenKeys[i], correlationId, false // Don't save token keys yet, do it at the end
|
|
11873
|
+
);
|
|
11874
|
+
}
|
|
11875
|
+
else {
|
|
11876
|
+
// If the error is not a quota exceeded error, rethrow it
|
|
11877
|
+
throw cacheError;
|
|
11878
|
+
}
|
|
11879
|
+
}
|
|
11880
|
+
}
|
|
11881
|
+
}
|
|
11882
|
+
/**
|
|
11883
|
+
* Helper to setUserData in browser storage, with cleanup in case of quota errors
|
|
11884
|
+
* @param key
|
|
11885
|
+
* @param value
|
|
11886
|
+
* @param correlationId
|
|
11887
|
+
*/
|
|
11888
|
+
async setUserData(key, value, correlationId, timestamp) {
|
|
11889
|
+
let accessTokenKeys = [];
|
|
11890
|
+
const maxRetries = 20;
|
|
11891
|
+
for (let i = 0; i <= maxRetries; i++) {
|
|
11892
|
+
try {
|
|
11893
|
+
await invokeAsync(this.browserStorage.setUserData.bind(this.browserStorage), PerformanceEvents.SetUserData, this.logger, this.performanceClient)(key, value, correlationId, timestamp);
|
|
11894
|
+
if (i > 0) {
|
|
11895
|
+
// Finally update the token keys array with the tokens removed
|
|
11896
|
+
this.removeAccessTokenKeys(accessTokenKeys.slice(0, i), correlationId);
|
|
11897
|
+
}
|
|
11898
|
+
break; // If setItem succeeds, exit the loop
|
|
11899
|
+
}
|
|
11900
|
+
catch (e) {
|
|
11901
|
+
const cacheError = createCacheError(e);
|
|
11902
|
+
if (cacheError.errorCode ===
|
|
11903
|
+
cacheQuotaExceeded &&
|
|
11904
|
+
i < maxRetries) {
|
|
11905
|
+
if (!accessTokenKeys.length) {
|
|
11906
|
+
accessTokenKeys = this.getTokenKeys().accessToken;
|
|
11907
|
+
}
|
|
11908
|
+
if (accessTokenKeys.length <= i) {
|
|
11909
|
+
// Nothing left to remove, rethrow the error
|
|
11910
|
+
throw cacheError;
|
|
11911
|
+
}
|
|
11912
|
+
// When cache quota is exceeded, start removing access tokens until we can successfully set the item
|
|
11913
|
+
this.removeAccessToken(accessTokenKeys[i], correlationId, false // Don't save token keys yet, do it at the end
|
|
11914
|
+
);
|
|
11915
|
+
}
|
|
11916
|
+
else {
|
|
11917
|
+
// If the error is not a quota exceeded error, rethrow it
|
|
11918
|
+
throw cacheError;
|
|
11919
|
+
}
|
|
11920
|
+
}
|
|
11921
|
+
}
|
|
11922
|
+
}
|
|
11844
11923
|
/**
|
|
11845
11924
|
* Reads account from cache, deserializes it into an account entity and returns it.
|
|
11846
11925
|
* If account is not found from the key, returns null and removes key from map.
|
|
11847
11926
|
* @param accountKey
|
|
11848
11927
|
* @returns
|
|
11849
11928
|
*/
|
|
11850
|
-
getAccount(accountKey) {
|
|
11929
|
+
getAccount(accountKey, correlationId) {
|
|
11851
11930
|
this.logger.trace("BrowserCacheManager.getAccount called");
|
|
11852
11931
|
const serializedAccount = this.browserStorage.getUserData(accountKey);
|
|
11853
11932
|
if (!serializedAccount) {
|
|
11854
|
-
this.removeAccountKeyFromMap(accountKey);
|
|
11933
|
+
this.removeAccountKeyFromMap(accountKey, correlationId);
|
|
11855
11934
|
return null;
|
|
11856
11935
|
}
|
|
11857
11936
|
const parsedAccount = this.validateAndParseJson(serializedAccount);
|
|
11858
11937
|
if (!parsedAccount || !AccountEntity.isAccountEntity(parsedAccount)) {
|
|
11859
|
-
this.removeAccountKeyFromMap(accountKey);
|
|
11860
11938
|
return null;
|
|
11861
11939
|
}
|
|
11862
11940
|
return CacheManager.toObject(new AccountEntity(), parsedAccount);
|
|
@@ -11868,8 +11946,10 @@
|
|
|
11868
11946
|
async setAccount(account, correlationId) {
|
|
11869
11947
|
this.logger.trace("BrowserCacheManager.setAccount called");
|
|
11870
11948
|
const key = account.generateAccountKey();
|
|
11871
|
-
|
|
11872
|
-
|
|
11949
|
+
const timestamp = Date.now().toString();
|
|
11950
|
+
account.lastUpdatedAt = timestamp;
|
|
11951
|
+
await this.setUserData(key, JSON.stringify(account), correlationId, timestamp);
|
|
11952
|
+
const wasAdded = this.addAccountKeyToMap(key, correlationId);
|
|
11873
11953
|
/**
|
|
11874
11954
|
* @deprecated - Remove this in next major version in favor of more consistent LOGIN event
|
|
11875
11955
|
*/
|
|
@@ -11890,14 +11970,14 @@
|
|
|
11890
11970
|
* Add a new account to the key map
|
|
11891
11971
|
* @param key
|
|
11892
11972
|
*/
|
|
11893
|
-
addAccountKeyToMap(key) {
|
|
11973
|
+
addAccountKeyToMap(key, correlationId) {
|
|
11894
11974
|
this.logger.trace("BrowserCacheManager.addAccountKeyToMap called");
|
|
11895
11975
|
this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: ${key}`);
|
|
11896
11976
|
const accountKeys = this.getAccountKeys();
|
|
11897
11977
|
if (accountKeys.indexOf(key) === -1) {
|
|
11898
11978
|
// Only add key if it does not already exist in the map
|
|
11899
11979
|
accountKeys.push(key);
|
|
11900
|
-
this.
|
|
11980
|
+
this.setItem(StaticCacheKeys.ACCOUNT_KEYS, JSON.stringify(accountKeys), correlationId);
|
|
11901
11981
|
this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added");
|
|
11902
11982
|
return true;
|
|
11903
11983
|
}
|
|
@@ -11910,14 +11990,21 @@
|
|
|
11910
11990
|
* Remove an account from the key map
|
|
11911
11991
|
* @param key
|
|
11912
11992
|
*/
|
|
11913
|
-
removeAccountKeyFromMap(key) {
|
|
11993
|
+
removeAccountKeyFromMap(key, correlationId) {
|
|
11914
11994
|
this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called");
|
|
11915
11995
|
this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: ${key}`);
|
|
11916
11996
|
const accountKeys = this.getAccountKeys();
|
|
11917
11997
|
const removalIndex = accountKeys.indexOf(key);
|
|
11918
11998
|
if (removalIndex > -1) {
|
|
11919
11999
|
accountKeys.splice(removalIndex, 1);
|
|
11920
|
-
|
|
12000
|
+
if (accountKeys.length === 0) {
|
|
12001
|
+
// If no keys left, remove the map
|
|
12002
|
+
this.removeItem(StaticCacheKeys.ACCOUNT_KEYS);
|
|
12003
|
+
return;
|
|
12004
|
+
}
|
|
12005
|
+
else {
|
|
12006
|
+
this.setItem(StaticCacheKeys.ACCOUNT_KEYS, JSON.stringify(accountKeys), correlationId);
|
|
12007
|
+
}
|
|
11921
12008
|
this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed");
|
|
11922
12009
|
}
|
|
11923
12010
|
else {
|
|
@@ -11930,7 +12017,7 @@
|
|
|
11930
12017
|
*/
|
|
11931
12018
|
removeAccount(key, correlationId) {
|
|
11932
12019
|
super.removeAccount(key, correlationId);
|
|
11933
|
-
this.removeAccountKeyFromMap(key);
|
|
12020
|
+
this.removeAccountKeyFromMap(key, correlationId);
|
|
11934
12021
|
}
|
|
11935
12022
|
/**
|
|
11936
12023
|
* Removes credentials associated with the provided account
|
|
@@ -11949,25 +12036,60 @@
|
|
|
11949
12036
|
* Removes given idToken from the cache and from the key map
|
|
11950
12037
|
* @param key
|
|
11951
12038
|
*/
|
|
11952
|
-
removeIdToken(key) {
|
|
11953
|
-
super.removeIdToken(key);
|
|
11954
|
-
this.
|
|
12039
|
+
removeIdToken(key, correlationId) {
|
|
12040
|
+
super.removeIdToken(key, correlationId);
|
|
12041
|
+
const tokenKeys = this.getTokenKeys();
|
|
12042
|
+
const idRemoval = tokenKeys.idToken.indexOf(key);
|
|
12043
|
+
if (idRemoval > -1) {
|
|
12044
|
+
this.logger.info("idToken removed from tokenKeys map");
|
|
12045
|
+
tokenKeys.idToken.splice(idRemoval, 1);
|
|
12046
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12047
|
+
}
|
|
11955
12048
|
}
|
|
11956
12049
|
/**
|
|
11957
12050
|
* Removes given accessToken from the cache and from the key map
|
|
11958
12051
|
* @param key
|
|
11959
12052
|
*/
|
|
11960
|
-
removeAccessToken(key, correlationId) {
|
|
12053
|
+
removeAccessToken(key, correlationId, updateTokenKeys = true) {
|
|
11961
12054
|
super.removeAccessToken(key, correlationId);
|
|
11962
|
-
this.
|
|
12055
|
+
updateTokenKeys && this.removeAccessTokenKeys([key], correlationId);
|
|
12056
|
+
}
|
|
12057
|
+
/**
|
|
12058
|
+
* Remove access token key from the key map
|
|
12059
|
+
* @param key
|
|
12060
|
+
* @param correlationId
|
|
12061
|
+
* @param tokenKeys
|
|
12062
|
+
*/
|
|
12063
|
+
removeAccessTokenKeys(keys, correlationId) {
|
|
12064
|
+
this.logger.trace("removeAccessTokenKey called");
|
|
12065
|
+
const tokenKeys = this.getTokenKeys();
|
|
12066
|
+
let keysRemoved = 0;
|
|
12067
|
+
keys.forEach((key) => {
|
|
12068
|
+
const accessRemoval = tokenKeys.accessToken.indexOf(key);
|
|
12069
|
+
if (accessRemoval > -1) {
|
|
12070
|
+
tokenKeys.accessToken.splice(accessRemoval, 1);
|
|
12071
|
+
keysRemoved++;
|
|
12072
|
+
}
|
|
12073
|
+
});
|
|
12074
|
+
if (keysRemoved > 0) {
|
|
12075
|
+
this.logger.info(`removed ${keysRemoved} accessToken keys from tokenKeys map`);
|
|
12076
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12077
|
+
return;
|
|
12078
|
+
}
|
|
11963
12079
|
}
|
|
11964
12080
|
/**
|
|
11965
12081
|
* Removes given refreshToken from the cache and from the key map
|
|
11966
12082
|
* @param key
|
|
11967
12083
|
*/
|
|
11968
|
-
removeRefreshToken(key) {
|
|
11969
|
-
super.removeRefreshToken(key);
|
|
11970
|
-
this.
|
|
12084
|
+
removeRefreshToken(key, correlationId) {
|
|
12085
|
+
super.removeRefreshToken(key, correlationId);
|
|
12086
|
+
const tokenKeys = this.getTokenKeys();
|
|
12087
|
+
const refreshRemoval = tokenKeys.refreshToken.indexOf(key);
|
|
12088
|
+
if (refreshRemoval > -1) {
|
|
12089
|
+
this.logger.info("refreshToken removed from tokenKeys map");
|
|
12090
|
+
tokenKeys.refreshToken.splice(refreshRemoval, 1);
|
|
12091
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12092
|
+
}
|
|
11971
12093
|
}
|
|
11972
12094
|
/**
|
|
11973
12095
|
* Gets the keys for the cached tokens associated with this clientId
|
|
@@ -11977,101 +12099,37 @@
|
|
|
11977
12099
|
return getTokenKeys(this.clientId, this.browserStorage);
|
|
11978
12100
|
}
|
|
11979
12101
|
/**
|
|
11980
|
-
*
|
|
11981
|
-
* @param
|
|
11982
|
-
* @param
|
|
12102
|
+
* Stores the token keys in the cache
|
|
12103
|
+
* @param tokenKeys
|
|
12104
|
+
* @param correlationId
|
|
12105
|
+
* @returns
|
|
11983
12106
|
*/
|
|
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);
|
|
12107
|
+
setTokenKeys(tokenKeys, correlationId) {
|
|
12108
|
+
if (tokenKeys.idToken.length === 0 &&
|
|
12109
|
+
tokenKeys.accessToken.length === 0 &&
|
|
12110
|
+
tokenKeys.refreshToken.length === 0) {
|
|
12111
|
+
// If no keys left, remove the map
|
|
12112
|
+
this.removeItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`);
|
|
12113
|
+
return;
|
|
12009
12114
|
}
|
|
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);
|
|
12115
|
+
else {
|
|
12116
|
+
this.setItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`, JSON.stringify(tokenKeys), correlationId);
|
|
12057
12117
|
}
|
|
12058
|
-
this.browserStorage.setItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`, JSON.stringify(tokenKeys));
|
|
12059
12118
|
}
|
|
12060
12119
|
/**
|
|
12061
12120
|
* generates idToken entity from a string
|
|
12062
12121
|
* @param idTokenKey
|
|
12063
12122
|
*/
|
|
12064
|
-
getIdTokenCredential(idTokenKey) {
|
|
12123
|
+
getIdTokenCredential(idTokenKey, correlationId) {
|
|
12065
12124
|
const value = this.browserStorage.getUserData(idTokenKey);
|
|
12066
12125
|
if (!value) {
|
|
12067
12126
|
this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit");
|
|
12068
|
-
this.
|
|
12127
|
+
this.removeIdToken(idTokenKey, correlationId);
|
|
12069
12128
|
return null;
|
|
12070
12129
|
}
|
|
12071
12130
|
const parsedIdToken = this.validateAndParseJson(value);
|
|
12072
12131
|
if (!parsedIdToken || !isIdTokenEntity(parsedIdToken)) {
|
|
12073
12132
|
this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit");
|
|
12074
|
-
this.removeTokenKey(idTokenKey, CredentialType.ID_TOKEN);
|
|
12075
12133
|
return null;
|
|
12076
12134
|
}
|
|
12077
12135
|
this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit");
|
|
@@ -12084,25 +12142,31 @@
|
|
|
12084
12142
|
async setIdTokenCredential(idToken, correlationId) {
|
|
12085
12143
|
this.logger.trace("BrowserCacheManager.setIdTokenCredential called");
|
|
12086
12144
|
const idTokenKey = generateCredentialKey(idToken);
|
|
12087
|
-
|
|
12088
|
-
|
|
12145
|
+
const timestamp = Date.now().toString();
|
|
12146
|
+
idToken.lastUpdatedAt = timestamp;
|
|
12147
|
+
await this.setUserData(idTokenKey, JSON.stringify(idToken), correlationId, timestamp);
|
|
12148
|
+
const tokenKeys = this.getTokenKeys();
|
|
12149
|
+
if (tokenKeys.idToken.indexOf(idTokenKey) === -1) {
|
|
12150
|
+
this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map");
|
|
12151
|
+
tokenKeys.idToken.push(idTokenKey);
|
|
12152
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12153
|
+
}
|
|
12089
12154
|
}
|
|
12090
12155
|
/**
|
|
12091
12156
|
* generates accessToken entity from a string
|
|
12092
12157
|
* @param key
|
|
12093
12158
|
*/
|
|
12094
|
-
getAccessTokenCredential(accessTokenKey) {
|
|
12159
|
+
getAccessTokenCredential(accessTokenKey, correlationId) {
|
|
12095
12160
|
const value = this.browserStorage.getUserData(accessTokenKey);
|
|
12096
12161
|
if (!value) {
|
|
12097
12162
|
this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit");
|
|
12098
|
-
this.
|
|
12163
|
+
this.removeAccessTokenKeys([accessTokenKey], correlationId);
|
|
12099
12164
|
return null;
|
|
12100
12165
|
}
|
|
12101
12166
|
const parsedAccessToken = this.validateAndParseJson(value);
|
|
12102
12167
|
if (!parsedAccessToken ||
|
|
12103
12168
|
!isAccessTokenEntity(parsedAccessToken)) {
|
|
12104
12169
|
this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit");
|
|
12105
|
-
this.removeTokenKey(accessTokenKey, CredentialType.ACCESS_TOKEN);
|
|
12106
12170
|
return null;
|
|
12107
12171
|
}
|
|
12108
12172
|
this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit");
|
|
@@ -12115,25 +12179,33 @@
|
|
|
12115
12179
|
async setAccessTokenCredential(accessToken, correlationId) {
|
|
12116
12180
|
this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");
|
|
12117
12181
|
const accessTokenKey = generateCredentialKey(accessToken);
|
|
12118
|
-
|
|
12119
|
-
|
|
12182
|
+
const timestamp = Date.now().toString();
|
|
12183
|
+
accessToken.lastUpdatedAt = timestamp;
|
|
12184
|
+
await this.setUserData(accessTokenKey, JSON.stringify(accessToken), correlationId, timestamp);
|
|
12185
|
+
const tokenKeys = this.getTokenKeys();
|
|
12186
|
+
const index = tokenKeys.accessToken.indexOf(accessTokenKey);
|
|
12187
|
+
if (index !== -1) {
|
|
12188
|
+
tokenKeys.accessToken.splice(index, 1); // Remove existing key before pushing to the end
|
|
12189
|
+
}
|
|
12190
|
+
this.logger.trace(`access token ${index === -1 ? "added to" : "updated in"} map`);
|
|
12191
|
+
tokenKeys.accessToken.push(accessTokenKey);
|
|
12192
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12120
12193
|
}
|
|
12121
12194
|
/**
|
|
12122
12195
|
* generates refreshToken entity from a string
|
|
12123
12196
|
* @param refreshTokenKey
|
|
12124
12197
|
*/
|
|
12125
|
-
getRefreshTokenCredential(refreshTokenKey) {
|
|
12198
|
+
getRefreshTokenCredential(refreshTokenKey, correlationId) {
|
|
12126
12199
|
const value = this.browserStorage.getUserData(refreshTokenKey);
|
|
12127
12200
|
if (!value) {
|
|
12128
12201
|
this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit");
|
|
12129
|
-
this.
|
|
12202
|
+
this.removeRefreshToken(refreshTokenKey, correlationId);
|
|
12130
12203
|
return null;
|
|
12131
12204
|
}
|
|
12132
12205
|
const parsedRefreshToken = this.validateAndParseJson(value);
|
|
12133
12206
|
if (!parsedRefreshToken ||
|
|
12134
12207
|
!isRefreshTokenEntity(parsedRefreshToken)) {
|
|
12135
12208
|
this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit");
|
|
12136
|
-
this.removeTokenKey(refreshTokenKey, CredentialType.REFRESH_TOKEN);
|
|
12137
12209
|
return null;
|
|
12138
12210
|
}
|
|
12139
12211
|
this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit");
|
|
@@ -12146,8 +12218,15 @@
|
|
|
12146
12218
|
async setRefreshTokenCredential(refreshToken, correlationId) {
|
|
12147
12219
|
this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");
|
|
12148
12220
|
const refreshTokenKey = generateCredentialKey(refreshToken);
|
|
12149
|
-
|
|
12150
|
-
|
|
12221
|
+
const timestamp = Date.now().toString();
|
|
12222
|
+
refreshToken.lastUpdatedAt = timestamp;
|
|
12223
|
+
await this.setUserData(refreshTokenKey, JSON.stringify(refreshToken), correlationId, timestamp);
|
|
12224
|
+
const tokenKeys = this.getTokenKeys();
|
|
12225
|
+
if (tokenKeys.refreshToken.indexOf(refreshTokenKey) === -1) {
|
|
12226
|
+
this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map");
|
|
12227
|
+
tokenKeys.refreshToken.push(refreshTokenKey);
|
|
12228
|
+
this.setTokenKeys(tokenKeys, correlationId);
|
|
12229
|
+
}
|
|
12151
12230
|
}
|
|
12152
12231
|
/**
|
|
12153
12232
|
* fetch appMetadata entity from the platform cache
|
|
@@ -12172,10 +12251,10 @@
|
|
|
12172
12251
|
* set appMetadata entity to the platform cache
|
|
12173
12252
|
* @param appMetadata
|
|
12174
12253
|
*/
|
|
12175
|
-
setAppMetadata(appMetadata) {
|
|
12254
|
+
setAppMetadata(appMetadata, correlationId) {
|
|
12176
12255
|
this.logger.trace("BrowserCacheManager.setAppMetadata called");
|
|
12177
12256
|
const appMetadataKey = generateAppMetadataKey(appMetadata);
|
|
12178
|
-
this.
|
|
12257
|
+
this.setItem(appMetadataKey, JSON.stringify(appMetadata), correlationId);
|
|
12179
12258
|
}
|
|
12180
12259
|
/**
|
|
12181
12260
|
* fetch server telemetry entity from the platform cache
|
|
@@ -12201,9 +12280,9 @@
|
|
|
12201
12280
|
* @param serverTelemetryKey
|
|
12202
12281
|
* @param serverTelemetry
|
|
12203
12282
|
*/
|
|
12204
|
-
setServerTelemetry(serverTelemetryKey, serverTelemetry) {
|
|
12283
|
+
setServerTelemetry(serverTelemetryKey, serverTelemetry, correlationId) {
|
|
12205
12284
|
this.logger.trace("BrowserCacheManager.setServerTelemetry called");
|
|
12206
|
-
this.
|
|
12285
|
+
this.setItem(serverTelemetryKey, JSON.stringify(serverTelemetry), correlationId);
|
|
12207
12286
|
}
|
|
12208
12287
|
/**
|
|
12209
12288
|
*
|
|
@@ -12261,7 +12340,7 @@
|
|
|
12261
12340
|
/**
|
|
12262
12341
|
* Gets the active account
|
|
12263
12342
|
*/
|
|
12264
|
-
getActiveAccount() {
|
|
12343
|
+
getActiveAccount(correlationId) {
|
|
12265
12344
|
const activeAccountKeyFilters = this.generateCacheKey(PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
|
|
12266
12345
|
const activeAccountValueFilters = this.browserStorage.getItem(activeAccountKeyFilters);
|
|
12267
12346
|
if (!activeAccountValueFilters) {
|
|
@@ -12275,7 +12354,7 @@
|
|
|
12275
12354
|
homeAccountId: activeAccountValueObj.homeAccountId,
|
|
12276
12355
|
localAccountId: activeAccountValueObj.localAccountId,
|
|
12277
12356
|
tenantId: activeAccountValueObj.tenantId,
|
|
12278
|
-
});
|
|
12357
|
+
}, correlationId);
|
|
12279
12358
|
}
|
|
12280
12359
|
this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found");
|
|
12281
12360
|
return null;
|
|
@@ -12284,7 +12363,7 @@
|
|
|
12284
12363
|
* Sets the active account's localAccountId in cache
|
|
12285
12364
|
* @param account
|
|
12286
12365
|
*/
|
|
12287
|
-
setActiveAccount(account) {
|
|
12366
|
+
setActiveAccount(account, correlationId) {
|
|
12288
12367
|
const activeAccountKey = this.generateCacheKey(PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
|
|
12289
12368
|
if (account) {
|
|
12290
12369
|
this.logger.verbose("setActiveAccount: Active account set");
|
|
@@ -12292,8 +12371,9 @@
|
|
|
12292
12371
|
homeAccountId: account.homeAccountId,
|
|
12293
12372
|
localAccountId: account.localAccountId,
|
|
12294
12373
|
tenantId: account.tenantId,
|
|
12374
|
+
lastUpdatedAt: nowSeconds().toString(),
|
|
12295
12375
|
};
|
|
12296
|
-
this.
|
|
12376
|
+
this.setItem(activeAccountKey, JSON.stringify(activeAccountValue), correlationId);
|
|
12297
12377
|
}
|
|
12298
12378
|
else {
|
|
12299
12379
|
this.logger.verbose("setActiveAccount: No account passed, active account not set");
|
|
@@ -12325,9 +12405,9 @@
|
|
|
12325
12405
|
* @param throttlingCacheKey
|
|
12326
12406
|
* @param throttlingCache
|
|
12327
12407
|
*/
|
|
12328
|
-
setThrottlingCache(throttlingCacheKey, throttlingCache) {
|
|
12408
|
+
setThrottlingCache(throttlingCacheKey, throttlingCache, correlationId) {
|
|
12329
12409
|
this.logger.trace("BrowserCacheManager.setThrottlingCache called");
|
|
12330
|
-
this.
|
|
12410
|
+
this.setItem(throttlingCacheKey, JSON.stringify(throttlingCache), correlationId);
|
|
12331
12411
|
}
|
|
12332
12412
|
/**
|
|
12333
12413
|
* Gets cache item with given key.
|
|
@@ -12406,7 +12486,7 @@
|
|
|
12406
12486
|
clear(correlationId) {
|
|
12407
12487
|
// Removes all accounts and their credentials
|
|
12408
12488
|
this.removeAllAccounts(correlationId);
|
|
12409
|
-
this.removeAppMetadata();
|
|
12489
|
+
this.removeAppMetadata(correlationId);
|
|
12410
12490
|
// Remove temp storage first to make sure any cookies are cleared
|
|
12411
12491
|
this.temporaryCacheStorage.getKeys().forEach((cacheKey) => {
|
|
12412
12492
|
if (cacheKey.indexOf(Constants.CACHE_PREFIX) !== -1 ||
|
|
@@ -12435,7 +12515,7 @@
|
|
|
12435
12515
|
let removedAccessTokens = 0;
|
|
12436
12516
|
tokenKeys.accessToken.forEach((key) => {
|
|
12437
12517
|
// if the access token has claims in its key, remove the token key and the token
|
|
12438
|
-
const credential = this.getAccessTokenCredential(key);
|
|
12518
|
+
const credential = this.getAccessTokenCredential(key, correlationId);
|
|
12439
12519
|
if (credential?.requestedClaimsHash &&
|
|
12440
12520
|
key.includes(credential.requestedClaimsHash.toLowerCase())) {
|
|
12441
12521
|
this.removeAccessToken(key, correlationId);
|
|
@@ -12671,22 +12751,24 @@
|
|
|
12671
12751
|
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
|
12672
12752
|
* @returns Array of AccountInfo objects in cache
|
|
12673
12753
|
*/
|
|
12674
|
-
function getAllAccounts(logger, browserStorage, isInBrowser, accountFilter) {
|
|
12754
|
+
function getAllAccounts(logger, browserStorage, isInBrowser, correlationId, accountFilter) {
|
|
12675
12755
|
logger.verbose("getAllAccounts called");
|
|
12676
|
-
return isInBrowser
|
|
12756
|
+
return isInBrowser
|
|
12757
|
+
? browserStorage.getAllAccounts(accountFilter || {}, correlationId)
|
|
12758
|
+
: [];
|
|
12677
12759
|
}
|
|
12678
12760
|
/**
|
|
12679
12761
|
* Returns the first account found in the cache that matches the account filter passed in.
|
|
12680
12762
|
* @param accountFilter
|
|
12681
12763
|
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
|
12682
12764
|
*/
|
|
12683
|
-
function getAccount(accountFilter, logger, browserStorage) {
|
|
12765
|
+
function getAccount(accountFilter, logger, browserStorage, correlationId) {
|
|
12684
12766
|
logger.trace("getAccount called");
|
|
12685
12767
|
if (Object.keys(accountFilter).length === 0) {
|
|
12686
12768
|
logger.warning("getAccount: No accountFilter provided");
|
|
12687
12769
|
return null;
|
|
12688
12770
|
}
|
|
12689
|
-
const account = browserStorage.getAccountInfoFilteredBy(accountFilter);
|
|
12771
|
+
const account = browserStorage.getAccountInfoFilteredBy(accountFilter, correlationId);
|
|
12690
12772
|
if (account) {
|
|
12691
12773
|
logger.verbose("getAccount: Account matching provided filter found, returning");
|
|
12692
12774
|
return account;
|
|
@@ -12704,7 +12786,7 @@
|
|
|
12704
12786
|
* @param username
|
|
12705
12787
|
* @returns The account object stored in MSAL
|
|
12706
12788
|
*/
|
|
12707
|
-
function getAccountByUsername(username, logger, browserStorage) {
|
|
12789
|
+
function getAccountByUsername(username, logger, browserStorage, correlationId) {
|
|
12708
12790
|
logger.trace("getAccountByUsername called");
|
|
12709
12791
|
if (!username) {
|
|
12710
12792
|
logger.warning("getAccountByUsername: No username provided");
|
|
@@ -12712,7 +12794,7 @@
|
|
|
12712
12794
|
}
|
|
12713
12795
|
const account = browserStorage.getAccountInfoFilteredBy({
|
|
12714
12796
|
username,
|
|
12715
|
-
});
|
|
12797
|
+
}, correlationId);
|
|
12716
12798
|
if (account) {
|
|
12717
12799
|
logger.verbose("getAccountByUsername: Account matching username found, returning");
|
|
12718
12800
|
logger.verbosePii(`getAccountByUsername: Returning signed-in accounts matching username: ${username}`);
|
|
@@ -12730,7 +12812,7 @@
|
|
|
12730
12812
|
* @param homeAccountId
|
|
12731
12813
|
* @returns The account object stored in MSAL
|
|
12732
12814
|
*/
|
|
12733
|
-
function getAccountByHomeId(homeAccountId, logger, browserStorage) {
|
|
12815
|
+
function getAccountByHomeId(homeAccountId, logger, browserStorage, correlationId) {
|
|
12734
12816
|
logger.trace("getAccountByHomeId called");
|
|
12735
12817
|
if (!homeAccountId) {
|
|
12736
12818
|
logger.warning("getAccountByHomeId: No homeAccountId provided");
|
|
@@ -12738,7 +12820,7 @@
|
|
|
12738
12820
|
}
|
|
12739
12821
|
const account = browserStorage.getAccountInfoFilteredBy({
|
|
12740
12822
|
homeAccountId,
|
|
12741
|
-
});
|
|
12823
|
+
}, correlationId);
|
|
12742
12824
|
if (account) {
|
|
12743
12825
|
logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning");
|
|
12744
12826
|
logger.verbosePii(`getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ${homeAccountId}`);
|
|
@@ -12756,7 +12838,7 @@
|
|
|
12756
12838
|
* @param localAccountId
|
|
12757
12839
|
* @returns The account object stored in MSAL
|
|
12758
12840
|
*/
|
|
12759
|
-
function getAccountByLocalId(localAccountId, logger, browserStorage) {
|
|
12841
|
+
function getAccountByLocalId(localAccountId, logger, browserStorage, correlationId) {
|
|
12760
12842
|
logger.trace("getAccountByLocalId called");
|
|
12761
12843
|
if (!localAccountId) {
|
|
12762
12844
|
logger.warning("getAccountByLocalId: No localAccountId provided");
|
|
@@ -12764,7 +12846,7 @@
|
|
|
12764
12846
|
}
|
|
12765
12847
|
const account = browserStorage.getAccountInfoFilteredBy({
|
|
12766
12848
|
localAccountId,
|
|
12767
|
-
});
|
|
12849
|
+
}, correlationId);
|
|
12768
12850
|
if (account) {
|
|
12769
12851
|
logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning");
|
|
12770
12852
|
logger.verbosePii(`getAccountByLocalId: Returning signed-in accounts matching localAccountId: ${localAccountId}`);
|
|
@@ -12779,14 +12861,14 @@
|
|
|
12779
12861
|
* 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
12862
|
* @param account
|
|
12781
12863
|
*/
|
|
12782
|
-
function setActiveAccount(account, browserStorage) {
|
|
12783
|
-
browserStorage.setActiveAccount(account);
|
|
12864
|
+
function setActiveAccount(account, browserStorage, correlationId) {
|
|
12865
|
+
browserStorage.setActiveAccount(account, correlationId);
|
|
12784
12866
|
}
|
|
12785
12867
|
/**
|
|
12786
12868
|
* Gets the currently active account
|
|
12787
12869
|
*/
|
|
12788
|
-
function getActiveAccount(browserStorage) {
|
|
12789
|
-
return browserStorage.getActiveAccount();
|
|
12870
|
+
function getActiveAccount(browserStorage, correlationId) {
|
|
12871
|
+
return browserStorage.getActiveAccount(correlationId);
|
|
12790
12872
|
}
|
|
12791
12873
|
|
|
12792
12874
|
/*
|
|
@@ -12910,15 +12992,15 @@
|
|
|
12910
12992
|
this.logger = logger.clone(BrowserConstants.MSAL_SKU, version, this.correlationId);
|
|
12911
12993
|
this.performanceClient = performanceClient;
|
|
12912
12994
|
}
|
|
12913
|
-
async clearCacheOnLogout(account) {
|
|
12995
|
+
async clearCacheOnLogout(correlationId, account) {
|
|
12914
12996
|
if (account) {
|
|
12915
|
-
if (AccountEntity.accountInfoIsEqual(account, this.browserStorage.getActiveAccount(), false)) {
|
|
12997
|
+
if (AccountEntity.accountInfoIsEqual(account, this.browserStorage.getActiveAccount(correlationId), false)) {
|
|
12916
12998
|
this.logger.verbose("Setting active account to null");
|
|
12917
|
-
this.browserStorage.setActiveAccount(null);
|
|
12999
|
+
this.browserStorage.setActiveAccount(null, correlationId);
|
|
12918
13000
|
}
|
|
12919
13001
|
// Clear given account.
|
|
12920
13002
|
try {
|
|
12921
|
-
this.browserStorage.removeAccount(AccountEntity.generateAccountCacheKey(account),
|
|
13003
|
+
this.browserStorage.removeAccount(AccountEntity.generateAccountCacheKey(account), correlationId);
|
|
12922
13004
|
this.logger.verbose("Cleared cache items belonging to the account provided in the logout request.");
|
|
12923
13005
|
}
|
|
12924
13006
|
catch (error) {
|
|
@@ -12929,7 +13011,7 @@
|
|
|
12929
13011
|
try {
|
|
12930
13012
|
this.logger.verbose("No account provided in logout request, clearing all cache items.", this.correlationId);
|
|
12931
13013
|
// Clear all accounts and tokens
|
|
12932
|
-
this.browserStorage.clear(
|
|
13014
|
+
this.browserStorage.clear(correlationId);
|
|
12933
13015
|
// Clear any stray keys from IndexedDB
|
|
12934
13016
|
await this.browserCrypto.clearKeystore();
|
|
12935
13017
|
}
|
|
@@ -13251,7 +13333,8 @@
|
|
|
13251
13333
|
if (request.loginHint || request.sid) {
|
|
13252
13334
|
return validatedRequest;
|
|
13253
13335
|
}
|
|
13254
|
-
const account = request.account ||
|
|
13336
|
+
const account = request.account ||
|
|
13337
|
+
this.browserStorage.getActiveAccount(this.correlationId);
|
|
13255
13338
|
if (account) {
|
|
13256
13339
|
this.logger.verbose("Setting validated request account", this.correlationId);
|
|
13257
13340
|
this.logger.verbosePii(`Setting validated request account: ${account.homeAccountId}`, this.correlationId);
|
|
@@ -13541,7 +13624,7 @@
|
|
|
13541
13624
|
logout(logoutRequest) {
|
|
13542
13625
|
this.logger.verbose("logoutRedirect called");
|
|
13543
13626
|
const validLogoutRequest = this.initializeLogoutRequest(logoutRequest);
|
|
13544
|
-
return this.clearCacheOnLogout(validLogoutRequest?.account);
|
|
13627
|
+
return this.clearCacheOnLogout(validLogoutRequest.correlationId, validLogoutRequest?.account);
|
|
13545
13628
|
}
|
|
13546
13629
|
}
|
|
13547
13630
|
|
|
@@ -13665,7 +13748,7 @@
|
|
|
13665
13748
|
// fetch the account from browser cache
|
|
13666
13749
|
const account = this.browserStorage.getBaseAccountInfo({
|
|
13667
13750
|
nativeAccountId,
|
|
13668
|
-
});
|
|
13751
|
+
}, this.correlationId);
|
|
13669
13752
|
if (!account) {
|
|
13670
13753
|
throw createClientAuthError(noAccountFound);
|
|
13671
13754
|
}
|
|
@@ -13781,7 +13864,7 @@
|
|
|
13781
13864
|
const homeAccountIdentifier = this.createHomeAccountIdentifier(response, idTokenClaims);
|
|
13782
13865
|
const cachedhomeAccountId = this.browserStorage.getAccountInfoFilteredBy({
|
|
13783
13866
|
nativeAccountId: request.accountId,
|
|
13784
|
-
})?.homeAccountId;
|
|
13867
|
+
}, this.correlationId)?.homeAccountId;
|
|
13785
13868
|
// add exception for double brokering, please note this is temporary and will be fortified in future
|
|
13786
13869
|
if (request.extraParameters?.child_client_id &&
|
|
13787
13870
|
response.account.id !== request.accountId) {
|
|
@@ -13796,7 +13879,7 @@
|
|
|
13796
13879
|
const authority = await this.getDiscoveredAuthority({
|
|
13797
13880
|
requestAuthority: request.authority,
|
|
13798
13881
|
});
|
|
13799
|
-
const baseAccount = buildAccountToCache(this.browserStorage, authority, homeAccountIdentifier, base64Decode, idTokenClaims, response.client_info, undefined, // environment
|
|
13882
|
+
const baseAccount = buildAccountToCache(this.browserStorage, authority, homeAccountIdentifier, base64Decode, this.correlationId, idTokenClaims, response.client_info, undefined, // environment
|
|
13800
13883
|
idTokenClaims.tid, undefined, // auth code payload
|
|
13801
13884
|
response.account.id, this.logger);
|
|
13802
13885
|
// Ensure expires_in is in number format
|
|
@@ -13804,7 +13887,7 @@
|
|
|
13804
13887
|
// generate authenticationResult
|
|
13805
13888
|
const result = await this.generateAuthenticationResult(response, request, idTokenClaims, baseAccount, authority.canonicalAuthority, reqTimestamp);
|
|
13806
13889
|
// cache accounts and tokens in the appropriate storage
|
|
13807
|
-
await this.cacheAccount(baseAccount);
|
|
13890
|
+
await this.cacheAccount(baseAccount, this.correlationId);
|
|
13808
13891
|
await this.cacheNativeTokens(response, request, homeAccountIdentifier, idTokenClaims, response.access_token, result.tenantId, reqTimestamp);
|
|
13809
13892
|
return result;
|
|
13810
13893
|
}
|
|
@@ -13928,11 +14011,11 @@
|
|
|
13928
14011
|
* cache the account entity in browser storage
|
|
13929
14012
|
* @param accountEntity
|
|
13930
14013
|
*/
|
|
13931
|
-
async cacheAccount(accountEntity) {
|
|
14014
|
+
async cacheAccount(accountEntity, correlationId) {
|
|
13932
14015
|
// Store the account info and hence `nativeAccountId` in browser cache
|
|
13933
14016
|
await this.browserStorage.setAccount(accountEntity, this.correlationId);
|
|
13934
14017
|
// Remove any existing cached tokens for this account in browser storage
|
|
13935
|
-
this.browserStorage.removeAccountContext(accountEntity,
|
|
14018
|
+
this.browserStorage.removeAccountContext(accountEntity, correlationId);
|
|
13936
14019
|
}
|
|
13937
14020
|
/**
|
|
13938
14021
|
* Stores the access_token and id_token in inmemory storage
|
|
@@ -15102,7 +15185,7 @@
|
|
|
15102
15185
|
const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.logoutPopup);
|
|
15103
15186
|
try {
|
|
15104
15187
|
// Clear cache on logout
|
|
15105
|
-
await this.clearCacheOnLogout(validRequest.account);
|
|
15188
|
+
await this.clearCacheOnLogout(this.correlationId, validRequest.account);
|
|
15106
15189
|
// Initialize the client
|
|
15107
15190
|
const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
|
|
15108
15191
|
serverTelemetryManager,
|
|
@@ -15480,6 +15563,11 @@
|
|
|
15480
15563
|
this.browserStorage.cacheAuthorizeRequest(redirectRequest);
|
|
15481
15564
|
const form = await getEARForm(document, this.config, discoveredAuthority, redirectRequest, this.logger, this.performanceClient);
|
|
15482
15565
|
form.submit();
|
|
15566
|
+
return new Promise((resolve, reject) => {
|
|
15567
|
+
setTimeout(() => {
|
|
15568
|
+
reject(createBrowserAuthError(timedOut, "failed_to_redirect"));
|
|
15569
|
+
}, this.config.system.redirectNavigationTimeout);
|
|
15570
|
+
});
|
|
15483
15571
|
}
|
|
15484
15572
|
/**
|
|
15485
15573
|
* Checks if navigateToLoginRequestUrl is set, and:
|
|
@@ -15694,7 +15782,7 @@
|
|
|
15694
15782
|
try {
|
|
15695
15783
|
this.eventHandler.emitEvent(EventType.LOGOUT_START, exports.InteractionType.Redirect, logoutRequest);
|
|
15696
15784
|
// Clear cache on logout
|
|
15697
|
-
await this.clearCacheOnLogout(validLogoutRequest.account);
|
|
15785
|
+
await this.clearCacheOnLogout(this.correlationId, validLogoutRequest.account);
|
|
15698
15786
|
const navigationOptions = {
|
|
15699
15787
|
apiId: ApiId.logout,
|
|
15700
15788
|
timeout: this.config.system.redirectNavigationTimeout,
|
|
@@ -16189,7 +16277,7 @@
|
|
|
16189
16277
|
}
|
|
16190
16278
|
const homeAccountId = AccountEntity.generateHomeAccountId(clientInfo, authority.authorityType, this.logger, this.cryptoObj, idTokenClaims);
|
|
16191
16279
|
const claimsTenantId = idTokenClaims?.tid;
|
|
16192
|
-
const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
|
|
16280
|
+
const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
|
|
16193
16281
|
undefined, // nativeAccountId
|
|
16194
16282
|
this.logger);
|
|
16195
16283
|
await this.storage.setAccount(cachedAccount, correlationId);
|
|
@@ -17227,7 +17315,8 @@
|
|
|
17227
17315
|
* @returns Array of AccountInfo objects in cache
|
|
17228
17316
|
*/
|
|
17229
17317
|
getAllAccounts(accountFilter) {
|
|
17230
|
-
|
|
17318
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17319
|
+
return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnvironment, correlationId, accountFilter);
|
|
17231
17320
|
}
|
|
17232
17321
|
/**
|
|
17233
17322
|
* Returns the first account found in the cache that matches the account filter passed in.
|
|
@@ -17235,7 +17324,8 @@
|
|
|
17235
17324
|
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
|
17236
17325
|
*/
|
|
17237
17326
|
getAccount(accountFilter) {
|
|
17238
|
-
|
|
17327
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17328
|
+
return getAccount(accountFilter, this.logger, this.browserStorage, correlationId);
|
|
17239
17329
|
}
|
|
17240
17330
|
/**
|
|
17241
17331
|
* Returns the signed in account matching username.
|
|
@@ -17246,7 +17336,8 @@
|
|
|
17246
17336
|
* @returns The account object stored in MSAL
|
|
17247
17337
|
*/
|
|
17248
17338
|
getAccountByUsername(username) {
|
|
17249
|
-
|
|
17339
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17340
|
+
return getAccountByUsername(username, this.logger, this.browserStorage, correlationId);
|
|
17250
17341
|
}
|
|
17251
17342
|
/**
|
|
17252
17343
|
* Returns the signed in account matching homeAccountId.
|
|
@@ -17256,7 +17347,8 @@
|
|
|
17256
17347
|
* @returns The account object stored in MSAL
|
|
17257
17348
|
*/
|
|
17258
17349
|
getAccountByHomeId(homeAccountId) {
|
|
17259
|
-
|
|
17350
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17351
|
+
return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage, correlationId);
|
|
17260
17352
|
}
|
|
17261
17353
|
/**
|
|
17262
17354
|
* Returns the signed in account matching localAccountId.
|
|
@@ -17266,20 +17358,23 @@
|
|
|
17266
17358
|
* @returns The account object stored in MSAL
|
|
17267
17359
|
*/
|
|
17268
17360
|
getAccountByLocalId(localAccountId) {
|
|
17269
|
-
|
|
17361
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17362
|
+
return getAccountByLocalId(localAccountId, this.logger, this.browserStorage, correlationId);
|
|
17270
17363
|
}
|
|
17271
17364
|
/**
|
|
17272
17365
|
* 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
17366
|
* @param account
|
|
17274
17367
|
*/
|
|
17275
17368
|
setActiveAccount(account) {
|
|
17276
|
-
|
|
17369
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17370
|
+
setActiveAccount(account, this.browserStorage, correlationId);
|
|
17277
17371
|
}
|
|
17278
17372
|
/**
|
|
17279
17373
|
* Gets the currently active account
|
|
17280
17374
|
*/
|
|
17281
17375
|
getActiveAccount() {
|
|
17282
|
-
|
|
17376
|
+
const correlationId = this.getRequestCorrelationId();
|
|
17377
|
+
return getActiveAccount(this.browserStorage, correlationId);
|
|
17283
17378
|
}
|
|
17284
17379
|
// #endregion
|
|
17285
17380
|
/**
|
|
@@ -17619,9 +17714,7 @@
|
|
|
17619
17714
|
async acquireTokenSilentDeduped(request, account, correlationId) {
|
|
17620
17715
|
const thumbprint = getRequestThumbprint(this.config.auth.clientId, {
|
|
17621
17716
|
...request,
|
|
17622
|
-
authority: request.authority || this.config.auth.authority,
|
|
17623
|
-
correlationId: correlationId,
|
|
17624
|
-
}, account.homeAccountId);
|
|
17717
|
+
authority: request.authority || this.config.auth.authority}, account.homeAccountId);
|
|
17625
17718
|
const silentRequestKey = JSON.stringify(thumbprint);
|
|
17626
17719
|
const inProgressRequest = this.activeSilentTokenRequests.get(silentRequestKey);
|
|
17627
17720
|
if (typeof inProgressRequest === "undefined") {
|
|
@@ -18283,8 +18376,9 @@
|
|
|
18283
18376
|
// always prioritize the account context from the bridge
|
|
18284
18377
|
const accountContext = this.bridgeProxy.getAccountContext() || this.currentAccountContext;
|
|
18285
18378
|
let currentAccount = null;
|
|
18379
|
+
const correlationId = request.correlationId || this.browserCrypto.createNewGuid();
|
|
18286
18380
|
if (accountContext) {
|
|
18287
|
-
currentAccount = getAccount(accountContext, this.logger, this.browserStorage);
|
|
18381
|
+
currentAccount = getAccount(accountContext, this.logger, this.browserStorage, correlationId);
|
|
18288
18382
|
}
|
|
18289
18383
|
// fall back to brokering if no cached account is found
|
|
18290
18384
|
if (!currentAccount) {
|
|
@@ -18313,7 +18407,7 @@
|
|
|
18313
18407
|
this.logger.verbose("Cached access token has expired");
|
|
18314
18408
|
return Promise.resolve(null);
|
|
18315
18409
|
}
|
|
18316
|
-
const cachedIdToken = this.browserStorage.getIdToken(currentAccount, tokenKeys, currentAccount.tenantId, this.performanceClient
|
|
18410
|
+
const cachedIdToken = this.browserStorage.getIdToken(currentAccount, authRequest.correlationId, tokenKeys, currentAccount.tenantId, this.performanceClient);
|
|
18317
18411
|
if (!cachedIdToken) {
|
|
18318
18412
|
this.logger.verbose("No cached id token found");
|
|
18319
18413
|
return Promise.resolve(null);
|
|
@@ -18410,7 +18504,8 @@
|
|
|
18410
18504
|
* @returns Array of AccountInfo objects in cache
|
|
18411
18505
|
*/
|
|
18412
18506
|
getAllAccounts(accountFilter) {
|
|
18413
|
-
|
|
18507
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18508
|
+
return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnv(), correlationId, accountFilter);
|
|
18414
18509
|
}
|
|
18415
18510
|
/**
|
|
18416
18511
|
* Returns the first account found in the cache that matches the account filter passed in.
|
|
@@ -18418,7 +18513,8 @@
|
|
|
18418
18513
|
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
|
18419
18514
|
*/
|
|
18420
18515
|
getAccount(accountFilter) {
|
|
18421
|
-
|
|
18516
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18517
|
+
return getAccount(accountFilter, this.logger, this.browserStorage, correlationId);
|
|
18422
18518
|
}
|
|
18423
18519
|
/**
|
|
18424
18520
|
* Returns the signed in account matching username.
|
|
@@ -18429,7 +18525,8 @@
|
|
|
18429
18525
|
* @returns The account object stored in MSAL
|
|
18430
18526
|
*/
|
|
18431
18527
|
getAccountByUsername(username) {
|
|
18432
|
-
|
|
18528
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18529
|
+
return getAccountByUsername(username, this.logger, this.browserStorage, correlationId);
|
|
18433
18530
|
}
|
|
18434
18531
|
/**
|
|
18435
18532
|
* Returns the signed in account matching homeAccountId.
|
|
@@ -18439,7 +18536,8 @@
|
|
|
18439
18536
|
* @returns The account object stored in MSAL
|
|
18440
18537
|
*/
|
|
18441
18538
|
getAccountByHomeId(homeAccountId) {
|
|
18442
|
-
|
|
18539
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18540
|
+
return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage, correlationId);
|
|
18443
18541
|
}
|
|
18444
18542
|
/**
|
|
18445
18543
|
* Returns the signed in account matching localAccountId.
|
|
@@ -18449,7 +18547,8 @@
|
|
|
18449
18547
|
* @returns The account object stored in MSAL
|
|
18450
18548
|
*/
|
|
18451
18549
|
getAccountByLocalId(localAccountId) {
|
|
18452
|
-
|
|
18550
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18551
|
+
return getAccountByLocalId(localAccountId, this.logger, this.browserStorage, correlationId);
|
|
18453
18552
|
}
|
|
18454
18553
|
/**
|
|
18455
18554
|
* 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 +18559,15 @@
|
|
|
18460
18559
|
* StandardController uses this to allow the developer to set the active account
|
|
18461
18560
|
* in the nested app auth scenario the active account is controlled by the app hosting the nested app
|
|
18462
18561
|
*/
|
|
18463
|
-
|
|
18562
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18563
|
+
return setActiveAccount(account, this.browserStorage, correlationId);
|
|
18464
18564
|
}
|
|
18465
18565
|
/**
|
|
18466
18566
|
* Gets the currently active account
|
|
18467
18567
|
*/
|
|
18468
18568
|
getActiveAccount() {
|
|
18469
|
-
|
|
18569
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
18570
|
+
return getActiveAccount(this.browserStorage, correlationId);
|
|
18470
18571
|
}
|
|
18471
18572
|
// #endregion
|
|
18472
18573
|
handleRedirectPromise(hash // eslint-disable-line @typescript-eslint/no-unused-vars
|