tntd 1.4.28 → 1.4.30
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/common/temp/publish-home/.npm/_logs/2023-02-24T09_28_35_585Z-debug-0.log +39 -0
- package/common/temp/publish-home/.npm/_logs/2023-02-24T09_29_14_285Z-debug-0.log +1426 -0
- package/common/temp/publish-home/.npm/_logs/2023-03-07T06_11_25_569Z-debug-0.log +39 -0
- package/common/temp/publish-home/.npm/_logs/2023-03-07T06_11_28_924Z-debug-0.log +1426 -0
- package/common/temp/publish-home/.npm/_logs/2023-03-08T11_15_34_815Z-debug-0.log +34 -0
- package/common/temp/publish-home/.npm/_logs/2023-03-08T11_18_04_372Z-debug-0.log +34 -0
- package/common/temp/publish-home/.npm/_logs/2023-03-08T11_22_54_526Z-debug-0.log +34 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/abort-controller/dist/index.js +239 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/abort-controller/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-auth/dist/index.js +215 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-auth/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-client/dist/index.js +2171 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-client/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-http/dist/index.js +5500 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-http/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-lro/dist/index.js +1171 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-lro/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-paging/dist/index.js +104 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-paging/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-rest-pipeline/dist/index.js +2282 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-rest-pipeline/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-tracing/dist/index.js +184 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-tracing/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-util/dist/index.js +217 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-util/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/identity/dist/index.js +3727 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/identity/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/logger/dist/index.js +208 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/logger/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/_virtual/_tslib.js +117 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/_virtual/_tslib.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.d.ts +333 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.js +1039 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.d.ts +46 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.js +103 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.d.ts +71 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.js +278 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.d.ts +60 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.js +261 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeRequest.d.ts +44 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeResponse.d.ts +49 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.d.ts +52 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.js +210 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.d.ts +319 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.js +975 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.d.ts +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.js +43 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.d.ts +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.js +58 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.d.ts +57 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.js +262 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IAsyncMemoryStorage.d.ts +28 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IAsyncMemoryStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/ITokenCache.d.ts +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/ITokenCache.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IWindowStorage.d.ts +28 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IWindowStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.d.ts +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.js +37 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.d.ts +77 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.js +227 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.d.ts +196 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.js +86 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.d.ts +62 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.js +167 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.d.ts +74 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.js +223 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.js +93 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ISubtleCrypto.d.ts +10 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ISubtleCrypto.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.d.ts +10 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.js +55 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.d.ts +10 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.js +112 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.d.ts +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.js +59 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.d.ts +25 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.js +87 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.d.ts +31 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.js +70 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.d.ts +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.js +82 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.d.ts +32 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.js +88 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.d.ts +375 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.js +482 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.d.ts +71 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.js +107 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.d.ts +57 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.js +97 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.d.ts +42 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.js +127 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.d.ts +26 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.js +71 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.d.ts +27 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.js +36 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.cjs.js +17467 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.cjs.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.d.ts +36 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.js +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.d.ts +53 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.js +179 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.d.ts +86 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.js +480 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.d.ts +112 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.js +513 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.d.ts +49 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.js +353 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.d.ts +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.js +87 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.d.ts +22 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.js +108 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.d.ts +32 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.js +158 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.d.ts +20 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.js +100 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.d.ts +60 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.js +308 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.d.ts +40 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.js +162 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.d.ts +25 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.js +145 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.d.ts +48 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.js +161 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.js +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/INavigationClient.d.ts +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/INavigationClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.d.ts +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.js +48 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationOptions.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationOptions.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.d.ts +27 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.js +138 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.d.ts +41 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.js +138 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.d.ts +3 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.js +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationCodeRequest.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationUrlRequest.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationUrlRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionPopupRequest.d.ts +19 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionPopupRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionRequest.d.ts +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupRequest.d.ts +33 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupWindowAttributes.d.ts +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupWindowAttributes.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/RedirectRequest.d.ts +34 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/RedirectRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SilentRequest.d.ts +31 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SilentRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SsoSilentRequest.d.ts +27 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SsoSilentRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.d.ts +37 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.js +108 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.js +66 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.d.ts +163 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.js +216 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.d.ts +19 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.js +44 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.d.ts +27 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.js +122 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.d.ts +66 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.js +147 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.d.ts +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.js +29 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/_virtual/_tslib.js +90 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/_virtual/_tslib.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AccountInfo.d.ts +32 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AccountInfo.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.js +57 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.js +14 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientCredentials.d.ts +15 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientCredentials.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.d.ts +20 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.js +44 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/DecodedAuthToken.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/DecodedAuthToken.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/TokenClaims.d.ts +61 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/TokenClaims.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.d.ts +202 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.js +688 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.d.ts +29 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.js +69 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts +623 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.js +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.d.ts +19 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.js +24 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.js +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegion.d.ts +2 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegion.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts +6 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts +6 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts +10 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ImdsOptions.d.ts +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ImdsOptions.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.js +15 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.d.ts +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.js +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.d.ts +28 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.js +127 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.d.ts +393 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.js +890 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts +57 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js +124 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts +100 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.js +247 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts +40 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js +74 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts +48 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js +82 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts +14 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.js +19 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts +94 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.js +164 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts +35 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.js +70 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts +37 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js +73 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js +35 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts +14 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js +32 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts +157 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts +6 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts +5 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts +24 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js +39 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts +60 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts +76 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.js +470 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.d.ts +45 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.js +103 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.d.ts +39 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.js +202 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.d.ts +52 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.js +232 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.d.ts +51 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.js +244 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.d.ts +40 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.js +284 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.d.ts +25 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.js +136 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.d.ts +29 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.js +120 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/AppTokenProvider.d.ts +39 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/AppTokenProvider.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.d.ts +135 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.js +105 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.d.ts +63 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.js +80 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts +5 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.d.ts +22 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.js +45 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts +56 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.js +107 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.d.ts +48 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.js +61 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.d.ts +389 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.js +500 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.d.ts +199 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.js +260 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts +42 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.js +80 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.d.ts +29 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.js +50 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.d.ts +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.js +25 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.cjs.js +8611 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.cjs.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.d.ts +92 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.js +55 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.d.ts +95 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.js +185 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.d.ts +31 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.js +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.js +56 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/RequestThumbprint.d.ts +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/RequestThumbprint.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.d.ts +42 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.js +101 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.d.ts +3 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.js +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts +20 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.js +64 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/BaseAuthRequest.d.ts +35 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/BaseAuthRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts +28 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts +52 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts +19 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts +20 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts +217 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.js +387 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.d.ts +34 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.js +92 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.d.ts +83 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.js +192 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthenticationResult.d.ts +40 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthenticationResult.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts +14 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts +26 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/IMDSBadResponse.d.ts +5 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/IMDSBadResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.d.ts +71 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.js +302 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts +22 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts +43 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts +22 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts +6 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts +125 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js +284 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts +275 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js +128 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js +37 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts +67 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js +168 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/IUri.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/IUri.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.d.ts +71 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.js +241 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.d.ts +345 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.js +386 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/MsalTypes.d.ts +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/MsalTypes.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.d.ts +43 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.js +77 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.d.ts +54 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.js +129 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.d.ts +28 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.js +53 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/ITokenCache.d.ts +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/ITokenCache.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/NodeStorage.d.ts +181 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/NodeStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/TokenCache.d.ts +91 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/TokenCache.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/DistributedCachePlugin.d.ts +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/DistributedCachePlugin.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/ICacheClient.d.ts +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/ICacheClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/IPartitionManager.d.ts +33 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/IPartitionManager.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Deserializer.d.ts +43 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Deserializer.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Serializer.d.ts +40 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Serializer.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/SerializerTypes.d.ts +102 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/SerializerTypes.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientApplication.d.ts +143 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientAssertion.d.ts +47 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientAssertion.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ConfidentialClientApplication.d.ts +59 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ConfidentialClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IConfidentialClientApplication.d.ts +40 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IConfidentialClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IPublicClientApplication.d.ts +38 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IPublicClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/PublicClientApplication.d.ts +46 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/PublicClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/config/Configuration.d.ts +91 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/config/Configuration.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/CryptoProvider.d.ts +53 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/CryptoProvider.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/GuidGenerator.d.ts +15 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/GuidGenerator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/HashUtils.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/HashUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/PkceGenerator.d.ts +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/PkceGenerator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/error/NodeAuthError.d.ts +66 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/error/NodeAuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/index.d.ts +31 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/index.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/index.js +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.development.js +2581 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.development.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.production.min.js +2 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.production.min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.esm.js +2470 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.esm.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/HttpClient.d.ts +25 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/HttpClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/LoopbackClient.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/LoopbackClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/packageMetadata.d.ts +3 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/packageMetadata.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationCodeRequest.d.ts +22 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationUrlRequest.d.ts +34 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationUrlRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/ClientCredentialRequest.d.ts +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/ClientCredentialRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/DeviceCodeRequest.d.ts +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/DeviceCodeRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/InteractiveRequest.d.ts +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/InteractiveRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/OnBehalfOfRequest.d.ts +15 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/OnBehalfOfRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/RefreshTokenRequest.d.ts +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/RefreshTokenRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/SilentFlowRequest.d.ts +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/SilentFlowRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/UsernamePasswordRequest.d.ts +20 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/UsernamePasswordRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/Constants.d.ts +93 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/Constants.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/EncodingUtils.d.ts +27 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/EncodingUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/NetworkUtils.d.ts +5 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/NetworkUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/storage-blob/dist/index.js +25339 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/storage-blob/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@microsoft/rush-lib/dist/rush-lib.d.ts +3652 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@microsoft/rush-lib/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/heft-config-file/dist/heft-config-file.d.ts +254 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/heft-config-file/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/node-core-library/dist/node-core-library.d.ts +3717 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/node-core-library/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/package-deps-hash/dist/package-deps-hash.d.ts +80 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/package-deps-hash/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rig-package/dist/rig-package.d.ts +198 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rig-package/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rush-amazon-s3-build-cache-plugin/dist/rush-amazon-s3-build-cache-plugin.d.ts +150 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rush-azure-storage-build-cache-plugin/dist/rush-azure-storage-build-cache-plugin.d.ts +93 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rush-sdk/dist/rush-lib.d.ts +3652 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/stream-collator/dist/stream-collator.d.ts +124 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/stream-collator/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/terminal/dist/terminal.d.ts +743 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/terminal/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/ts-command-line/dist/ts-command-line.d.ts +998 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/ts-command-line/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/index.d.ts +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/index.js +24 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/overloaded-parameters.d.ts +231 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/overloaded-parameters.js +3 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/overloaded-parameters.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/types.d.ts +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/types.js +3 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/types.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/index.d.ts +78 -0
- package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/index.js +203 -0
- package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/promisify.d.ts +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/promisify.js +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/promisify.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/esprima/dist/esprima.js +6709 -0
- package/common/temp/rush-recycler/install-run-1678274025679/form-data/README.md.bak +358 -0
- package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/agent.d.ts +32 -0
- package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/agent.js +145 -0
- package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/agent.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/index.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/index.js +14 -0
- package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/agent.d.ts +30 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/agent.js +177 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/agent.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/index.d.ts +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/index.js +14 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/immediate/dist/immediate.js +75 -0
- package/common/temp/rush-recycler/install-run-1678274025679/immediate/dist/immediate.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/js-yaml/dist/js-yaml.js +3946 -0
- package/common/temp/rush-recycler/install-run-1678274025679/js-yaml/dist/js-yaml.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.js +1737 -0
- package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.min.mjs +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.mjs +1426 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-es.js +1062 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-es.min.js +2 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-es.min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-umd.js +1072 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-umd.min.js +2 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-umd.min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jszip/dist/jszip.js +11370 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jszip/dist/jszip.min.js +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.js +350 -0
- package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.polyfill.js +358 -0
- package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.polyfill.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako.js +6818 -0
- package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_deflate.js +3997 -0
- package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_deflate.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_inflate.js +3300 -0
- package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_inflate.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/psl/dist/psl.js +10187 -0
- package/common/temp/rush-recycler/install-run-1678274025679/psl/dist/psl.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/ramda/dist/ramda.js +9716 -0
- package/common/temp/rush-recycler/install-run-1678274025679/ramda/dist/ramda.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/angular-sprintf.min.js +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/angular-sprintf.min.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/sprintf.min.js +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/sprintf.min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/sprintf.min.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/encodings.xml +6 -0
- package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/modules.xml +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/node-tunnel.iml +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/vcs.xml +6 -0
- package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/workspace.xml +797 -0
- package/common/temp/rush-recycler/install-run-1678274025679/url-parse/dist/url-parse.js +755 -0
- package/common/temp/rush-recycler/install-run-1678274025679/url-parse/dist/url-parse.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/url-parse/dist/url-parse.min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/bin/uuid +2 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/index.js +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/md5.js +215 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/nil.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/parse.js +35 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/regex.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/rng.js +19 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/sha1.js +96 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/stringify.js +30 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v1.js +95 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v3.js +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v35.js +64 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v4.js +24 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v5.js +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/validate.js +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/version.js +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/index.js +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/md5.js +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/nil.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/parse.js +35 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/regex.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/rng.js +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/sha1.js +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/stringify.js +29 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v1.js +95 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v3.js +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v35.js +64 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v4.js +24 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v5.js +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/validate.js +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/version.js +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/index.js +79 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/md5-browser.js +223 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/md5.js +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/nil.js +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/parse.js +45 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/regex.js +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/rng-browser.js +26 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/rng.js +24 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/sha1-browser.js +104 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/sha1.js +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/stringify.js +39 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuid.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidNIL.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidParse.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidStringify.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidValidate.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidVersion.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv1.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv3.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv4.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv5.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/uuid-bin.js +85 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v1.js +107 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v3.js +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v35.js +78 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v4.js +37 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v5.js +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/validate.js +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/version.js +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser-min.js +2 -0
- package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser-min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser-test.js +30407 -0
- package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser.js +12901 -0
- package/components/Handle/index.js +14 -7
- package/dist/stats.json +5278 -5260
- package/dist/tntd.js +1 -1
- package/es/Handle/index.js +14 -7
- package/lib/Handle/index.js +13 -6
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/pipeline.ts","../src/log.ts","../src/util/sanitizer.ts","../src/policies/logPolicy.ts","../src/policies/redirectPolicy.ts","../src/util/userAgentPlatform.ts","../src/constants.ts","../src/util/userAgent.ts","../src/policies/userAgentPolicy.ts","../src/policies/decompressResponsePolicy.ts","../src/util/helpers.ts","../src/retryStrategies/throttlingRetryStrategy.ts","../src/retryStrategies/exponentialRetryStrategy.ts","../src/policies/retryPolicy.ts","../src/policies/defaultRetryPolicy.ts","../src/policies/formDataPolicy.ts","../src/policies/proxyPolicy.ts","../src/policies/setClientRequestIdPolicy.ts","../src/policies/tlsPolicy.ts","../src/util/inspect.ts","../src/restError.ts","../src/policies/tracingPolicy.ts","../src/createPipelineFromOptions.ts","../src/httpHeaders.ts","../src/nodeHttpClient.ts","../src/defaultHttpClient.ts","../src/util/uuid.ts","../src/pipelineRequest.ts","../src/policies/exponentialRetryPolicy.ts","../src/policies/systemErrorRetryPolicy.ts","../src/policies/throttlingRetryPolicy.ts","../src/util/tokenCycler.ts","../src/policies/bearerTokenAuthenticationPolicy.ts","../src/policies/ndJsonPolicy.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { HttpClient, PipelineRequest, PipelineResponse, SendRequest } from \"./interfaces\";\n\n/**\n * Policies are executed in phases.\n * The execution order is:\n * 1. Serialize Phase\n * 2. Policies not in a phase\n * 3. Deserialize Phase\n * 4. Retry Phase\n * 5. Sign Phase\n */\nexport type PipelinePhase = \"Deserialize\" | \"Serialize\" | \"Retry\" | \"Sign\";\n\nconst ValidPhaseNames = new Set<PipelinePhase>([\"Deserialize\", \"Serialize\", \"Retry\", \"Sign\"]);\n\n/**\n * Options when adding a policy to the pipeline.\n * Used to express dependencies on other policies.\n */\nexport interface AddPolicyOptions {\n /**\n * Policies that this policy must come before.\n */\n beforePolicies?: string[];\n /**\n * Policies that this policy must come after.\n */\n afterPolicies?: string[];\n /**\n * The phase that this policy must come after.\n */\n afterPhase?: PipelinePhase;\n /**\n * The phase this policy belongs to.\n */\n phase?: PipelinePhase;\n}\n\n/**\n * A pipeline policy manipulates a request as it travels through the pipeline.\n * It is conceptually a middleware that is allowed to modify the request before\n * it is made as well as the response when it is received.\n */\nexport interface PipelinePolicy {\n /**\n * The policy name. Must be a unique string in the pipeline.\n */\n name: string;\n /**\n * The main method to implement that manipulates a request/response.\n * @param request - The request being performed.\n * @param next - The next policy in the pipeline. Must be called to continue the pipeline.\n */\n sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse>;\n}\n\n/**\n * Represents a pipeline for making a HTTP request to a URL.\n * Pipelines can have multiple policies to manage manipulating each request\n * before and after it is made to the server.\n */\nexport interface Pipeline {\n /**\n * Add a new policy to the pipeline.\n * @param policy - A policy that manipulates a request.\n * @param options - A set of options for when the policy should run.\n */\n addPolicy(policy: PipelinePolicy, options?: AddPolicyOptions): void;\n /**\n * Remove a policy from the pipeline.\n * @param options - Options that let you specify which policies to remove.\n */\n removePolicy(options: { name?: string; phase?: PipelinePhase }): PipelinePolicy[];\n /**\n * Uses the pipeline to make a HTTP request.\n * @param httpClient - The HttpClient that actually performs the request.\n * @param request - The request to be made.\n */\n sendRequest(httpClient: HttpClient, request: PipelineRequest): Promise<PipelineResponse>;\n /**\n * Returns the current set of policies in the pipeline in the order in which\n * they will be applied to the request. Later in the list is closer to when\n * the request is performed.\n */\n getOrderedPolicies(): PipelinePolicy[];\n /**\n * Duplicates this pipeline to allow for modifying an existing one without mutating it.\n */\n clone(): Pipeline;\n}\n\ninterface PipelineDescriptor {\n policy: PipelinePolicy;\n options: AddPolicyOptions;\n}\n\ninterface PolicyGraphNode {\n policy: PipelinePolicy;\n dependsOn: Set<PolicyGraphNode>;\n dependants: Set<PolicyGraphNode>;\n afterPhase?: Phase;\n}\n\ninterface Phase {\n name: PipelinePhase | \"None\";\n policies: Set<PolicyGraphNode>;\n hasRun: boolean;\n hasAfterPolicies: boolean;\n}\n\n/**\n * A private implementation of Pipeline.\n * Do not export this class from the package.\n * @internal\n */\nclass HttpPipeline implements Pipeline {\n private _policies: PipelineDescriptor[] = [];\n private _orderedPolicies?: PipelinePolicy[];\n\n private constructor(policies?: PipelineDescriptor[]) {\n this._policies = policies?.slice(0) ?? [];\n this._orderedPolicies = undefined;\n }\n\n public addPolicy(policy: PipelinePolicy, options: AddPolicyOptions = {}): void {\n if (options.phase && options.afterPhase) {\n throw new Error(\"Policies inside a phase cannot specify afterPhase.\");\n }\n if (options.phase && !ValidPhaseNames.has(options.phase)) {\n throw new Error(`Invalid phase name: ${options.phase}`);\n }\n if (options.afterPhase && !ValidPhaseNames.has(options.afterPhase)) {\n throw new Error(`Invalid afterPhase name: ${options.afterPhase}`);\n }\n this._policies.push({\n policy,\n options,\n });\n this._orderedPolicies = undefined;\n }\n\n public removePolicy(options: { name?: string; phase?: string }): PipelinePolicy[] {\n const removedPolicies: PipelinePolicy[] = [];\n\n this._policies = this._policies.filter((policyDescriptor) => {\n if (\n (options.name && policyDescriptor.policy.name === options.name) ||\n (options.phase && policyDescriptor.options.phase === options.phase)\n ) {\n removedPolicies.push(policyDescriptor.policy);\n return false;\n } else {\n return true;\n }\n });\n this._orderedPolicies = undefined;\n\n return removedPolicies;\n }\n\n public sendRequest(httpClient: HttpClient, request: PipelineRequest): Promise<PipelineResponse> {\n const policies = this.getOrderedPolicies();\n\n const pipeline = policies.reduceRight<SendRequest>(\n (next, policy) => {\n return (req: PipelineRequest) => {\n return policy.sendRequest(req, next);\n };\n },\n (req: PipelineRequest) => httpClient.sendRequest(req)\n );\n\n return pipeline(request);\n }\n\n public getOrderedPolicies(): PipelinePolicy[] {\n if (!this._orderedPolicies) {\n this._orderedPolicies = this.orderPolicies();\n }\n return this._orderedPolicies;\n }\n\n public clone(): Pipeline {\n return new HttpPipeline(this._policies);\n }\n\n public static create(): Pipeline {\n return new HttpPipeline();\n }\n\n private orderPolicies(): PipelinePolicy[] {\n /**\n * The goal of this method is to reliably order pipeline policies\n * based on their declared requirements when they were added.\n *\n * Order is first determined by phase:\n *\n * 1. Serialize Phase\n * 2. Policies not in a phase\n * 3. Deserialize Phase\n * 4. Retry Phase\n * 5. Sign Phase\n *\n * Within each phase, policies are executed in the order\n * they were added unless they were specified to execute\n * before/after other policies or after a particular phase.\n *\n * To determine the final order, we will walk the policy list\n * in phase order multiple times until all dependencies are\n * satisfied.\n *\n * `afterPolicies` are the set of policies that must be\n * executed before a given policy. This requirement is\n * considered satisfied when each of the listed policies\n * have been scheduled.\n *\n * `beforePolicies` are the set of policies that must be\n * executed after a given policy. Since this dependency\n * can be expressed by converting it into a equivalent\n * `afterPolicies` declarations, they are normalized\n * into that form for simplicity.\n *\n * An `afterPhase` dependency is considered satisfied when all\n * policies in that phase have scheduled.\n *\n */\n const result: PipelinePolicy[] = [];\n\n // Track all policies we know about.\n const policyMap: Map<string, PolicyGraphNode> = new Map<string, PolicyGraphNode>();\n\n function createPhase(name: PipelinePhase | \"None\"): Phase {\n return {\n name,\n policies: new Set<PolicyGraphNode>(),\n hasRun: false,\n hasAfterPolicies: false,\n };\n }\n\n // Track policies for each phase.\n const serializePhase = createPhase(\"Serialize\");\n const noPhase = createPhase(\"None\");\n const deserializePhase = createPhase(\"Deserialize\");\n const retryPhase = createPhase(\"Retry\");\n const signPhase = createPhase(\"Sign\");\n\n // a list of phases in order\n const orderedPhases = [serializePhase, noPhase, deserializePhase, retryPhase, signPhase];\n\n // Small helper function to map phase name to each Phase\n function getPhase(phase: PipelinePhase | undefined): Phase {\n if (phase === \"Retry\") {\n return retryPhase;\n } else if (phase === \"Serialize\") {\n return serializePhase;\n } else if (phase === \"Deserialize\") {\n return deserializePhase;\n } else if (phase === \"Sign\") {\n return signPhase;\n } else {\n return noPhase;\n }\n }\n\n // First walk each policy and create a node to track metadata.\n for (const descriptor of this._policies) {\n const policy = descriptor.policy;\n const options = descriptor.options;\n const policyName = policy.name;\n if (policyMap.has(policyName)) {\n throw new Error(\"Duplicate policy names not allowed in pipeline\");\n }\n const node: PolicyGraphNode = {\n policy,\n dependsOn: new Set<PolicyGraphNode>(),\n dependants: new Set<PolicyGraphNode>(),\n };\n if (options.afterPhase) {\n node.afterPhase = getPhase(options.afterPhase);\n node.afterPhase.hasAfterPolicies = true;\n }\n policyMap.set(policyName, node);\n const phase = getPhase(options.phase);\n phase.policies.add(node);\n }\n\n // Now that each policy has a node, connect dependency references.\n for (const descriptor of this._policies) {\n const { policy, options } = descriptor;\n const policyName = policy.name;\n const node = policyMap.get(policyName);\n if (!node) {\n throw new Error(`Missing node for policy ${policyName}`);\n }\n\n if (options.afterPolicies) {\n for (const afterPolicyName of options.afterPolicies) {\n const afterNode = policyMap.get(afterPolicyName);\n if (afterNode) {\n // Linking in both directions helps later\n // when we want to notify dependants.\n node.dependsOn.add(afterNode);\n afterNode.dependants.add(node);\n }\n }\n }\n if (options.beforePolicies) {\n for (const beforePolicyName of options.beforePolicies) {\n const beforeNode = policyMap.get(beforePolicyName);\n if (beforeNode) {\n // To execute before another node, make it\n // depend on the current node.\n beforeNode.dependsOn.add(node);\n node.dependants.add(beforeNode);\n }\n }\n }\n }\n\n function walkPhase(phase: Phase): void {\n phase.hasRun = true;\n // Sets iterate in insertion order\n for (const node of phase.policies) {\n if (node.afterPhase && (!node.afterPhase.hasRun || node.afterPhase.policies.size)) {\n // If this node is waiting on a phase to complete,\n // we need to skip it for now.\n // Even if the phase is empty, we should wait for it\n // to be walked to avoid re-ordering policies.\n continue;\n }\n if (node.dependsOn.size === 0) {\n // If there's nothing else we're waiting for, we can\n // add this policy to the result list.\n result.push(node.policy);\n // Notify anything that depends on this policy that\n // the policy has been scheduled.\n for (const dependant of node.dependants) {\n dependant.dependsOn.delete(node);\n }\n policyMap.delete(node.policy.name);\n phase.policies.delete(node);\n }\n }\n }\n\n function walkPhases(): void {\n for (const phase of orderedPhases) {\n walkPhase(phase);\n // if the phase isn't complete\n if (phase.policies.size > 0 && phase !== noPhase) {\n if (!noPhase.hasRun) {\n // Try running noPhase to see if that unblocks this phase next tick.\n // This can happen if a phase that happens before noPhase\n // is waiting on a noPhase policy to complete.\n walkPhase(noPhase);\n }\n // Don't proceed to the next phase until this phase finishes.\n return;\n }\n\n if (phase.hasAfterPolicies) {\n // Run any policies unblocked by this phase\n walkPhase(noPhase);\n }\n }\n }\n\n // Iterate until we've put every node in the result list.\n let iteration = 0;\n while (policyMap.size > 0) {\n iteration++;\n const initialResultLength = result.length;\n // Keep walking each phase in order until we can order every node.\n walkPhases();\n // The result list *should* get at least one larger each time\n // after the first full pass.\n // Otherwise, we're going to loop forever.\n if (result.length <= initialResultLength && iteration > 1) {\n throw new Error(\"Cannot satisfy policy dependencies due to requirements cycle.\");\n }\n }\n\n return result;\n }\n}\n\n/**\n * Creates a totally empty pipeline.\n * Useful for testing or creating a custom one.\n */\nexport function createEmptyPipeline(): Pipeline {\n return HttpPipeline.create();\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { createClientLogger } from \"@azure/logger\";\nexport const logger = createClientLogger(\"core-rest-pipeline\");\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { UnknownObject, isObject } from \"@azure/core-util\";\n\n/**\n * @internal\n */\nexport interface SanitizerOptions {\n /**\n * Header names whose values will be logged when logging is enabled.\n * Defaults include a list of well-known safe headers. Any headers\n * specified in this field will be added to that list. Any other values will\n * be written to logs as \"REDACTED\".\n */\n additionalAllowedHeaderNames?: string[];\n\n /**\n * Query string names whose values will be logged when logging is enabled. By default no\n * query string values are logged.\n */\n additionalAllowedQueryParameters?: string[];\n}\n\nconst RedactedString = \"REDACTED\";\n\n// Make sure this list is up-to-date with the one under core/logger/Readme#Keyconcepts\nconst defaultAllowedHeaderNames = [\n \"x-ms-client-request-id\",\n \"x-ms-return-client-request-id\",\n \"x-ms-useragent\",\n \"x-ms-correlation-request-id\",\n \"x-ms-request-id\",\n \"client-request-id\",\n \"ms-cv\",\n \"return-client-request-id\",\n \"traceparent\",\n\n \"Access-Control-Allow-Credentials\",\n \"Access-Control-Allow-Headers\",\n \"Access-Control-Allow-Methods\",\n \"Access-Control-Allow-Origin\",\n \"Access-Control-Expose-Headers\",\n \"Access-Control-Max-Age\",\n \"Access-Control-Request-Headers\",\n \"Access-Control-Request-Method\",\n \"Origin\",\n\n \"Accept\",\n \"Accept-Encoding\",\n \"Cache-Control\",\n \"Connection\",\n \"Content-Length\",\n \"Content-Type\",\n \"Date\",\n \"ETag\",\n \"Expires\",\n \"If-Match\",\n \"If-Modified-Since\",\n \"If-None-Match\",\n \"If-Unmodified-Since\",\n \"Last-Modified\",\n \"Pragma\",\n \"Request-Id\",\n \"Retry-After\",\n \"Server\",\n \"Transfer-Encoding\",\n \"User-Agent\",\n \"WWW-Authenticate\",\n];\n\nconst defaultAllowedQueryParameters: string[] = [\"api-version\"];\n\n/**\n * @internal\n */\nexport class Sanitizer {\n private allowedHeaderNames: Set<string>;\n private allowedQueryParameters: Set<string>;\n\n constructor({\n additionalAllowedHeaderNames: allowedHeaderNames = [],\n additionalAllowedQueryParameters: allowedQueryParameters = [],\n }: SanitizerOptions = {}) {\n allowedHeaderNames = defaultAllowedHeaderNames.concat(allowedHeaderNames);\n allowedQueryParameters = defaultAllowedQueryParameters.concat(allowedQueryParameters);\n\n this.allowedHeaderNames = new Set(allowedHeaderNames.map((n) => n.toLowerCase()));\n this.allowedQueryParameters = new Set(allowedQueryParameters.map((p) => p.toLowerCase()));\n }\n\n public sanitize(obj: unknown): string {\n const seen = new Set<unknown>();\n return JSON.stringify(\n obj,\n (key: string, value: unknown) => {\n // Ensure Errors include their interesting non-enumerable members\n if (value instanceof Error) {\n return {\n ...value,\n name: value.name,\n message: value.message,\n };\n }\n\n if (key === \"headers\") {\n return this.sanitizeHeaders(value as UnknownObject);\n } else if (key === \"url\") {\n return this.sanitizeUrl(value as string);\n } else if (key === \"query\") {\n return this.sanitizeQuery(value as UnknownObject);\n } else if (key === \"body\") {\n // Don't log the request body\n return undefined;\n } else if (key === \"response\") {\n // Don't log response again\n return undefined;\n } else if (key === \"operationSpec\") {\n // When using sendOperationRequest, the request carries a massive\n // field with the autorest spec. No need to log it.\n return undefined;\n } else if (Array.isArray(value) || isObject(value)) {\n if (seen.has(value)) {\n return \"[Circular]\";\n }\n seen.add(value);\n }\n\n return value;\n },\n 2\n );\n }\n\n private sanitizeHeaders(obj: UnknownObject): UnknownObject {\n const sanitized: UnknownObject = {};\n for (const key of Object.keys(obj)) {\n if (this.allowedHeaderNames.has(key.toLowerCase())) {\n sanitized[key] = obj[key];\n } else {\n sanitized[key] = RedactedString;\n }\n }\n return sanitized;\n }\n\n private sanitizeQuery(value: UnknownObject): UnknownObject {\n if (typeof value !== \"object\" || value === null) {\n return value;\n }\n\n const sanitized: UnknownObject = {};\n\n for (const k of Object.keys(value)) {\n if (this.allowedQueryParameters.has(k.toLowerCase())) {\n sanitized[k] = value[k];\n } else {\n sanitized[k] = RedactedString;\n }\n }\n\n return sanitized;\n }\n\n private sanitizeUrl(value: string): string {\n if (typeof value !== \"string\" || value === null) {\n return value;\n }\n\n const url = new URL(value);\n\n if (!url.search) {\n return value;\n }\n\n for (const [key] of url.searchParams) {\n if (!this.allowedQueryParameters.has(key.toLowerCase())) {\n url.searchParams.set(key, RedactedString);\n }\n }\n\n return url.toString();\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Debugger } from \"@azure/logger\";\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"../interfaces\";\nimport { PipelinePolicy } from \"../pipeline\";\nimport { logger as coreLogger } from \"../log\";\nimport { Sanitizer } from \"../util/sanitizer\";\n\n/**\n * The programmatic identifier of the logPolicy.\n */\nexport const logPolicyName = \"logPolicy\";\n\n/**\n * Options to configure the logPolicy.\n */\nexport interface LogPolicyOptions {\n /**\n * Header names whose values will be logged when logging is enabled.\n * Defaults include a list of well-known safe headers. Any headers\n * specified in this field will be added to that list. Any other values will\n * be written to logs as \"REDACTED\".\n */\n additionalAllowedHeaderNames?: string[];\n\n /**\n * Query string names whose values will be logged when logging is enabled. By default no\n * query string values are logged.\n */\n additionalAllowedQueryParameters?: string[];\n\n /**\n * The log function to use for writing pipeline logs.\n * Defaults to core-http's built-in logger.\n * Compatible with the `debug` library.\n */\n logger?: Debugger;\n}\n\n/**\n * A policy that logs all requests and responses.\n * @param options - Options to configure logPolicy.\n */\nexport function logPolicy(options: LogPolicyOptions = {}): PipelinePolicy {\n const logger = options.logger ?? coreLogger.info;\n const sanitizer = new Sanitizer({\n additionalAllowedHeaderNames: options.additionalAllowedHeaderNames,\n additionalAllowedQueryParameters: options.additionalAllowedQueryParameters,\n });\n return {\n name: logPolicyName,\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n if (!logger.enabled) {\n return next(request);\n }\n\n logger(`Request: ${sanitizer.sanitize(request)}`);\n\n const response = await next(request);\n\n logger(`Response status code: ${response.status}`);\n logger(`Headers: ${sanitizer.sanitize(response.headers)}`);\n\n return response;\n },\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"../interfaces\";\nimport { PipelinePolicy } from \"../pipeline\";\n\n/**\n * The programmatic identifier of the redirectPolicy.\n */\nexport const redirectPolicyName = \"redirectPolicy\";\n\n/**\n * Methods that are allowed to follow redirects 301 and 302\n */\nconst allowedRedirect = [\"GET\", \"HEAD\"];\n\n/**\n * Options for how redirect responses are handled.\n */\nexport interface RedirectPolicyOptions {\n /**\n * The maximum number of times the redirect URL will be tried before\n * failing. Defaults to 20.\n */\n maxRetries?: number;\n}\n\n/**\n * A policy to follow Location headers from the server in order\n * to support server-side redirection.\n * In the browser, this policy is not used.\n * @param options - Options to control policy behavior.\n */\nexport function redirectPolicy(options: RedirectPolicyOptions = {}): PipelinePolicy {\n const { maxRetries = 20 } = options;\n return {\n name: redirectPolicyName,\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const response = await next(request);\n return handleRedirect(next, response, maxRetries);\n },\n };\n}\n\nasync function handleRedirect(\n next: SendRequest,\n response: PipelineResponse,\n maxRetries: number,\n currentRetries: number = 0\n): Promise<PipelineResponse> {\n const { request, status, headers } = response;\n const locationHeader = headers.get(\"location\");\n if (\n locationHeader &&\n (status === 300 ||\n (status === 301 && allowedRedirect.includes(request.method)) ||\n (status === 302 && allowedRedirect.includes(request.method)) ||\n (status === 303 && request.method === \"POST\") ||\n status === 307) &&\n currentRetries < maxRetries\n ) {\n const url = new URL(locationHeader, request.url);\n request.url = url.toString();\n\n // POST request with Status code 303 should be converted into a\n // redirected GET request if the redirect url is present in the location header\n if (status === 303) {\n request.method = \"GET\";\n request.headers.delete(\"Content-Length\");\n delete request.body;\n }\n\n request.headers.delete(\"Authorization\");\n\n const res = await next(request);\n return handleRedirect(next, res, maxRetries, currentRetries + 1);\n }\n\n return response;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport * as os from \"os\";\n\n/**\n * @internal\n */\nexport function getHeaderName(): string {\n return \"User-Agent\";\n}\n\n/**\n * @internal\n */\nexport function setPlatformSpecificData(map: Map<string, string>): void {\n map.set(\"Node\", process.version);\n map.set(\"OS\", `(${os.arch()}-${os.type()}-${os.release()})`);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"1.10.2\";\n\nexport const DEFAULT_RETRY_POLICY_COUNT = 3;\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { getHeaderName, setPlatformSpecificData } from \"./userAgentPlatform\";\nimport { SDK_VERSION } from \"../constants\";\n\nfunction getUserAgentString(telemetryInfo: Map<string, string>): string {\n const parts: string[] = [];\n for (const [key, value] of telemetryInfo) {\n const token = value ? `${key}/${value}` : key;\n parts.push(token);\n }\n return parts.join(\" \");\n}\n\n/**\n * @internal\n */\nexport function getUserAgentHeaderName(): string {\n return getHeaderName();\n}\n\n/**\n * @internal\n */\nexport function getUserAgentValue(prefix?: string): string {\n const runtimeInfo = new Map<string, string>();\n runtimeInfo.set(\"core-rest-pipeline\", SDK_VERSION);\n setPlatformSpecificData(runtimeInfo);\n const defaultAgent = getUserAgentString(runtimeInfo);\n const userAgentValue = prefix ? `${prefix} ${defaultAgent}` : defaultAgent;\n return userAgentValue;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"../interfaces\";\nimport { PipelinePolicy } from \"../pipeline\";\nimport { getUserAgentHeaderName, getUserAgentValue } from \"../util/userAgent\";\n\nconst UserAgentHeaderName = getUserAgentHeaderName();\n\n/**\n * The programmatic identifier of the userAgentPolicy.\n */\nexport const userAgentPolicyName = \"userAgentPolicy\";\n\n/**\n * Options for adding user agent details to outgoing requests.\n */\nexport interface UserAgentPolicyOptions {\n /**\n * String prefix to add to the user agent for outgoing requests.\n * Defaults to an empty string.\n */\n userAgentPrefix?: string;\n}\n\n/**\n * A policy that sets the User-Agent header (or equivalent) to reflect\n * the library version.\n * @param options - Options to customize the user agent value.\n */\nexport function userAgentPolicy(options: UserAgentPolicyOptions = {}): PipelinePolicy {\n const userAgentValue = getUserAgentValue(options.userAgentPrefix);\n return {\n name: userAgentPolicyName,\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n if (!request.headers.has(UserAgentHeaderName)) {\n request.headers.set(UserAgentHeaderName, userAgentValue);\n }\n return next(request);\n },\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"../interfaces\";\nimport { PipelinePolicy } from \"../pipeline\";\n\n/**\n * The programmatic identifier of the decompressResponsePolicy.\n */\nexport const decompressResponsePolicyName = \"decompressResponsePolicy\";\n\n/**\n * A policy to enable response decompression according to Accept-Encoding header\n * https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding\n */\nexport function decompressResponsePolicy(): PipelinePolicy {\n return {\n name: decompressResponsePolicyName,\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n // HEAD requests have no body\n if (request.method !== \"HEAD\") {\n request.headers.set(\"Accept-Encoding\", \"gzip,deflate\");\n }\n return next(request);\n },\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AbortError, AbortSignalLike } from \"@azure/abort-controller\";\nimport { PipelineResponse } from \"../interfaces\";\n\nconst StandardAbortMessage = \"The operation was aborted.\";\n\n/**\n * A wrapper for setTimeout that resolves a promise after delayInMs milliseconds.\n * @param delayInMs - The number of milliseconds to be delayed.\n * @param value - The value to be resolved with after a timeout of t milliseconds.\n * @param options - The options for delay - currently abort options\n * - abortSignal - The abortSignal associated with containing operation.\n * - abortErrorMsg - The abort error message associated with containing operation.\n * @returns Resolved promise\n */\nexport function delay<T>(\n delayInMs: number,\n value?: T,\n options?: {\n abortSignal?: AbortSignalLike;\n abortErrorMsg?: string;\n }\n): Promise<T | void> {\n return new Promise((resolve, reject) => {\n let timer: ReturnType<typeof setTimeout> | undefined = undefined;\n let onAborted: (() => void) | undefined = undefined;\n\n const rejectOnAbort = (): void => {\n return reject(\n new AbortError(options?.abortErrorMsg ? options?.abortErrorMsg : StandardAbortMessage)\n );\n };\n\n const removeListeners = (): void => {\n if (options?.abortSignal && onAborted) {\n options.abortSignal.removeEventListener(\"abort\", onAborted);\n }\n };\n\n onAborted = (): void => {\n if (timer) {\n clearTimeout(timer);\n }\n removeListeners();\n return rejectOnAbort();\n };\n\n if (options?.abortSignal && options.abortSignal.aborted) {\n return rejectOnAbort();\n }\n\n timer = setTimeout(() => {\n removeListeners();\n resolve(value);\n }, delayInMs);\n\n if (options?.abortSignal) {\n options.abortSignal.addEventListener(\"abort\", onAborted);\n }\n });\n}\n\n/**\n * @internal\n * @returns the parsed value or undefined if the parsed value is invalid.\n */\nexport function parseHeaderValueAsNumber(\n response: PipelineResponse,\n headerName: string\n): number | undefined {\n const value = response.headers.get(headerName);\n if (!value) return;\n const valueAsNum = Number(value);\n if (Number.isNaN(valueAsNum)) return;\n return valueAsNum;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelineResponse } from \"..\";\nimport { parseHeaderValueAsNumber } from \"../util/helpers\";\nimport { RetryStrategy } from \"./retryStrategy\";\n\n/**\n * The header that comes back from Azure services representing\n * the amount of time (minimum) to wait to retry (in seconds or timestamp after which we can retry).\n */\nconst RetryAfterHeader = \"Retry-After\";\n/**\n * The headers that come back from Azure services representing\n * the amount of time (minimum) to wait to retry.\n *\n * \"retry-after-ms\", \"x-ms-retry-after-ms\" : milliseconds\n * \"Retry-After\" : seconds or timestamp\n */\nconst AllRetryAfterHeaders: string[] = [\"retry-after-ms\", \"x-ms-retry-after-ms\", RetryAfterHeader];\n\n/**\n * A response is a throttling retry response if it has a throttling status code (429 or 503),\n * as long as one of the [ \"Retry-After\" or \"retry-after-ms\" or \"x-ms-retry-after-ms\" ] headers has a valid value.\n *\n * Returns the `retryAfterInMs` value if the response is a throttling retry response.\n * If not throttling retry response, returns `undefined`.\n *\n * @internal\n */\nfunction getRetryAfterInMs(response?: PipelineResponse): number | undefined {\n if (!(response && [429, 503].includes(response.status))) return undefined;\n try {\n // Headers: \"retry-after-ms\", \"x-ms-retry-after-ms\", \"Retry-After\"\n for (const header of AllRetryAfterHeaders) {\n const retryAfterValue = parseHeaderValueAsNumber(response, header);\n if (retryAfterValue === 0 || retryAfterValue) {\n // \"Retry-After\" header ==> seconds\n // \"retry-after-ms\", \"x-ms-retry-after-ms\" headers ==> milli-seconds\n const multiplyingFactor = header === RetryAfterHeader ? 1000 : 1;\n return retryAfterValue * multiplyingFactor; // in milli-seconds\n }\n }\n\n // RetryAfterHeader (\"Retry-After\") has a special case where it might be formatted as a date instead of a number of seconds\n const retryAfterHeader = response.headers.get(RetryAfterHeader);\n if (!retryAfterHeader) return;\n\n const date = Date.parse(retryAfterHeader);\n const diff = date - Date.now();\n // negative diff would mean a date in the past, so retry asap with 0 milliseconds\n return Number.isFinite(diff) ? Math.max(0, diff) : undefined;\n } catch (e: any) {\n return undefined;\n }\n}\n\n/**\n * A response is a retry response if it has a throttling status code (429 or 503),\n * as long as one of the [ \"Retry-After\" or \"retry-after-ms\" or \"x-ms-retry-after-ms\" ] headers has a valid value.\n */\nexport function isThrottlingRetryResponse(response?: PipelineResponse): boolean {\n return Number.isFinite(getRetryAfterInMs(response));\n}\n\nexport function throttlingRetryStrategy(): RetryStrategy {\n return {\n name: \"throttlingRetryStrategy\",\n retry({ response }) {\n const retryAfterInMs = getRetryAfterInMs(response);\n if (!Number.isFinite(retryAfterInMs)) {\n return { skipStrategy: true };\n }\n return {\n retryAfterInMs,\n };\n },\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelineResponse } from \"../interfaces\";\nimport { RestError } from \"../restError\";\nimport { getRandomIntegerInclusive } from \"@azure/core-util\";\nimport { RetryStrategy } from \"./retryStrategy\";\nimport { isThrottlingRetryResponse } from \"./throttlingRetryStrategy\";\n\n// intervals are in milliseconds\nconst DEFAULT_CLIENT_RETRY_INTERVAL = 1000;\nconst DEFAULT_CLIENT_MAX_RETRY_INTERVAL = 1000 * 64;\n\n/**\n * A retry strategy that retries with an exponentially increasing delay in these two cases:\n * - When there are errors in the underlying transport layer (e.g. DNS lookup failures).\n * - Or otherwise if the outgoing request fails (408, greater or equal than 500, except for 501 and 505).\n */\nexport function exponentialRetryStrategy(\n options: {\n /**\n * The amount of delay in milliseconds between retry attempts. Defaults to 1000\n * (1 second.) The delay increases exponentially with each retry up to a maximum\n * specified by maxRetryDelayInMs.\n */\n retryDelayInMs?: number;\n\n /**\n * The maximum delay in milliseconds allowed before retrying an operation. Defaults\n * to 64000 (64 seconds).\n */\n maxRetryDelayInMs?: number;\n\n /**\n * If true it won't retry if it received a system error.\n */\n ignoreSystemErrors?: boolean;\n\n /**\n * If true it won't retry if it received a non-fatal HTTP status code.\n */\n ignoreHttpStatusCodes?: boolean;\n } = {}\n): RetryStrategy {\n const retryInterval = options.retryDelayInMs ?? DEFAULT_CLIENT_RETRY_INTERVAL;\n const maxRetryInterval = options.maxRetryDelayInMs ?? DEFAULT_CLIENT_MAX_RETRY_INTERVAL;\n\n let retryAfterInMs = retryInterval;\n\n return {\n name: \"exponentialRetryStrategy\",\n retry({ retryCount, response, responseError }) {\n const matchedSystemError = isSystemError(responseError);\n const ignoreSystemErrors = matchedSystemError && options.ignoreSystemErrors;\n\n const isExponential = isExponentialRetryResponse(response);\n const ignoreExponentialResponse = isExponential && options.ignoreHttpStatusCodes;\n const unknownResponse = response && (isThrottlingRetryResponse(response) || !isExponential);\n\n if (unknownResponse || ignoreExponentialResponse || ignoreSystemErrors) {\n return { skipStrategy: true };\n }\n\n if (responseError && !matchedSystemError && !isExponential) {\n return { errorToThrow: responseError };\n }\n\n // Exponentially increase the delay each time\n const exponentialDelay = retryAfterInMs * Math.pow(2, retryCount);\n // Don't let the delay exceed the maximum\n const clampedExponentialDelay = Math.min(maxRetryInterval, exponentialDelay);\n // Allow the final value to have some \"jitter\" (within 50% of the delay size) so\n // that retries across multiple clients don't occur simultaneously.\n retryAfterInMs =\n clampedExponentialDelay / 2 + getRandomIntegerInclusive(0, clampedExponentialDelay / 2);\n return { retryAfterInMs };\n },\n };\n}\n\n/**\n * A response is a retry response if it has status codes:\n * - 408, or\n * - Greater or equal than 500, except for 501 and 505.\n */\nexport function isExponentialRetryResponse(response?: PipelineResponse): boolean {\n return Boolean(\n response &&\n response.status !== undefined &&\n (response.status >= 500 || response.status === 408) &&\n response.status !== 501 &&\n response.status !== 505\n );\n}\n\n/**\n * Determines whether an error from a pipeline response was triggered in the network layer.\n */\nexport function isSystemError(err?: RestError): boolean {\n if (!err) {\n return false;\n }\n return (\n err.code === \"ETIMEDOUT\" ||\n err.code === \"ESOCKETTIMEDOUT\" ||\n err.code === \"ECONNREFUSED\" ||\n err.code === \"ECONNRESET\" ||\n err.code === \"ENOENT\"\n );\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"../interfaces\";\nimport { PipelinePolicy } from \"../pipeline\";\nimport { delay } from \"../util/helpers\";\nimport { createClientLogger } from \"@azure/logger\";\nimport { RetryStrategy } from \"../retryStrategies/retryStrategy\";\nimport { RestError } from \"../restError\";\nimport { AbortError } from \"@azure/abort-controller\";\nimport { AzureLogger } from \"@azure/logger\";\nimport { DEFAULT_RETRY_POLICY_COUNT } from \"../constants\";\n\nconst retryPolicyLogger = createClientLogger(\"core-rest-pipeline retryPolicy\");\n\n/**\n * The programmatic identifier of the retryPolicy.\n */\nconst retryPolicyName = \"retryPolicy\";\n\n/**\n * Options to the {@link retryPolicy}\n */\nexport interface RetryPolicyOptions {\n /**\n * Maximum number of retries. If not specified, it will limit to 3 retries.\n */\n maxRetries?: number;\n /**\n * Logger. If it's not provided, a default logger is used.\n */\n logger?: AzureLogger;\n}\n\n/**\n * retryPolicy is a generic policy to enable retrying requests when certain conditions are met\n */\nexport function retryPolicy(\n strategies: RetryStrategy[],\n options: RetryPolicyOptions = { maxRetries: DEFAULT_RETRY_POLICY_COUNT }\n): PipelinePolicy {\n const logger = options.logger || retryPolicyLogger;\n return {\n name: retryPolicyName,\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n let response: PipelineResponse | undefined;\n let responseError: RestError | undefined;\n let retryCount = -1;\n\n // eslint-disable-next-line no-constant-condition\n retryRequest: while (true) {\n retryCount += 1;\n response = undefined;\n responseError = undefined;\n\n try {\n logger.info(`Retry ${retryCount}: Attempting to send request`, request.requestId);\n response = await next(request);\n logger.info(`Retry ${retryCount}: Received a response from request`, request.requestId);\n } catch (e: any) {\n logger.error(`Retry ${retryCount}: Received an error from request`, request.requestId);\n\n // RestErrors are valid targets for the retry strategies.\n // If none of the retry strategies can work with them, they will be thrown later in this policy.\n // If the received error is not a RestError, it is immediately thrown.\n responseError = e as RestError;\n if (!e || responseError.name !== \"RestError\") {\n throw e;\n }\n\n response = responseError.response;\n }\n\n if (request.abortSignal?.aborted) {\n logger.error(`Retry ${retryCount}: Request aborted.`);\n const abortError = new AbortError();\n throw abortError;\n }\n\n if (retryCount >= (options.maxRetries ?? DEFAULT_RETRY_POLICY_COUNT)) {\n logger.info(\n `Retry ${retryCount}: Maximum retries reached. Returning the last received response, or throwing the last received error.`\n );\n if (responseError) {\n throw responseError;\n } else if (response) {\n return response;\n } else {\n throw new Error(\"Maximum retries reached with no response or error to throw\");\n }\n }\n\n logger.info(`Retry ${retryCount}: Processing ${strategies.length} retry strategies.`);\n\n strategiesLoop: for (const strategy of strategies) {\n const strategyLogger = strategy.logger || retryPolicyLogger;\n strategyLogger.info(`Retry ${retryCount}: Processing retry strategy ${strategy.name}.`);\n\n const modifiers = strategy.retry({\n retryCount,\n response,\n responseError,\n });\n\n if (modifiers.skipStrategy) {\n strategyLogger.info(`Retry ${retryCount}: Skipped.`);\n continue strategiesLoop;\n }\n\n const { errorToThrow, retryAfterInMs, redirectTo } = modifiers;\n\n if (errorToThrow) {\n strategyLogger.error(\n `Retry ${retryCount}: Retry strategy ${strategy.name} throws error:`,\n errorToThrow\n );\n throw errorToThrow;\n }\n\n if (retryAfterInMs || retryAfterInMs === 0) {\n strategyLogger.info(\n `Retry ${retryCount}: Retry strategy ${strategy.name} retries after ${retryAfterInMs}`\n );\n await delay(retryAfterInMs, undefined, { abortSignal: request.abortSignal });\n continue retryRequest;\n }\n\n if (redirectTo) {\n strategyLogger.info(\n `Retry ${retryCount}: Retry strategy ${strategy.name} redirects to ${redirectTo}`\n );\n request.url = redirectTo;\n continue retryRequest;\n }\n }\n\n if (responseError) {\n logger.info(\n `None of the retry strategies could work with the received error. Throwing it.`\n );\n throw responseError;\n }\n if (response) {\n logger.info(\n `None of the retry strategies could work with the received response. Returning it.`\n );\n return response;\n }\n\n // If all the retries skip and there's no response,\n // we're still in the retry loop, so a new request will be sent\n // until `maxRetries` is reached.\n }\n },\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelineRetryOptions } from \"../interfaces\";\nimport { PipelinePolicy } from \"../pipeline\";\nimport { exponentialRetryStrategy } from \"../retryStrategies/exponentialRetryStrategy\";\nimport { throttlingRetryStrategy } from \"../retryStrategies/throttlingRetryStrategy\";\nimport { retryPolicy } from \"./retryPolicy\";\nimport { DEFAULT_RETRY_POLICY_COUNT } from \"../constants\";\n\n/**\n * Name of the {@link defaultRetryPolicy}\n */\nexport const defaultRetryPolicyName = \"defaultRetryPolicy\";\n\n/**\n * Options that control how to retry failed requests.\n */\nexport interface DefaultRetryPolicyOptions extends PipelineRetryOptions {}\n\n/**\n * A policy that retries according to three strategies:\n * - When the server sends a 429 response with a Retry-After header.\n * - When there are errors in the underlying transport layer (e.g. DNS lookup failures).\n * - Or otherwise if the outgoing request fails, it will retry with an exponentially increasing delay.\n */\nexport function defaultRetryPolicy(options: DefaultRetryPolicyOptions = {}): PipelinePolicy {\n return {\n name: defaultRetryPolicyName,\n sendRequest: retryPolicy([throttlingRetryStrategy(), exponentialRetryStrategy(options)], {\n maxRetries: options.maxRetries ?? DEFAULT_RETRY_POLICY_COUNT,\n }).sendRequest,\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport FormData from \"form-data\";\nimport { FormDataMap, PipelineRequest, PipelineResponse, SendRequest } from \"../interfaces\";\nimport { PipelinePolicy } from \"../pipeline\";\n\n/**\n * The programmatic identifier of the formDataPolicy.\n */\nexport const formDataPolicyName = \"formDataPolicy\";\n\n/**\n * A policy that encodes FormData on the request into the body.\n */\nexport function formDataPolicy(): PipelinePolicy {\n return {\n name: formDataPolicyName,\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n if (request.formData) {\n const contentType = request.headers.get(\"Content-Type\");\n if (contentType && contentType.indexOf(\"application/x-www-form-urlencoded\") !== -1) {\n request.body = wwwFormUrlEncode(request.formData);\n request.formData = undefined;\n } else {\n await prepareFormData(request.formData, request);\n }\n }\n return next(request);\n },\n };\n}\n\nfunction wwwFormUrlEncode(formData: FormDataMap): string {\n const urlSearchParams = new URLSearchParams();\n for (const [key, value] of Object.entries(formData)) {\n if (Array.isArray(value)) {\n for (const subValue of value) {\n urlSearchParams.append(key, subValue.toString());\n }\n } else {\n urlSearchParams.append(key, value.toString());\n }\n }\n return urlSearchParams.toString();\n}\n\nasync function prepareFormData(formData: FormDataMap, request: PipelineRequest): Promise<void> {\n const requestForm = new FormData();\n for (const formKey of Object.keys(formData)) {\n const formValue = formData[formKey];\n if (Array.isArray(formValue)) {\n for (const subValue of formValue) {\n requestForm.append(formKey, subValue);\n }\n } else {\n requestForm.append(formKey, formValue);\n }\n }\n\n request.body = requestForm;\n request.formData = undefined;\n const contentType = request.headers.get(\"Content-Type\");\n if (contentType && contentType.indexOf(\"multipart/form-data\") !== -1) {\n request.headers.set(\n \"Content-Type\",\n `multipart/form-data; boundary=${requestForm.getBoundary()}`\n );\n }\n try {\n const contentLength = await new Promise<number>((resolve, reject) => {\n requestForm.getLength((err, length) => {\n if (err) {\n reject(err);\n } else {\n resolve(length);\n }\n });\n });\n request.headers.set(\"Content-Length\", contentLength);\n } catch (e: any) {\n // ignore setting the length if this fails\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport * as http from \"http\";\nimport * as https from \"https\";\nimport { HttpsProxyAgent, HttpsProxyAgentOptions } from \"https-proxy-agent\";\nimport { HttpProxyAgent, HttpProxyAgentOptions } from \"http-proxy-agent\";\nimport { PipelineRequest, PipelineResponse, ProxySettings, SendRequest } from \"../interfaces\";\nimport { PipelinePolicy } from \"../pipeline\";\nimport { logger } from \"../log\";\n\nconst HTTPS_PROXY = \"HTTPS_PROXY\";\nconst HTTP_PROXY = \"HTTP_PROXY\";\nconst ALL_PROXY = \"ALL_PROXY\";\nconst NO_PROXY = \"NO_PROXY\";\n\n/**\n * The programmatic identifier of the proxyPolicy.\n */\nexport const proxyPolicyName = \"proxyPolicy\";\n\n/**\n * Stores the patterns specified in NO_PROXY environment variable.\n * @internal\n */\nexport const globalNoProxyList: string[] = [];\nlet noProxyListLoaded: boolean = false;\n\n/** A cache of whether a host should bypass the proxy. */\nconst globalBypassedMap: Map<string, boolean> = new Map();\n\nfunction getEnvironmentValue(name: string): string | undefined {\n if (process.env[name]) {\n return process.env[name];\n } else if (process.env[name.toLowerCase()]) {\n return process.env[name.toLowerCase()];\n }\n return undefined;\n}\n\nfunction loadEnvironmentProxyValue(): string | undefined {\n if (!process) {\n return undefined;\n }\n\n const httpsProxy = getEnvironmentValue(HTTPS_PROXY);\n const allProxy = getEnvironmentValue(ALL_PROXY);\n const httpProxy = getEnvironmentValue(HTTP_PROXY);\n\n return httpsProxy || allProxy || httpProxy;\n}\n\n/**\n * Check whether the host of a given `uri` matches any pattern in the no proxy list.\n * If there's a match, any request sent to the same host shouldn't have the proxy settings set.\n * This implementation is a port of https://github.com/Azure/azure-sdk-for-net/blob/8cca811371159e527159c7eb65602477898683e2/sdk/core/Azure.Core/src/Pipeline/Internal/HttpEnvironmentProxy.cs#L210\n */\nfunction isBypassed(\n uri: string,\n noProxyList: string[],\n bypassedMap?: Map<string, boolean>\n): boolean | undefined {\n if (noProxyList.length === 0) {\n return false;\n }\n const host = new URL(uri).hostname;\n if (bypassedMap?.has(host)) {\n return bypassedMap.get(host);\n }\n let isBypassedFlag = false;\n for (const pattern of noProxyList) {\n if (pattern[0] === \".\") {\n // This should match either domain it self or any subdomain or host\n // .foo.com will match foo.com it self or *.foo.com\n if (host.endsWith(pattern)) {\n isBypassedFlag = true;\n } else {\n if (host.length === pattern.length - 1 && host === pattern.slice(1)) {\n isBypassedFlag = true;\n }\n }\n } else {\n if (host === pattern) {\n isBypassedFlag = true;\n }\n }\n }\n bypassedMap?.set(host, isBypassedFlag);\n return isBypassedFlag;\n}\n\nexport function loadNoProxy(): string[] {\n const noProxy = getEnvironmentValue(NO_PROXY);\n noProxyListLoaded = true;\n if (noProxy) {\n return noProxy\n .split(\",\")\n .map((item) => item.trim())\n .filter((item) => item.length);\n }\n\n return [];\n}\n\n/**\n * This method converts a proxy url into `ProxySettings` for use with ProxyPolicy.\n * If no argument is given, it attempts to parse a proxy URL from the environment\n * variables `HTTPS_PROXY` or `HTTP_PROXY`.\n * @param proxyUrl - The url of the proxy to use. May contain authentication information.\n */\nexport function getDefaultProxySettings(proxyUrl?: string): ProxySettings | undefined {\n if (!proxyUrl) {\n proxyUrl = loadEnvironmentProxyValue();\n if (!proxyUrl) {\n return undefined;\n }\n }\n\n const parsedUrl = new URL(proxyUrl);\n const schema = parsedUrl.protocol ? parsedUrl.protocol + \"//\" : \"\";\n return {\n host: schema + parsedUrl.hostname,\n port: Number.parseInt(parsedUrl.port || \"80\"),\n username: parsedUrl.username,\n password: parsedUrl.password,\n };\n}\n\n/**\n * @internal\n */\nexport function getProxyAgentOptions(\n proxySettings: ProxySettings,\n { headers, tlsSettings }: PipelineRequest\n): HttpProxyAgentOptions {\n let parsedProxyUrl: URL;\n try {\n parsedProxyUrl = new URL(proxySettings.host);\n } catch (_error) {\n throw new Error(\n `Expecting a valid host string in proxy settings, but found \"${proxySettings.host}\".`\n );\n }\n\n if (tlsSettings) {\n logger.warning(\n \"TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.\"\n );\n }\n\n const proxyAgentOptions: HttpsProxyAgentOptions = {\n hostname: parsedProxyUrl.hostname,\n port: proxySettings.port,\n protocol: parsedProxyUrl.protocol,\n headers: headers.toJSON(),\n };\n if (proxySettings.username && proxySettings.password) {\n proxyAgentOptions.auth = `${proxySettings.username}:${proxySettings.password}`;\n } else if (proxySettings.username) {\n proxyAgentOptions.auth = `${proxySettings.username}`;\n }\n return proxyAgentOptions;\n}\n\nfunction setProxyAgentOnRequest(request: PipelineRequest, cachedAgents: CachedAgents): void {\n // Custom Agent should take precedence so if one is present\n // we should skip to avoid overwriting it.\n if (request.agent) {\n return;\n }\n\n const url = new URL(request.url);\n\n const isInsecure = url.protocol !== \"https:\";\n\n const proxySettings = request.proxySettings;\n if (proxySettings) {\n if (isInsecure) {\n if (!cachedAgents.httpProxyAgent) {\n const proxyAgentOptions = getProxyAgentOptions(proxySettings, request);\n cachedAgents.httpProxyAgent = new HttpProxyAgent(proxyAgentOptions);\n }\n request.agent = cachedAgents.httpProxyAgent;\n } else {\n if (!cachedAgents.httpsProxyAgent) {\n const proxyAgentOptions = getProxyAgentOptions(proxySettings, request);\n cachedAgents.httpsProxyAgent = new HttpsProxyAgent(proxyAgentOptions);\n }\n request.agent = cachedAgents.httpsProxyAgent;\n }\n }\n}\n\ninterface CachedAgents {\n httpsProxyAgent?: https.Agent;\n httpProxyAgent?: http.Agent;\n}\n\n/**\n * A policy that allows one to apply proxy settings to all requests.\n * If not passed static settings, they will be retrieved from the HTTPS_PROXY\n * or HTTP_PROXY environment variables.\n * @param proxySettings - ProxySettings to use on each request.\n * @param options - additional settings, for example, custom NO_PROXY patterns\n */\nexport function proxyPolicy(\n proxySettings = getDefaultProxySettings(),\n options?: {\n /** a list of patterns to override those loaded from NO_PROXY environment variable. */\n customNoProxyList?: string[];\n }\n): PipelinePolicy {\n if (!noProxyListLoaded) {\n globalNoProxyList.push(...loadNoProxy());\n }\n\n const cachedAgents: CachedAgents = {};\n\n return {\n name: proxyPolicyName,\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n if (\n !request.proxySettings &&\n !isBypassed(\n request.url,\n options?.customNoProxyList ?? globalNoProxyList,\n options?.customNoProxyList ? undefined : globalBypassedMap\n )\n ) {\n request.proxySettings = proxySettings;\n }\n\n if (request.proxySettings) {\n setProxyAgentOnRequest(request, cachedAgents);\n }\n return next(request);\n },\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"../interfaces\";\nimport { PipelinePolicy } from \"../pipeline\";\n\n/**\n * The programmatic identifier of the setClientRequestIdPolicy.\n */\nexport const setClientRequestIdPolicyName = \"setClientRequestIdPolicy\";\n\n/**\n * Each PipelineRequest gets a unique id upon creation.\n * This policy passes that unique id along via an HTTP header to enable better\n * telemetry and tracing.\n * @param requestIdHeaderName - The name of the header to pass the request ID to.\n */\nexport function setClientRequestIdPolicy(\n requestIdHeaderName = \"x-ms-client-request-id\"\n): PipelinePolicy {\n return {\n name: setClientRequestIdPolicyName,\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n if (!request.headers.has(requestIdHeaderName)) {\n request.headers.set(requestIdHeaderName, request.requestId);\n }\n return next(request);\n },\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelinePolicy } from \"../pipeline\";\nimport { TlsSettings } from \"../interfaces\";\n\n/**\n * Name of the TLS Policy\n */\nexport const tlsPolicyName = \"tlsPolicy\";\n\n/**\n * Gets a pipeline policy that adds the client certificate to the HttpClient agent for authentication.\n */\nexport function tlsPolicy(tlsSettings?: TlsSettings): PipelinePolicy {\n return {\n name: tlsPolicyName,\n sendRequest: async (req, next) => {\n // Users may define a request tlsSettings, honor those over the client level one\n if (!req.tlsSettings) {\n req.tlsSettings = tlsSettings;\n }\n return next(req);\n },\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { inspect } from \"util\";\n\nexport const custom = inspect.custom;\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { isError } from \"@azure/core-util\";\nimport { PipelineRequest, PipelineResponse } from \"./interfaces\";\nimport { custom } from \"./util/inspect\";\nimport { Sanitizer } from \"./util/sanitizer\";\n\nconst errorSanitizer = new Sanitizer();\n\n/**\n * The options supported by RestError.\n */\nexport interface RestErrorOptions {\n /**\n * The code of the error itself (use statics on RestError if possible.)\n */\n code?: string;\n /**\n * The HTTP status code of the request (if applicable.)\n */\n statusCode?: number;\n /**\n * The request that was made.\n */\n request?: PipelineRequest;\n /**\n * The response received (if any.)\n */\n response?: PipelineResponse;\n}\n\n/**\n * A custom error type for failed pipeline requests.\n */\nexport class RestError extends Error {\n /**\n * Something went wrong when making the request.\n * This means the actual request failed for some reason,\n * such as a DNS issue or the connection being lost.\n */\n static readonly REQUEST_SEND_ERROR: string = \"REQUEST_SEND_ERROR\";\n /**\n * This means that parsing the response from the server failed.\n * It may have been malformed.\n */\n static readonly PARSE_ERROR: string = \"PARSE_ERROR\";\n\n /**\n * The code of the error itself (use statics on RestError if possible.)\n */\n public code?: string;\n /**\n * The HTTP status code of the request (if applicable.)\n */\n public statusCode?: number;\n /**\n * The request that was made.\n */\n public request?: PipelineRequest;\n /**\n * The response received (if any.)\n */\n public response?: PipelineResponse;\n /**\n * Bonus property set by the throw site.\n */\n public details?: unknown;\n\n constructor(message: string, options: RestErrorOptions = {}) {\n super(message);\n this.name = \"RestError\";\n this.code = options.code;\n this.statusCode = options.statusCode;\n this.request = options.request;\n this.response = options.response;\n\n Object.setPrototypeOf(this, RestError.prototype);\n }\n\n /**\n * Logging method for util.inspect in Node\n */\n [custom](): string {\n return `RestError: ${this.message} \\n ${errorSanitizer.sanitize(this)}`;\n }\n}\n\n/**\n * Typeguard for RestError\n * @param e - Something caught by a catch clause.\n */\nexport function isRestError(e: unknown): e is RestError {\n if (e instanceof RestError) {\n return true;\n }\n return isError(e) && e.name === \"RestError\";\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n TracingClient,\n TracingContext,\n TracingSpan,\n createTracingClient,\n} from \"@azure/core-tracing\";\nimport { SDK_VERSION } from \"../constants\";\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"../interfaces\";\nimport { PipelinePolicy } from \"../pipeline\";\nimport { getUserAgentValue } from \"../util/userAgent\";\nimport { logger } from \"../log\";\nimport { getErrorMessage, isError } from \"@azure/core-util\";\nimport { isRestError } from \"../restError\";\n\n/**\n * The programmatic identifier of the tracingPolicy.\n */\nexport const tracingPolicyName = \"tracingPolicy\";\n\n/**\n * Options to configure the tracing policy.\n */\nexport interface TracingPolicyOptions {\n /**\n * String prefix to add to the user agent logged as metadata\n * on the generated Span.\n * Defaults to an empty string.\n */\n userAgentPrefix?: string;\n}\n\n/**\n * A simple policy to create OpenTelemetry Spans for each request made by the pipeline\n * that has SpanOptions with a parent.\n * Requests made without a parent Span will not be recorded.\n * @param options - Options to configure the telemetry logged by the tracing policy.\n */\nexport function tracingPolicy(options: TracingPolicyOptions = {}): PipelinePolicy {\n const userAgent = getUserAgentValue(options.userAgentPrefix);\n const tracingClient = tryCreateTracingClient();\n\n return {\n name: tracingPolicyName,\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n if (!tracingClient || !request.tracingOptions?.tracingContext) {\n return next(request);\n }\n\n const { span, tracingContext } = tryCreateSpan(tracingClient, request, userAgent) ?? {};\n\n if (!span || !tracingContext) {\n return next(request);\n }\n\n try {\n const response = await tracingClient.withContext(tracingContext, next, request);\n tryProcessResponse(span, response);\n return response;\n } catch (err: any) {\n tryProcessError(span, err);\n throw err;\n }\n },\n };\n}\n\nfunction tryCreateTracingClient(): TracingClient | undefined {\n try {\n return createTracingClient({\n namespace: \"\",\n packageName: \"@azure/core-rest-pipeline\",\n packageVersion: SDK_VERSION,\n });\n } catch (e: unknown) {\n logger.warning(`Error when creating the TracingClient: ${getErrorMessage(e)}`);\n return undefined;\n }\n}\n\nfunction tryCreateSpan(\n tracingClient: TracingClient,\n request: PipelineRequest,\n userAgent?: string\n): { span: TracingSpan; tracingContext: TracingContext } | undefined {\n try {\n // As per spec, we do not need to differentiate between HTTP and HTTPS in span name.\n const { span, updatedOptions } = tracingClient.startSpan(\n `HTTP ${request.method}`,\n { tracingOptions: request.tracingOptions },\n {\n spanKind: \"client\",\n spanAttributes: {\n \"http.method\": request.method,\n \"http.url\": request.url,\n requestId: request.requestId,\n },\n }\n );\n\n // If the span is not recording, don't do any more work.\n if (!span.isRecording()) {\n span.end();\n return undefined;\n }\n\n if (userAgent) {\n span.setAttribute(\"http.user_agent\", userAgent);\n }\n\n // set headers\n const headers = tracingClient.createRequestHeaders(\n updatedOptions.tracingOptions.tracingContext\n );\n for (const [key, value] of Object.entries(headers)) {\n request.headers.set(key, value);\n }\n return { span, tracingContext: updatedOptions.tracingOptions.tracingContext };\n } catch (e: any) {\n logger.warning(`Skipping creating a tracing span due to an error: ${getErrorMessage(e)}`);\n return undefined;\n }\n}\n\nfunction tryProcessError(span: TracingSpan, error: unknown): void {\n try {\n span.setStatus({\n status: \"error\",\n error: isError(error) ? error : undefined,\n });\n if (isRestError(error) && error.statusCode) {\n span.setAttribute(\"http.status_code\", error.statusCode);\n }\n span.end();\n } catch (e: any) {\n logger.warning(`Skipping tracing span processing due to an error: ${getErrorMessage(e)}`);\n }\n}\n\nfunction tryProcessResponse(span: TracingSpan, response: PipelineResponse): void {\n try {\n span.setAttribute(\"http.status_code\", response.status);\n const serviceRequestId = response.headers.get(\"x-ms-request-id\");\n if (serviceRequestId) {\n span.setAttribute(\"serviceRequestId\", serviceRequestId);\n }\n span.setStatus({\n status: \"success\",\n });\n span.end();\n } catch (e: any) {\n logger.warning(`Skipping tracing span processing due to an error: ${getErrorMessage(e)}`);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { LogPolicyOptions, logPolicy } from \"./policies/logPolicy\";\nimport { Pipeline, createEmptyPipeline } from \"./pipeline\";\nimport { PipelineRetryOptions, TlsSettings } from \"./interfaces\";\nimport { RedirectPolicyOptions, redirectPolicy } from \"./policies/redirectPolicy\";\nimport { UserAgentPolicyOptions, userAgentPolicy } from \"./policies/userAgentPolicy\";\n\nimport { ProxySettings } from \".\";\nimport { decompressResponsePolicy } from \"./policies/decompressResponsePolicy\";\nimport { defaultRetryPolicy } from \"./policies/defaultRetryPolicy\";\nimport { formDataPolicy } from \"./policies/formDataPolicy\";\nimport { isNode } from \"@azure/core-util\";\nimport { proxyPolicy } from \"./policies/proxyPolicy\";\nimport { setClientRequestIdPolicy } from \"./policies/setClientRequestIdPolicy\";\nimport { tlsPolicy } from \"./policies/tlsPolicy\";\nimport { tracingPolicy } from \"./policies/tracingPolicy\";\n\n/**\n * Defines options that are used to configure the HTTP pipeline for\n * an SDK client.\n */\nexport interface PipelineOptions {\n /**\n * Options that control how to retry failed requests.\n */\n retryOptions?: PipelineRetryOptions;\n\n /**\n * Options to configure a proxy for outgoing requests.\n */\n proxyOptions?: ProxySettings;\n\n /** Options for configuring TLS authentication */\n tlsOptions?: TlsSettings;\n\n /**\n * Options for how redirect responses are handled.\n */\n redirectOptions?: RedirectPolicyOptions;\n\n /**\n * Options for adding user agent details to outgoing requests.\n */\n userAgentOptions?: UserAgentPolicyOptions;\n}\n\n/**\n * Defines options that are used to configure internal options of\n * the HTTP pipeline for an SDK client.\n */\nexport interface InternalPipelineOptions extends PipelineOptions {\n /**\n * Options to configure request/response logging.\n */\n loggingOptions?: LogPolicyOptions;\n}\n\n/**\n * Create a new pipeline with a default set of customizable policies.\n * @param options - Options to configure a custom pipeline.\n */\nexport function createPipelineFromOptions(options: InternalPipelineOptions): Pipeline {\n const pipeline = createEmptyPipeline();\n\n if (isNode) {\n if (options.tlsOptions) {\n pipeline.addPolicy(tlsPolicy(options.tlsOptions));\n }\n pipeline.addPolicy(proxyPolicy(options.proxyOptions));\n pipeline.addPolicy(decompressResponsePolicy());\n }\n\n pipeline.addPolicy(formDataPolicy());\n pipeline.addPolicy(userAgentPolicy(options.userAgentOptions));\n pipeline.addPolicy(setClientRequestIdPolicy());\n pipeline.addPolicy(defaultRetryPolicy(options.retryOptions), { phase: \"Retry\" });\n pipeline.addPolicy(tracingPolicy(options.userAgentOptions), { afterPhase: \"Retry\" });\n if (isNode) {\n // Both XHR and Fetch expect to handle redirects automatically,\n // so only include this policy when we're in Node.\n pipeline.addPolicy(redirectPolicy(options.redirectOptions), { afterPhase: \"Retry\" });\n }\n pipeline.addPolicy(logPolicy(options.loggingOptions), { afterPhase: \"Sign\" });\n\n return pipeline;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { HttpHeaders, RawHttpHeaders, RawHttpHeadersInput } from \"./interfaces\";\n\ninterface HeaderEntry {\n name: string;\n value: string;\n}\n\nfunction normalizeName(name: string): string {\n return name.toLowerCase();\n}\n\nfunction* headerIterator(map: Map<string, HeaderEntry>): IterableIterator<[string, string]> {\n for (const entry of map.values()) {\n yield [entry.name, entry.value];\n }\n}\n\nclass HttpHeadersImpl implements HttpHeaders {\n private readonly _headersMap: Map<string, HeaderEntry>;\n\n constructor(rawHeaders?: RawHttpHeaders | RawHttpHeadersInput) {\n this._headersMap = new Map<string, HeaderEntry>();\n if (rawHeaders) {\n for (const headerName of Object.keys(rawHeaders)) {\n this.set(headerName, rawHeaders[headerName]);\n }\n }\n }\n\n /**\n * Set a header in this collection with the provided name and value. The name is\n * case-insensitive.\n * @param name - The name of the header to set. This value is case-insensitive.\n * @param value - The value of the header to set.\n */\n public set(name: string, value: string | number | boolean): void {\n this._headersMap.set(normalizeName(name), { name, value: String(value) });\n }\n\n /**\n * Get the header value for the provided header name, or undefined if no header exists in this\n * collection with the provided name.\n * @param name - The name of the header. This value is case-insensitive.\n */\n public get(name: string): string | undefined {\n return this._headersMap.get(normalizeName(name))?.value;\n }\n\n /**\n * Get whether or not this header collection contains a header entry for the provided header name.\n * @param name - The name of the header to set. This value is case-insensitive.\n */\n public has(name: string): boolean {\n return this._headersMap.has(normalizeName(name));\n }\n\n /**\n * Remove the header with the provided headerName.\n * @param name - The name of the header to remove.\n */\n public delete(name: string): void {\n this._headersMap.delete(normalizeName(name));\n }\n\n /**\n * Get the JSON object representation of this HTTP header collection.\n */\n public toJSON(options: { preserveCase?: boolean } = {}): RawHttpHeaders {\n const result: RawHttpHeaders = {};\n if (options.preserveCase) {\n for (const entry of this._headersMap.values()) {\n result[entry.name] = entry.value;\n }\n } else {\n for (const [normalizedName, entry] of this._headersMap) {\n result[normalizedName] = entry.value;\n }\n }\n\n return result;\n }\n\n /**\n * Get the string representation of this HTTP header collection.\n */\n public toString(): string {\n return JSON.stringify(this.toJSON({ preserveCase: true }));\n }\n\n /**\n * Iterate over tuples of header [name, value] pairs.\n */\n [Symbol.iterator](): Iterator<[string, string]> {\n return headerIterator(this._headersMap);\n }\n}\n\n/**\n * Creates an object that satisfies the `HttpHeaders` interface.\n * @param rawHeaders - A simple object representing initial headers\n */\nexport function createHttpHeaders(rawHeaders?: RawHttpHeadersInput): HttpHeaders {\n return new HttpHeadersImpl(rawHeaders);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport * as http from \"http\";\nimport * as https from \"https\";\nimport * as zlib from \"zlib\";\nimport { Transform } from \"stream\";\nimport { AbortController, AbortError } from \"@azure/abort-controller\";\nimport {\n HttpClient,\n HttpHeaders,\n PipelineRequest,\n PipelineResponse,\n RequestBodyType,\n TlsSettings,\n TransferProgressEvent,\n} from \"./interfaces\";\nimport { createHttpHeaders } from \"./httpHeaders\";\nimport { RestError } from \"./restError\";\nimport { IncomingMessage } from \"http\";\nimport { logger } from \"./log\";\n\nconst DEFAULT_TLS_SETTINGS = {};\n\nfunction isReadableStream(body: any): body is NodeJS.ReadableStream {\n return body && typeof body.pipe === \"function\";\n}\n\nfunction isStreamComplete(stream: NodeJS.ReadableStream): Promise<void> {\n return new Promise((resolve) => {\n stream.on(\"close\", resolve);\n stream.on(\"end\", resolve);\n stream.on(\"error\", resolve);\n });\n}\n\nfunction isArrayBuffer(body: any): body is ArrayBuffer | ArrayBufferView {\n return body && typeof body.byteLength === \"number\";\n}\n\nclass ReportTransform extends Transform {\n private loadedBytes = 0;\n private progressCallback: (progress: TransferProgressEvent) => void;\n\n // eslint-disable-next-line @typescript-eslint/ban-types\n _transform(chunk: string | Buffer, _encoding: string, callback: Function): void {\n this.push(chunk);\n this.loadedBytes += chunk.length;\n try {\n this.progressCallback({ loadedBytes: this.loadedBytes });\n callback();\n } catch (e: any) {\n callback(e);\n }\n }\n\n constructor(progressCallback: (progress: TransferProgressEvent) => void) {\n super();\n this.progressCallback = progressCallback;\n }\n}\n\n/**\n * A HttpClient implementation that uses Node's \"https\" module to send HTTPS requests.\n * @internal\n */\nclass NodeHttpClient implements HttpClient {\n private cachedHttpAgent?: http.Agent;\n private cachedHttpsAgents: WeakMap<TlsSettings, https.Agent> = new WeakMap();\n\n /**\n * Makes a request over an underlying transport layer and returns the response.\n * @param request - The request to be made.\n */\n public async sendRequest(request: PipelineRequest): Promise<PipelineResponse> {\n const abortController = new AbortController();\n let abortListener: ((event: any) => void) | undefined;\n if (request.abortSignal) {\n if (request.abortSignal.aborted) {\n throw new AbortError(\"The operation was aborted.\");\n }\n\n abortListener = (event: Event) => {\n if (event.type === \"abort\") {\n abortController.abort();\n }\n };\n request.abortSignal.addEventListener(\"abort\", abortListener);\n }\n\n if (request.timeout > 0) {\n setTimeout(() => {\n abortController.abort();\n }, request.timeout);\n }\n\n const acceptEncoding = request.headers.get(\"Accept-Encoding\");\n const shouldDecompress =\n acceptEncoding?.includes(\"gzip\") || acceptEncoding?.includes(\"deflate\");\n\n let body = typeof request.body === \"function\" ? request.body() : request.body;\n if (body && !request.headers.has(\"Content-Length\")) {\n const bodyLength = getBodyLength(body);\n if (bodyLength !== null) {\n request.headers.set(\"Content-Length\", bodyLength);\n }\n }\n\n let responseStream: NodeJS.ReadableStream | undefined;\n try {\n if (body && request.onUploadProgress) {\n const onUploadProgress = request.onUploadProgress;\n const uploadReportStream = new ReportTransform(onUploadProgress);\n uploadReportStream.on(\"error\", (e) => {\n logger.error(\"Error in upload progress\", e);\n });\n if (isReadableStream(body)) {\n body.pipe(uploadReportStream);\n } else {\n uploadReportStream.end(body);\n }\n\n body = uploadReportStream;\n }\n\n const res = await this.makeRequest(request, abortController, body);\n\n const headers = getResponseHeaders(res);\n\n const status = res.statusCode ?? 0;\n const response: PipelineResponse = {\n status,\n headers,\n request,\n };\n\n // Responses to HEAD must not have a body.\n // If they do return a body, that body must be ignored.\n if (request.method === \"HEAD\") {\n // call resume() and not destroy() to avoid closing the socket\n // and losing keep alive\n res.resume();\n return response;\n }\n\n responseStream = shouldDecompress ? getDecodedResponseStream(res, headers) : res;\n\n const onDownloadProgress = request.onDownloadProgress;\n if (onDownloadProgress) {\n const downloadReportStream = new ReportTransform(onDownloadProgress);\n downloadReportStream.on(\"error\", (e) => {\n logger.error(\"Error in download progress\", e);\n });\n responseStream.pipe(downloadReportStream);\n responseStream = downloadReportStream;\n }\n\n if (\n // Value of POSITIVE_INFINITY in streamResponseStatusCodes is considered as any status code\n request.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY) ||\n request.streamResponseStatusCodes?.has(response.status)\n ) {\n response.readableStreamBody = responseStream;\n } else {\n response.bodyAsText = await streamToText(responseStream);\n }\n\n return response;\n } finally {\n // clean up event listener\n if (request.abortSignal && abortListener) {\n let uploadStreamDone = Promise.resolve();\n if (isReadableStream(body)) {\n uploadStreamDone = isStreamComplete(body as NodeJS.ReadableStream);\n }\n let downloadStreamDone = Promise.resolve();\n if (isReadableStream(responseStream)) {\n downloadStreamDone = isStreamComplete(responseStream);\n }\n\n Promise.all([uploadStreamDone, downloadStreamDone])\n .then(() => {\n // eslint-disable-next-line promise/always-return\n if (abortListener) {\n request.abortSignal?.removeEventListener(\"abort\", abortListener);\n }\n })\n .catch((e) => {\n logger.warning(\"Error when cleaning up abortListener on httpRequest\", e);\n });\n }\n }\n }\n\n private makeRequest(\n request: PipelineRequest,\n abortController: AbortController,\n body?: RequestBodyType\n ): Promise<http.IncomingMessage> {\n const url = new URL(request.url);\n\n const isInsecure = url.protocol !== \"https:\";\n\n if (isInsecure && !request.allowInsecureConnection) {\n throw new Error(`Cannot connect to ${request.url} while allowInsecureConnection is false.`);\n }\n\n const agent = (request.agent as http.Agent) ?? this.getOrCreateAgent(request, isInsecure);\n const options: http.RequestOptions = {\n agent,\n hostname: url.hostname,\n path: `${url.pathname}${url.search}`,\n port: url.port,\n method: request.method,\n headers: request.headers.toJSON({ preserveCase: true }),\n };\n\n return new Promise<http.IncomingMessage>((resolve, reject) => {\n const req = isInsecure ? http.request(options, resolve) : https.request(options, resolve);\n\n req.once(\"error\", (err: Error & { code?: string }) => {\n reject(\n new RestError(err.message, { code: err.code ?? RestError.REQUEST_SEND_ERROR, request })\n );\n });\n\n abortController.signal.addEventListener(\"abort\", () => {\n const abortError = new AbortError(\"The operation was aborted.\");\n req.destroy(abortError);\n reject(abortError);\n });\n if (body && isReadableStream(body)) {\n body.pipe(req);\n } else if (body) {\n if (typeof body === \"string\" || Buffer.isBuffer(body)) {\n req.end(body);\n } else if (isArrayBuffer(body)) {\n req.end(ArrayBuffer.isView(body) ? Buffer.from(body.buffer) : Buffer.from(body));\n } else {\n logger.error(\"Unrecognized body type\", body);\n reject(new RestError(\"Unrecognized body type\"));\n }\n } else {\n // streams don't like \"undefined\" being passed as data\n req.end();\n }\n });\n }\n\n private getOrCreateAgent(request: PipelineRequest, isInsecure: boolean): http.Agent {\n const disableKeepAlive = request.disableKeepAlive;\n\n // Handle Insecure requests first\n if (isInsecure) {\n if (disableKeepAlive) {\n // keepAlive:false is the default so we don't need a custom Agent\n return http.globalAgent;\n }\n\n if (!this.cachedHttpAgent) {\n // If there is no cached agent create a new one and cache it.\n this.cachedHttpAgent = new http.Agent({ keepAlive: true });\n }\n return this.cachedHttpAgent;\n } else {\n if (disableKeepAlive && !request.tlsSettings) {\n // When there are no tlsSettings and keepAlive is false\n // we don't need a custom agent\n return https.globalAgent;\n }\n\n // We use the tlsSettings to index cached clients\n const tlsSettings = request.tlsSettings ?? DEFAULT_TLS_SETTINGS;\n\n // Get the cached agent or create a new one with the\n // provided values for keepAlive and tlsSettings\n let agent = this.cachedHttpsAgents.get(tlsSettings);\n\n if (agent && agent.options.keepAlive === !disableKeepAlive) {\n return agent;\n }\n\n logger.info(\"No cached TLS Agent exist, creating a new Agent\");\n agent = new https.Agent({\n // keepAlive is true if disableKeepAlive is false.\n keepAlive: !disableKeepAlive,\n // Since we are spreading, if no tslSettings were provided, nothing is added to the agent options.\n ...tlsSettings,\n });\n\n this.cachedHttpsAgents.set(tlsSettings, agent);\n return agent;\n }\n }\n}\n\nfunction getResponseHeaders(res: IncomingMessage): HttpHeaders {\n const headers = createHttpHeaders();\n for (const header of Object.keys(res.headers)) {\n const value = res.headers[header];\n if (Array.isArray(value)) {\n if (value.length > 0) {\n headers.set(header, value[0]);\n }\n } else if (value) {\n headers.set(header, value);\n }\n }\n return headers;\n}\n\nfunction getDecodedResponseStream(\n stream: IncomingMessage,\n headers: HttpHeaders\n): NodeJS.ReadableStream {\n const contentEncoding = headers.get(\"Content-Encoding\");\n if (contentEncoding === \"gzip\") {\n const unzip = zlib.createGunzip();\n stream.pipe(unzip);\n return unzip;\n } else if (contentEncoding === \"deflate\") {\n const inflate = zlib.createInflate();\n stream.pipe(inflate);\n return inflate;\n }\n\n return stream;\n}\n\nfunction streamToText(stream: NodeJS.ReadableStream): Promise<string> {\n return new Promise<string>((resolve, reject) => {\n const buffer: Buffer[] = [];\n\n stream.on(\"data\", (chunk) => {\n if (Buffer.isBuffer(chunk)) {\n buffer.push(chunk);\n } else {\n buffer.push(Buffer.from(chunk));\n }\n });\n stream.on(\"end\", () => {\n resolve(Buffer.concat(buffer).toString(\"utf8\"));\n });\n stream.on(\"error\", (e) => {\n if (e && e?.name === \"AbortError\") {\n reject(e);\n } else {\n reject(\n new RestError(`Error reading response as text: ${e.message}`, {\n code: RestError.PARSE_ERROR,\n })\n );\n }\n });\n });\n}\n\n/** @internal */\nexport function getBodyLength(body: RequestBodyType): number | null {\n if (!body) {\n return 0;\n } else if (Buffer.isBuffer(body)) {\n return body.length;\n } else if (isReadableStream(body)) {\n return null;\n } else if (isArrayBuffer(body)) {\n return body.byteLength;\n } else if (typeof body === \"string\") {\n return Buffer.from(body).length;\n } else {\n return null;\n }\n}\n\n/**\n * Create a new HttpClient instance for the NodeJS environment.\n * @internal\n */\nexport function createNodeHttpClient(): HttpClient {\n return new NodeHttpClient();\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { HttpClient } from \"./interfaces\";\nimport { createNodeHttpClient } from \"./nodeHttpClient\";\n\n/**\n * Create the correct HttpClient for the current environment.\n */\nexport function createDefaultHttpClient(): HttpClient {\n return createNodeHttpClient();\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { v4 as uuidv4 } from \"uuid\";\n\n/**\n * Generated Universally Unique Identifier\n *\n * @returns RFC4122 v4 UUID.\n * @internal\n */\nexport function generateUuid(): string {\n return uuidv4();\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n FormDataMap,\n HttpHeaders,\n HttpMethods,\n PipelineRequest,\n ProxySettings,\n RequestBodyType,\n TransferProgressEvent,\n} from \"./interfaces\";\nimport { createHttpHeaders } from \"./httpHeaders\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { generateUuid } from \"./util/uuid\";\nimport { OperationTracingOptions } from \"@azure/core-tracing\";\n\n/**\n * Settings to initialize a request.\n * Almost equivalent to Partial<PipelineRequest>, but url is mandatory.\n */\nexport interface PipelineRequestOptions {\n /**\n * The URL to make the request to.\n */\n url: string;\n\n /**\n * The HTTP method to use when making the request.\n */\n method?: HttpMethods;\n\n /**\n * The HTTP headers to use when making the request.\n */\n headers?: HttpHeaders;\n\n /**\n * The number of milliseconds a request can take before automatically being terminated.\n * If the request is terminated, an `AbortError` is thrown.\n * Defaults to 0, which disables the timeout.\n */\n timeout?: number;\n\n /**\n * If credentials (cookies) should be sent along during an XHR.\n * Defaults to false.\n */\n withCredentials?: boolean;\n\n /**\n * A unique identifier for the request. Used for logging and tracing.\n */\n requestId?: string;\n\n /**\n * The HTTP body content (if any)\n */\n body?: RequestBodyType;\n\n /**\n * To simulate a browser form post\n */\n formData?: FormDataMap;\n\n /**\n * A list of response status codes whose corresponding PipelineResponse body should be treated as a stream.\n */\n streamResponseStatusCodes?: Set<number>;\n\n /**\n * BROWSER ONLY\n *\n * A browser only option to enable use of the Streams API. If this option is set and streaming is used\n * (see `streamResponseStatusCodes`), the response will have a property `browserStream` instead of\n * `blobBody` which will be undefined.\n *\n * Default value is false\n */\n enableBrowserStreams?: boolean;\n\n /**\n * Proxy configuration.\n */\n proxySettings?: ProxySettings;\n\n /**\n * If the connection should not be reused.\n */\n disableKeepAlive?: boolean;\n\n /**\n * Used to abort the request later.\n */\n abortSignal?: AbortSignalLike;\n\n /**\n * Options used to create a span when tracing is enabled.\n */\n tracingOptions?: OperationTracingOptions;\n\n /**\n * Callback which fires upon upload progress.\n */\n onUploadProgress?: (progress: TransferProgressEvent) => void;\n\n /** Callback which fires upon download progress. */\n onDownloadProgress?: (progress: TransferProgressEvent) => void;\n\n /** Set to true if the request is sent over HTTP instead of HTTPS */\n allowInsecureConnection?: boolean;\n}\n\nclass PipelineRequestImpl implements PipelineRequest {\n public url: string;\n public method: HttpMethods;\n public headers: HttpHeaders;\n public timeout: number;\n public withCredentials: boolean;\n public body?: RequestBodyType;\n public formData?: FormDataMap;\n public streamResponseStatusCodes?: Set<number>;\n public enableBrowserStreams: boolean;\n\n public proxySettings?: ProxySettings;\n public disableKeepAlive: boolean;\n public abortSignal?: AbortSignalLike;\n public requestId: string;\n public tracingOptions?: OperationTracingOptions;\n public allowInsecureConnection?: boolean;\n public onUploadProgress?: (progress: TransferProgressEvent) => void;\n public onDownloadProgress?: (progress: TransferProgressEvent) => void;\n\n constructor(options: PipelineRequestOptions) {\n this.url = options.url;\n this.body = options.body;\n this.headers = options.headers ?? createHttpHeaders();\n this.method = options.method ?? \"GET\";\n this.timeout = options.timeout ?? 0;\n this.formData = options.formData;\n this.disableKeepAlive = options.disableKeepAlive ?? false;\n this.proxySettings = options.proxySettings;\n this.streamResponseStatusCodes = options.streamResponseStatusCodes;\n this.withCredentials = options.withCredentials ?? false;\n this.abortSignal = options.abortSignal;\n this.tracingOptions = options.tracingOptions;\n this.onUploadProgress = options.onUploadProgress;\n this.onDownloadProgress = options.onDownloadProgress;\n this.requestId = options.requestId || generateUuid();\n this.allowInsecureConnection = options.allowInsecureConnection ?? false;\n this.enableBrowserStreams = options.enableBrowserStreams ?? false;\n }\n}\n\n/**\n * Creates a new pipeline request with the given options.\n * This method is to allow for the easy setting of default values and not required.\n * @param options - The options to create the request with.\n */\nexport function createPipelineRequest(options: PipelineRequestOptions): PipelineRequest {\n return new PipelineRequestImpl(options);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelinePolicy } from \"../pipeline\";\nimport { exponentialRetryStrategy } from \"../retryStrategies/exponentialRetryStrategy\";\nimport { retryPolicy } from \"./retryPolicy\";\nimport { DEFAULT_RETRY_POLICY_COUNT } from \"../constants\";\n\n/**\n * The programmatic identifier of the exponentialRetryPolicy.\n */\nexport const exponentialRetryPolicyName = \"exponentialRetryPolicy\";\n\n/**\n * Options that control how to retry failed requests.\n */\nexport interface ExponentialRetryPolicyOptions {\n /**\n * The maximum number of retry attempts. Defaults to 3.\n */\n maxRetries?: number;\n\n /**\n * The amount of delay in milliseconds between retry attempts. Defaults to 1000\n * (1 second.) The delay increases exponentially with each retry up to a maximum\n * specified by maxRetryDelayInMs.\n */\n retryDelayInMs?: number;\n\n /**\n * The maximum delay in milliseconds allowed before retrying an operation. Defaults\n * to 64000 (64 seconds).\n */\n maxRetryDelayInMs?: number;\n}\n\n/**\n * A policy that attempts to retry requests while introducing an exponentially increasing delay.\n * @param options - Options that configure retry logic.\n */\nexport function exponentialRetryPolicy(\n options: ExponentialRetryPolicyOptions = {}\n): PipelinePolicy {\n return retryPolicy(\n [\n exponentialRetryStrategy({\n ...options,\n ignoreSystemErrors: true,\n }),\n ],\n {\n maxRetries: options.maxRetries ?? DEFAULT_RETRY_POLICY_COUNT,\n }\n );\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelinePolicy } from \"../pipeline\";\nimport { exponentialRetryStrategy } from \"../retryStrategies/exponentialRetryStrategy\";\nimport { retryPolicy } from \"./retryPolicy\";\nimport { DEFAULT_RETRY_POLICY_COUNT } from \"../constants\";\n\n/**\n * Name of the {@link systemErrorRetryPolicy}\n */\nexport const systemErrorRetryPolicyName = \"systemErrorRetryPolicy\";\n\n/**\n * Options that control how to retry failed requests.\n */\nexport interface SystemErrorRetryPolicyOptions {\n /**\n * The maximum number of retry attempts. Defaults to 3.\n */\n maxRetries?: number;\n\n /**\n * The amount of delay in milliseconds between retry attempts. Defaults to 1000\n * (1 second.) The delay increases exponentially with each retry up to a maximum\n * specified by maxRetryDelayInMs.\n */\n retryDelayInMs?: number;\n\n /**\n * The maximum delay in milliseconds allowed before retrying an operation. Defaults\n * to 64000 (64 seconds).\n */\n maxRetryDelayInMs?: number;\n}\n\n/**\n * A retry policy that specifically seeks to handle errors in the\n * underlying transport layer (e.g. DNS lookup failures) rather than\n * retryable error codes from the server itself.\n * @param options - Options that customize the policy.\n */\nexport function systemErrorRetryPolicy(\n options: SystemErrorRetryPolicyOptions = {}\n): PipelinePolicy {\n return {\n name: systemErrorRetryPolicyName,\n sendRequest: retryPolicy(\n [\n exponentialRetryStrategy({\n ...options,\n ignoreHttpStatusCodes: true,\n }),\n ],\n {\n maxRetries: options.maxRetries ?? DEFAULT_RETRY_POLICY_COUNT,\n }\n ).sendRequest,\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelinePolicy } from \"../pipeline\";\nimport { throttlingRetryStrategy } from \"../retryStrategies/throttlingRetryStrategy\";\nimport { retryPolicy } from \"./retryPolicy\";\nimport { DEFAULT_RETRY_POLICY_COUNT } from \"../constants\";\n\n/**\n * Name of the {@link throttlingRetryPolicy}\n */\nexport const throttlingRetryPolicyName = \"throttlingRetryPolicy\";\n\n/**\n * Options that control how to retry failed requests.\n */\nexport interface ThrottlingRetryPolicyOptions {\n /**\n * The maximum number of retry attempts. Defaults to 3.\n */\n maxRetries?: number;\n}\n\n/**\n * A policy that retries when the server sends a 429 response with a Retry-After header.\n *\n * To learn more, please refer to\n * https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-request-limits,\n * https://docs.microsoft.com/en-us/azure/azure-subscription-service-limits and\n * https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshooting-throttling-errors\n *\n * @param options - Options that configure retry logic.\n */\nexport function throttlingRetryPolicy(options: ThrottlingRetryPolicyOptions = {}): PipelinePolicy {\n return {\n name: throttlingRetryPolicyName,\n sendRequest: retryPolicy([throttlingRetryStrategy()], {\n maxRetries: options.maxRetries ?? DEFAULT_RETRY_POLICY_COUNT,\n }).sendRequest,\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AccessToken, GetTokenOptions, TokenCredential } from \"@azure/core-auth\";\nimport { delay } from \"./helpers\";\n\n/**\n * A function that gets a promise of an access token and allows providing\n * options.\n *\n * @param options - the options to pass to the underlying token provider\n */\nexport type AccessTokenGetter = (\n scopes: string | string[],\n options: GetTokenOptions\n) => Promise<AccessToken>;\n\nexport interface TokenCyclerOptions {\n /**\n * The window of time before token expiration during which the token will be\n * considered unusable due to risk of the token expiring before sending the\n * request.\n *\n * This will only become meaningful if the refresh fails for over\n * (refreshWindow - forcedRefreshWindow) milliseconds.\n */\n forcedRefreshWindowInMs: number;\n /**\n * Interval in milliseconds to retry failed token refreshes.\n */\n retryIntervalInMs: number;\n /**\n * The window of time before token expiration during which\n * we will attempt to refresh the token.\n */\n refreshWindowInMs: number;\n}\n\n// Default options for the cycler if none are provided\nexport const DEFAULT_CYCLER_OPTIONS: TokenCyclerOptions = {\n forcedRefreshWindowInMs: 1000, // Force waiting for a refresh 1s before the token expires\n retryIntervalInMs: 3000, // Allow refresh attempts every 3s\n refreshWindowInMs: 1000 * 60 * 2, // Start refreshing 2m before expiry\n};\n\n/**\n * Converts an an unreliable access token getter (which may resolve with null)\n * into an AccessTokenGetter by retrying the unreliable getter in a regular\n * interval.\n *\n * @param getAccessToken - A function that produces a promise of an access token that may fail by returning null.\n * @param retryIntervalInMs - The time (in milliseconds) to wait between retry attempts.\n * @param refreshTimeout - The timestamp after which the refresh attempt will fail, throwing an exception.\n * @returns - A promise that, if it resolves, will resolve with an access token.\n */\nasync function beginRefresh(\n getAccessToken: () => Promise<AccessToken | null>,\n retryIntervalInMs: number,\n refreshTimeout: number\n): Promise<AccessToken> {\n // This wrapper handles exceptions gracefully as long as we haven't exceeded\n // the timeout.\n async function tryGetAccessToken(): Promise<AccessToken | null> {\n if (Date.now() < refreshTimeout) {\n try {\n return await getAccessToken();\n } catch {\n return null;\n }\n } else {\n const finalToken = await getAccessToken();\n\n // Timeout is up, so throw if it's still null\n if (finalToken === null) {\n throw new Error(\"Failed to refresh access token.\");\n }\n\n return finalToken;\n }\n }\n\n let token: AccessToken | null = await tryGetAccessToken();\n\n while (token === null) {\n await delay(retryIntervalInMs);\n\n token = await tryGetAccessToken();\n }\n\n return token;\n}\n\n/**\n * Creates a token cycler from a credential, scopes, and optional settings.\n *\n * A token cycler represents a way to reliably retrieve a valid access token\n * from a TokenCredential. It will handle initializing the token, refreshing it\n * when it nears expiration, and synchronizes refresh attempts to avoid\n * concurrency hazards.\n *\n * @param credential - the underlying TokenCredential that provides the access\n * token\n * @param tokenCyclerOptions - optionally override default settings for the cycler\n *\n * @returns - a function that reliably produces a valid access token\n */\nexport function createTokenCycler(\n credential: TokenCredential,\n tokenCyclerOptions?: Partial<TokenCyclerOptions>\n): AccessTokenGetter {\n let refreshWorker: Promise<AccessToken> | null = null;\n let token: AccessToken | null = null;\n let tenantId: string | undefined;\n\n const options = {\n ...DEFAULT_CYCLER_OPTIONS,\n ...tokenCyclerOptions,\n };\n\n /**\n * This little holder defines several predicates that we use to construct\n * the rules of refreshing the token.\n */\n const cycler = {\n /**\n * Produces true if a refresh job is currently in progress.\n */\n get isRefreshing(): boolean {\n return refreshWorker !== null;\n },\n /**\n * Produces true if the cycler SHOULD refresh (we are within the refresh\n * window and not already refreshing)\n */\n get shouldRefresh(): boolean {\n return (\n !cycler.isRefreshing &&\n (token?.expiresOnTimestamp ?? 0) - options.refreshWindowInMs < Date.now()\n );\n },\n /**\n * Produces true if the cycler MUST refresh (null or nearly-expired\n * token).\n */\n get mustRefresh(): boolean {\n return (\n token === null || token.expiresOnTimestamp - options.forcedRefreshWindowInMs < Date.now()\n );\n },\n };\n\n /**\n * Starts a refresh job or returns the existing job if one is already\n * running.\n */\n function refresh(\n scopes: string | string[],\n getTokenOptions: GetTokenOptions\n ): Promise<AccessToken> {\n if (!cycler.isRefreshing) {\n // We bind `scopes` here to avoid passing it around a lot\n const tryGetAccessToken = (): Promise<AccessToken | null> =>\n credential.getToken(scopes, getTokenOptions);\n\n // Take advantage of promise chaining to insert an assignment to `token`\n // before the refresh can be considered done.\n refreshWorker = beginRefresh(\n tryGetAccessToken,\n options.retryIntervalInMs,\n // If we don't have a token, then we should timeout immediately\n token?.expiresOnTimestamp ?? Date.now()\n )\n .then((_token) => {\n refreshWorker = null;\n token = _token;\n tenantId = getTokenOptions.tenantId;\n return token;\n })\n .catch((reason) => {\n // We also should reset the refresher if we enter a failed state. All\n // existing awaiters will throw, but subsequent requests will start a\n // new retry chain.\n refreshWorker = null;\n token = null;\n tenantId = undefined;\n throw reason;\n });\n }\n\n return refreshWorker as Promise<AccessToken>;\n }\n\n return async (scopes: string | string[], tokenOptions: GetTokenOptions): Promise<AccessToken> => {\n //\n // Simple rules:\n // - If we MUST refresh, then return the refresh task, blocking\n // the pipeline until a token is available.\n // - If we SHOULD refresh, then run refresh but don't return it\n // (we can still use the cached token).\n // - Return the token, since it's fine if we didn't return in\n // step 1.\n //\n\n // If the tenantId passed in token options is different to the one we have\n // Or if we are in claim challenge and the token was rejected and a new access token need to be issued, we need to\n // refresh the token with the new tenantId or token.\n const mustRefresh =\n tenantId !== tokenOptions.tenantId || Boolean(tokenOptions.claims) || cycler.mustRefresh;\n\n if (mustRefresh) return refresh(scopes, tokenOptions);\n\n if (cycler.shouldRefresh) {\n refresh(scopes, tokenOptions);\n }\n\n return token as AccessToken;\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AccessToken, GetTokenOptions, TokenCredential } from \"@azure/core-auth\";\nimport { AzureLogger } from \"@azure/logger\";\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"../interfaces\";\nimport { PipelinePolicy } from \"../pipeline\";\nimport { createTokenCycler } from \"../util/tokenCycler\";\nimport { logger as coreLogger } from \"../log\";\n\n/**\n * The programmatic identifier of the bearerTokenAuthenticationPolicy.\n */\nexport const bearerTokenAuthenticationPolicyName = \"bearerTokenAuthenticationPolicy\";\n\n/**\n * Options sent to the authorizeRequest callback\n */\nexport interface AuthorizeRequestOptions {\n /**\n * The scopes for which the bearer token applies.\n */\n scopes: string[];\n /**\n * Function that retrieves either a cached access token or a new access token.\n */\n getAccessToken: (scopes: string[], options: GetTokenOptions) => Promise<AccessToken | null>;\n /**\n * Request that the policy is trying to fulfill.\n */\n request: PipelineRequest;\n /**\n * A logger, if one was sent through the HTTP pipeline.\n */\n logger?: AzureLogger;\n}\n\n/**\n * Options sent to the authorizeRequestOnChallenge callback\n */\nexport interface AuthorizeRequestOnChallengeOptions {\n /**\n * The scopes for which the bearer token applies.\n */\n scopes: string[];\n /**\n * Function that retrieves either a cached access token or a new access token.\n */\n getAccessToken: (scopes: string[], options: GetTokenOptions) => Promise<AccessToken | null>;\n /**\n * Request that the policy is trying to fulfill.\n */\n request: PipelineRequest;\n /**\n * Response containing the challenge.\n */\n response: PipelineResponse;\n /**\n * A logger, if one was sent through the HTTP pipeline.\n */\n logger?: AzureLogger;\n}\n\n/**\n * Options to override the processing of [Continuous Access Evaluation](https://docs.microsoft.com/azure/active-directory/conditional-access/concept-continuous-access-evaluation) challenges.\n */\nexport interface ChallengeCallbacks {\n /**\n * Allows for the authorization of the main request of this policy before it's sent.\n */\n authorizeRequest?(options: AuthorizeRequestOptions): Promise<void>;\n /**\n * Allows to handle authentication challenges and to re-authorize the request.\n * The response containing the challenge is `options.response`.\n * If this method returns true, the underlying request will be sent once again.\n * The request may be modified before being sent.\n */\n authorizeRequestOnChallenge?(options: AuthorizeRequestOnChallengeOptions): Promise<boolean>;\n}\n\n/**\n * Options to configure the bearerTokenAuthenticationPolicy\n */\nexport interface BearerTokenAuthenticationPolicyOptions {\n /**\n * The TokenCredential implementation that can supply the bearer token.\n */\n credential?: TokenCredential;\n /**\n * The scopes for which the bearer token applies.\n */\n scopes: string | string[];\n /**\n * Allows for the processing of [Continuous Access Evaluation](https://docs.microsoft.com/azure/active-directory/conditional-access/concept-continuous-access-evaluation) challenges.\n * If provided, it must contain at least the `authorizeRequestOnChallenge` method.\n * If provided, after a request is sent, if it has a challenge, it can be processed to re-send the original request with the relevant challenge information.\n */\n challengeCallbacks?: ChallengeCallbacks;\n /**\n * A logger can be sent for debugging purposes.\n */\n logger?: AzureLogger;\n}\n\n/**\n * Default authorize request handler\n */\nasync function defaultAuthorizeRequest(options: AuthorizeRequestOptions): Promise<void> {\n const { scopes, getAccessToken, request } = options;\n const getTokenOptions: GetTokenOptions = {\n abortSignal: request.abortSignal,\n tracingOptions: request.tracingOptions,\n };\n const accessToken = await getAccessToken(scopes, getTokenOptions);\n\n if (accessToken) {\n options.request.headers.set(\"Authorization\", `Bearer ${accessToken.token}`);\n }\n}\n\n/**\n * We will retrieve the challenge only if the response status code was 401,\n * and if the response contained the header \"WWW-Authenticate\" with a non-empty value.\n */\nfunction getChallenge(response: PipelineResponse): string | undefined {\n const challenge = response.headers.get(\"WWW-Authenticate\");\n if (response.status === 401 && challenge) {\n return challenge;\n }\n return;\n}\n\n/**\n * A policy that can request a token from a TokenCredential implementation and\n * then apply it to the Authorization header of a request as a Bearer token.\n */\nexport function bearerTokenAuthenticationPolicy(\n options: BearerTokenAuthenticationPolicyOptions\n): PipelinePolicy {\n const { credential, scopes, challengeCallbacks } = options;\n const logger = options.logger || coreLogger;\n const callbacks = {\n authorizeRequest: challengeCallbacks?.authorizeRequest ?? defaultAuthorizeRequest,\n authorizeRequestOnChallenge: challengeCallbacks?.authorizeRequestOnChallenge,\n // keep all other properties\n ...challengeCallbacks,\n };\n\n // This function encapsulates the entire process of reliably retrieving the token\n // The options are left out of the public API until there's demand to configure this.\n // Remember to extend `BearerTokenAuthenticationPolicyOptions` with `TokenCyclerOptions`\n // in order to pass through the `options` object.\n const getAccessToken = credential\n ? createTokenCycler(credential /* , options */)\n : () => Promise.resolve(null);\n\n return {\n name: bearerTokenAuthenticationPolicyName,\n /**\n * If there's no challenge parameter:\n * - It will try to retrieve the token using the cache, or the credential's getToken.\n * - Then it will try the next policy with or without the retrieved token.\n *\n * It uses the challenge parameters to:\n * - Skip a first attempt to get the token from the credential if there's no cached token,\n * since it expects the token to be retrievable only after the challenge.\n * - Prepare the outgoing request if the `prepareRequest` method has been provided.\n * - Send an initial request to receive the challenge if it fails.\n * - Process a challenge if the response contains it.\n * - Retrieve a token with the challenge information, then re-send the request.\n */\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n if (!request.url.toLowerCase().startsWith(\"https://\")) {\n throw new Error(\n \"Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.\"\n );\n }\n\n await callbacks.authorizeRequest({\n scopes: Array.isArray(scopes) ? scopes : [scopes],\n request,\n getAccessToken,\n logger,\n });\n\n let response: PipelineResponse;\n let error: Error | undefined;\n try {\n response = await next(request);\n } catch (err: any) {\n error = err;\n response = err.response;\n }\n\n if (\n callbacks.authorizeRequestOnChallenge &&\n response?.status === 401 &&\n getChallenge(response)\n ) {\n // processes challenge\n const shouldSendRequest = await callbacks.authorizeRequestOnChallenge({\n scopes: Array.isArray(scopes) ? scopes : [scopes],\n request,\n response,\n getAccessToken,\n logger,\n });\n\n if (shouldSendRequest) {\n return next(request);\n }\n }\n\n if (error) {\n throw error;\n } else {\n return response;\n }\n },\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"../interfaces\";\nimport { PipelinePolicy } from \"../pipeline\";\n\n/**\n * The programmatic identifier of the ndJsonPolicy.\n */\nexport const ndJsonPolicyName = \"ndJsonPolicy\";\n\n/**\n * ndJsonPolicy is a policy used to control keep alive settings for every request.\n */\nexport function ndJsonPolicy(): PipelinePolicy {\n return {\n name: ndJsonPolicyName,\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n // There currently isn't a good way to bypass the serializer\n if (typeof request.body === \"string\" && request.body.startsWith(\"[\")) {\n const body = JSON.parse(request.body);\n if (Array.isArray(body)) {\n request.body = body.map((item) => JSON.stringify(item) + \"\\n\").join(\"\");\n }\n }\n return next(request);\n },\n };\n}\n"],"names":["createClientLogger","isObject","logger","coreLogger","os","AbortError","getRandomIntegerInclusive","FormData","HttpProxyAgent","HttpsProxyAgent","inspect","isError","createTracingClient","getErrorMessage","isNode","Transform","abortController","AbortController","http","https","zlib","uuidv4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAeA,MAAM,eAAe,GAAG,IAAI,GAAG,CAAgB,CAAC,aAAa,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;AAiG9F;;;;AAIG;AACH,MAAM,YAAY,CAAA;AAIhB,IAAA,WAAA,CAAoB,QAA+B,EAAA;;QAH3C,IAAS,CAAA,SAAA,GAAyB,EAAE,CAAC;AAI3C,QAAA,IAAI,CAAC,SAAS,GAAG,CAAA,EAAA,GAAA,QAAQ,aAAR,QAAQ,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAR,QAAQ,CAAE,KAAK,CAAC,CAAC,CAAC,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,EAAA,GAAI,EAAE,CAAC;AAC1C,QAAA,IAAI,CAAC,gBAAgB,GAAG,SAAS,CAAC;KACnC;AAEM,IAAA,SAAS,CAAC,MAAsB,EAAE,OAAA,GAA4B,EAAE,EAAA;AACrE,QAAA,IAAI,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,UAAU,EAAE;AACvC,YAAA,MAAM,IAAI,KAAK,CAAC,oDAAoD,CAAC,CAAC;AACvE,SAAA;AACD,QAAA,IAAI,OAAO,CAAC,KAAK,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,OAAO,CA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,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzE,iBAAA;AACF,aAAA;AACD,YAAA,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;SACtB;KACF,CAAC;AACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
// Copyright (c) Microsoft Corporation.
|
|
6
|
+
// Licensed under the MIT license.
|
|
7
|
+
/** @internal */
|
|
8
|
+
const knownContextKeys = {
|
|
9
|
+
span: Symbol.for("@azure/core-tracing span"),
|
|
10
|
+
namespace: Symbol.for("@azure/core-tracing namespace"),
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Creates a new {@link TracingContext} with the given options.
|
|
14
|
+
* @param options - A set of known keys that may be set on the context.
|
|
15
|
+
* @returns A new {@link TracingContext} with the given options.
|
|
16
|
+
*
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
function createTracingContext(options = {}) {
|
|
20
|
+
let context = new TracingContextImpl(options.parentContext);
|
|
21
|
+
if (options.span) {
|
|
22
|
+
context = context.setValue(knownContextKeys.span, options.span);
|
|
23
|
+
}
|
|
24
|
+
if (options.namespace) {
|
|
25
|
+
context = context.setValue(knownContextKeys.namespace, options.namespace);
|
|
26
|
+
}
|
|
27
|
+
return context;
|
|
28
|
+
}
|
|
29
|
+
/** @internal */
|
|
30
|
+
class TracingContextImpl {
|
|
31
|
+
constructor(initialContext) {
|
|
32
|
+
this._contextMap =
|
|
33
|
+
initialContext instanceof TracingContextImpl
|
|
34
|
+
? new Map(initialContext._contextMap)
|
|
35
|
+
: new Map();
|
|
36
|
+
}
|
|
37
|
+
setValue(key, value) {
|
|
38
|
+
const newContext = new TracingContextImpl(this);
|
|
39
|
+
newContext._contextMap.set(key, value);
|
|
40
|
+
return newContext;
|
|
41
|
+
}
|
|
42
|
+
getValue(key) {
|
|
43
|
+
return this._contextMap.get(key);
|
|
44
|
+
}
|
|
45
|
+
deleteValue(key) {
|
|
46
|
+
const newContext = new TracingContextImpl(this);
|
|
47
|
+
newContext._contextMap.delete(key);
|
|
48
|
+
return newContext;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Copyright (c) Microsoft Corporation.
|
|
53
|
+
function createDefaultTracingSpan() {
|
|
54
|
+
return {
|
|
55
|
+
end: () => {
|
|
56
|
+
// noop
|
|
57
|
+
},
|
|
58
|
+
isRecording: () => false,
|
|
59
|
+
recordException: () => {
|
|
60
|
+
// noop
|
|
61
|
+
},
|
|
62
|
+
setAttribute: () => {
|
|
63
|
+
// noop
|
|
64
|
+
},
|
|
65
|
+
setStatus: () => {
|
|
66
|
+
// noop
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function createDefaultInstrumenter() {
|
|
71
|
+
return {
|
|
72
|
+
createRequestHeaders: () => {
|
|
73
|
+
return {};
|
|
74
|
+
},
|
|
75
|
+
parseTraceparentHeader: () => {
|
|
76
|
+
return undefined;
|
|
77
|
+
},
|
|
78
|
+
startSpan: (_name, spanOptions) => {
|
|
79
|
+
return {
|
|
80
|
+
span: createDefaultTracingSpan(),
|
|
81
|
+
tracingContext: createTracingContext({ parentContext: spanOptions.tracingContext }),
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
withContext(_context, callback, ...callbackArgs) {
|
|
85
|
+
return callback(...callbackArgs);
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/** @internal */
|
|
90
|
+
let instrumenterImplementation;
|
|
91
|
+
/**
|
|
92
|
+
* Extends the Azure SDK with support for a given instrumenter implementation.
|
|
93
|
+
*
|
|
94
|
+
* @param instrumenter - The instrumenter implementation to use.
|
|
95
|
+
*/
|
|
96
|
+
function useInstrumenter(instrumenter) {
|
|
97
|
+
instrumenterImplementation = instrumenter;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Gets the currently set instrumenter, a No-Op instrumenter by default.
|
|
101
|
+
*
|
|
102
|
+
* @returns The currently set instrumenter
|
|
103
|
+
*/
|
|
104
|
+
function getInstrumenter() {
|
|
105
|
+
if (!instrumenterImplementation) {
|
|
106
|
+
instrumenterImplementation = createDefaultInstrumenter();
|
|
107
|
+
}
|
|
108
|
+
return instrumenterImplementation;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Copyright (c) Microsoft Corporation.
|
|
112
|
+
/**
|
|
113
|
+
* Creates a new tracing client.
|
|
114
|
+
*
|
|
115
|
+
* @param options - Options used to configure the tracing client.
|
|
116
|
+
* @returns - An instance of {@link TracingClient}.
|
|
117
|
+
*/
|
|
118
|
+
function createTracingClient(options) {
|
|
119
|
+
const { namespace, packageName, packageVersion } = options;
|
|
120
|
+
function startSpan(name, operationOptions, spanOptions) {
|
|
121
|
+
var _a;
|
|
122
|
+
const startSpanResult = getInstrumenter().startSpan(name, Object.assign(Object.assign({}, spanOptions), { packageName: packageName, packageVersion: packageVersion, tracingContext: (_a = operationOptions === null || operationOptions === void 0 ? void 0 : operationOptions.tracingOptions) === null || _a === void 0 ? void 0 : _a.tracingContext }));
|
|
123
|
+
let tracingContext = startSpanResult.tracingContext;
|
|
124
|
+
const span = startSpanResult.span;
|
|
125
|
+
if (!tracingContext.getValue(knownContextKeys.namespace)) {
|
|
126
|
+
tracingContext = tracingContext.setValue(knownContextKeys.namespace, namespace);
|
|
127
|
+
}
|
|
128
|
+
span.setAttribute("az.namespace", tracingContext.getValue(knownContextKeys.namespace));
|
|
129
|
+
const updatedOptions = Object.assign({}, operationOptions, {
|
|
130
|
+
tracingOptions: Object.assign(Object.assign({}, operationOptions === null || operationOptions === void 0 ? void 0 : operationOptions.tracingOptions), { tracingContext }),
|
|
131
|
+
});
|
|
132
|
+
return {
|
|
133
|
+
span,
|
|
134
|
+
updatedOptions,
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
async function withSpan(name, operationOptions, callback, spanOptions) {
|
|
138
|
+
const { span, updatedOptions } = startSpan(name, operationOptions, spanOptions);
|
|
139
|
+
try {
|
|
140
|
+
const result = await withContext(updatedOptions.tracingOptions.tracingContext, () => Promise.resolve(callback(updatedOptions, span)));
|
|
141
|
+
span.setStatus({ status: "success" });
|
|
142
|
+
return result;
|
|
143
|
+
}
|
|
144
|
+
catch (err) {
|
|
145
|
+
span.setStatus({ status: "error", error: err });
|
|
146
|
+
throw err;
|
|
147
|
+
}
|
|
148
|
+
finally {
|
|
149
|
+
span.end();
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
function withContext(context, callback, ...callbackArgs) {
|
|
153
|
+
return getInstrumenter().withContext(context, callback, ...callbackArgs);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Parses a traceparent header value into a span identifier.
|
|
157
|
+
*
|
|
158
|
+
* @param traceparentHeader - The traceparent header to parse.
|
|
159
|
+
* @returns An implementation-specific identifier for the span.
|
|
160
|
+
*/
|
|
161
|
+
function parseTraceparentHeader(traceparentHeader) {
|
|
162
|
+
return getInstrumenter().parseTraceparentHeader(traceparentHeader);
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Creates a set of request headers to propagate tracing information to a backend.
|
|
166
|
+
*
|
|
167
|
+
* @param tracingContext - The context containing the span to serialize.
|
|
168
|
+
* @returns The set of headers to add to a request.
|
|
169
|
+
*/
|
|
170
|
+
function createRequestHeaders(tracingContext) {
|
|
171
|
+
return getInstrumenter().createRequestHeaders(tracingContext);
|
|
172
|
+
}
|
|
173
|
+
return {
|
|
174
|
+
startSpan,
|
|
175
|
+
withSpan,
|
|
176
|
+
withContext,
|
|
177
|
+
parseTraceparentHeader,
|
|
178
|
+
createRequestHeaders,
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
exports.createTracingClient = createTracingClient;
|
|
183
|
+
exports.useInstrumenter = useInstrumenter;
|
|
184
|
+
//# sourceMappingURL=index.js.map
|