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
package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-rest-pipeline/dist/index.js
ADDED
|
@@ -0,0 +1,2282 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var logger$1 = require('@azure/logger');
|
|
6
|
+
var coreUtil = require('@azure/core-util');
|
|
7
|
+
var os = require('os');
|
|
8
|
+
var abortController = require('@azure/abort-controller');
|
|
9
|
+
var FormData = require('form-data');
|
|
10
|
+
var httpsProxyAgent = require('https-proxy-agent');
|
|
11
|
+
var httpProxyAgent = require('http-proxy-agent');
|
|
12
|
+
var coreTracing = require('@azure/core-tracing');
|
|
13
|
+
var util = require('util');
|
|
14
|
+
var http = require('http');
|
|
15
|
+
var https = require('https');
|
|
16
|
+
var zlib = require('zlib');
|
|
17
|
+
var stream = require('stream');
|
|
18
|
+
var uuid = require('uuid');
|
|
19
|
+
|
|
20
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
21
|
+
|
|
22
|
+
function _interopNamespace(e) {
|
|
23
|
+
if (e && e.__esModule) return e;
|
|
24
|
+
var n = Object.create(null);
|
|
25
|
+
if (e) {
|
|
26
|
+
Object.keys(e).forEach(function (k) {
|
|
27
|
+
if (k !== 'default') {
|
|
28
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
29
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return e[k]; }
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
n["default"] = e;
|
|
37
|
+
return Object.freeze(n);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
var os__namespace = /*#__PURE__*/_interopNamespace(os);
|
|
41
|
+
var FormData__default = /*#__PURE__*/_interopDefaultLegacy(FormData);
|
|
42
|
+
var http__namespace = /*#__PURE__*/_interopNamespace(http);
|
|
43
|
+
var https__namespace = /*#__PURE__*/_interopNamespace(https);
|
|
44
|
+
var zlib__namespace = /*#__PURE__*/_interopNamespace(zlib);
|
|
45
|
+
|
|
46
|
+
// Copyright (c) Microsoft Corporation.
|
|
47
|
+
// Licensed under the MIT license.
|
|
48
|
+
const ValidPhaseNames = new Set(["Deserialize", "Serialize", "Retry", "Sign"]);
|
|
49
|
+
/**
|
|
50
|
+
* A private implementation of Pipeline.
|
|
51
|
+
* Do not export this class from the package.
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
class HttpPipeline {
|
|
55
|
+
constructor(policies) {
|
|
56
|
+
var _a;
|
|
57
|
+
this._policies = [];
|
|
58
|
+
this._policies = (_a = policies === null || policies === void 0 ? void 0 : policies.slice(0)) !== null && _a !== void 0 ? _a : [];
|
|
59
|
+
this._orderedPolicies = undefined;
|
|
60
|
+
}
|
|
61
|
+
addPolicy(policy, options = {}) {
|
|
62
|
+
if (options.phase && options.afterPhase) {
|
|
63
|
+
throw new Error("Policies inside a phase cannot specify afterPhase.");
|
|
64
|
+
}
|
|
65
|
+
if (options.phase && !ValidPhaseNames.has(options.phase)) {
|
|
66
|
+
throw new Error(`Invalid phase name: ${options.phase}`);
|
|
67
|
+
}
|
|
68
|
+
if (options.afterPhase && !ValidPhaseNames.has(options.afterPhase)) {
|
|
69
|
+
throw new Error(`Invalid afterPhase name: ${options.afterPhase}`);
|
|
70
|
+
}
|
|
71
|
+
this._policies.push({
|
|
72
|
+
policy,
|
|
73
|
+
options,
|
|
74
|
+
});
|
|
75
|
+
this._orderedPolicies = undefined;
|
|
76
|
+
}
|
|
77
|
+
removePolicy(options) {
|
|
78
|
+
const removedPolicies = [];
|
|
79
|
+
this._policies = this._policies.filter((policyDescriptor) => {
|
|
80
|
+
if ((options.name && policyDescriptor.policy.name === options.name) ||
|
|
81
|
+
(options.phase && policyDescriptor.options.phase === options.phase)) {
|
|
82
|
+
removedPolicies.push(policyDescriptor.policy);
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
return true;
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
this._orderedPolicies = undefined;
|
|
90
|
+
return removedPolicies;
|
|
91
|
+
}
|
|
92
|
+
sendRequest(httpClient, request) {
|
|
93
|
+
const policies = this.getOrderedPolicies();
|
|
94
|
+
const pipeline = policies.reduceRight((next, policy) => {
|
|
95
|
+
return (req) => {
|
|
96
|
+
return policy.sendRequest(req, next);
|
|
97
|
+
};
|
|
98
|
+
}, (req) => httpClient.sendRequest(req));
|
|
99
|
+
return pipeline(request);
|
|
100
|
+
}
|
|
101
|
+
getOrderedPolicies() {
|
|
102
|
+
if (!this._orderedPolicies) {
|
|
103
|
+
this._orderedPolicies = this.orderPolicies();
|
|
104
|
+
}
|
|
105
|
+
return this._orderedPolicies;
|
|
106
|
+
}
|
|
107
|
+
clone() {
|
|
108
|
+
return new HttpPipeline(this._policies);
|
|
109
|
+
}
|
|
110
|
+
static create() {
|
|
111
|
+
return new HttpPipeline();
|
|
112
|
+
}
|
|
113
|
+
orderPolicies() {
|
|
114
|
+
/**
|
|
115
|
+
* The goal of this method is to reliably order pipeline policies
|
|
116
|
+
* based on their declared requirements when they were added.
|
|
117
|
+
*
|
|
118
|
+
* Order is first determined by phase:
|
|
119
|
+
*
|
|
120
|
+
* 1. Serialize Phase
|
|
121
|
+
* 2. Policies not in a phase
|
|
122
|
+
* 3. Deserialize Phase
|
|
123
|
+
* 4. Retry Phase
|
|
124
|
+
* 5. Sign Phase
|
|
125
|
+
*
|
|
126
|
+
* Within each phase, policies are executed in the order
|
|
127
|
+
* they were added unless they were specified to execute
|
|
128
|
+
* before/after other policies or after a particular phase.
|
|
129
|
+
*
|
|
130
|
+
* To determine the final order, we will walk the policy list
|
|
131
|
+
* in phase order multiple times until all dependencies are
|
|
132
|
+
* satisfied.
|
|
133
|
+
*
|
|
134
|
+
* `afterPolicies` are the set of policies that must be
|
|
135
|
+
* executed before a given policy. This requirement is
|
|
136
|
+
* considered satisfied when each of the listed policies
|
|
137
|
+
* have been scheduled.
|
|
138
|
+
*
|
|
139
|
+
* `beforePolicies` are the set of policies that must be
|
|
140
|
+
* executed after a given policy. Since this dependency
|
|
141
|
+
* can be expressed by converting it into a equivalent
|
|
142
|
+
* `afterPolicies` declarations, they are normalized
|
|
143
|
+
* into that form for simplicity.
|
|
144
|
+
*
|
|
145
|
+
* An `afterPhase` dependency is considered satisfied when all
|
|
146
|
+
* policies in that phase have scheduled.
|
|
147
|
+
*
|
|
148
|
+
*/
|
|
149
|
+
const result = [];
|
|
150
|
+
// Track all policies we know about.
|
|
151
|
+
const policyMap = new Map();
|
|
152
|
+
function createPhase(name) {
|
|
153
|
+
return {
|
|
154
|
+
name,
|
|
155
|
+
policies: new Set(),
|
|
156
|
+
hasRun: false,
|
|
157
|
+
hasAfterPolicies: false,
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
// Track policies for each phase.
|
|
161
|
+
const serializePhase = createPhase("Serialize");
|
|
162
|
+
const noPhase = createPhase("None");
|
|
163
|
+
const deserializePhase = createPhase("Deserialize");
|
|
164
|
+
const retryPhase = createPhase("Retry");
|
|
165
|
+
const signPhase = createPhase("Sign");
|
|
166
|
+
// a list of phases in order
|
|
167
|
+
const orderedPhases = [serializePhase, noPhase, deserializePhase, retryPhase, signPhase];
|
|
168
|
+
// Small helper function to map phase name to each Phase
|
|
169
|
+
function getPhase(phase) {
|
|
170
|
+
if (phase === "Retry") {
|
|
171
|
+
return retryPhase;
|
|
172
|
+
}
|
|
173
|
+
else if (phase === "Serialize") {
|
|
174
|
+
return serializePhase;
|
|
175
|
+
}
|
|
176
|
+
else if (phase === "Deserialize") {
|
|
177
|
+
return deserializePhase;
|
|
178
|
+
}
|
|
179
|
+
else if (phase === "Sign") {
|
|
180
|
+
return signPhase;
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
return noPhase;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
// First walk each policy and create a node to track metadata.
|
|
187
|
+
for (const descriptor of this._policies) {
|
|
188
|
+
const policy = descriptor.policy;
|
|
189
|
+
const options = descriptor.options;
|
|
190
|
+
const policyName = policy.name;
|
|
191
|
+
if (policyMap.has(policyName)) {
|
|
192
|
+
throw new Error("Duplicate policy names not allowed in pipeline");
|
|
193
|
+
}
|
|
194
|
+
const node = {
|
|
195
|
+
policy,
|
|
196
|
+
dependsOn: new Set(),
|
|
197
|
+
dependants: new Set(),
|
|
198
|
+
};
|
|
199
|
+
if (options.afterPhase) {
|
|
200
|
+
node.afterPhase = getPhase(options.afterPhase);
|
|
201
|
+
node.afterPhase.hasAfterPolicies = true;
|
|
202
|
+
}
|
|
203
|
+
policyMap.set(policyName, node);
|
|
204
|
+
const phase = getPhase(options.phase);
|
|
205
|
+
phase.policies.add(node);
|
|
206
|
+
}
|
|
207
|
+
// Now that each policy has a node, connect dependency references.
|
|
208
|
+
for (const descriptor of this._policies) {
|
|
209
|
+
const { policy, options } = descriptor;
|
|
210
|
+
const policyName = policy.name;
|
|
211
|
+
const node = policyMap.get(policyName);
|
|
212
|
+
if (!node) {
|
|
213
|
+
throw new Error(`Missing node for policy ${policyName}`);
|
|
214
|
+
}
|
|
215
|
+
if (options.afterPolicies) {
|
|
216
|
+
for (const afterPolicyName of options.afterPolicies) {
|
|
217
|
+
const afterNode = policyMap.get(afterPolicyName);
|
|
218
|
+
if (afterNode) {
|
|
219
|
+
// Linking in both directions helps later
|
|
220
|
+
// when we want to notify dependants.
|
|
221
|
+
node.dependsOn.add(afterNode);
|
|
222
|
+
afterNode.dependants.add(node);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
if (options.beforePolicies) {
|
|
227
|
+
for (const beforePolicyName of options.beforePolicies) {
|
|
228
|
+
const beforeNode = policyMap.get(beforePolicyName);
|
|
229
|
+
if (beforeNode) {
|
|
230
|
+
// To execute before another node, make it
|
|
231
|
+
// depend on the current node.
|
|
232
|
+
beforeNode.dependsOn.add(node);
|
|
233
|
+
node.dependants.add(beforeNode);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
function walkPhase(phase) {
|
|
239
|
+
phase.hasRun = true;
|
|
240
|
+
// Sets iterate in insertion order
|
|
241
|
+
for (const node of phase.policies) {
|
|
242
|
+
if (node.afterPhase && (!node.afterPhase.hasRun || node.afterPhase.policies.size)) {
|
|
243
|
+
// If this node is waiting on a phase to complete,
|
|
244
|
+
// we need to skip it for now.
|
|
245
|
+
// Even if the phase is empty, we should wait for it
|
|
246
|
+
// to be walked to avoid re-ordering policies.
|
|
247
|
+
continue;
|
|
248
|
+
}
|
|
249
|
+
if (node.dependsOn.size === 0) {
|
|
250
|
+
// If there's nothing else we're waiting for, we can
|
|
251
|
+
// add this policy to the result list.
|
|
252
|
+
result.push(node.policy);
|
|
253
|
+
// Notify anything that depends on this policy that
|
|
254
|
+
// the policy has been scheduled.
|
|
255
|
+
for (const dependant of node.dependants) {
|
|
256
|
+
dependant.dependsOn.delete(node);
|
|
257
|
+
}
|
|
258
|
+
policyMap.delete(node.policy.name);
|
|
259
|
+
phase.policies.delete(node);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
function walkPhases() {
|
|
264
|
+
for (const phase of orderedPhases) {
|
|
265
|
+
walkPhase(phase);
|
|
266
|
+
// if the phase isn't complete
|
|
267
|
+
if (phase.policies.size > 0 && phase !== noPhase) {
|
|
268
|
+
if (!noPhase.hasRun) {
|
|
269
|
+
// Try running noPhase to see if that unblocks this phase next tick.
|
|
270
|
+
// This can happen if a phase that happens before noPhase
|
|
271
|
+
// is waiting on a noPhase policy to complete.
|
|
272
|
+
walkPhase(noPhase);
|
|
273
|
+
}
|
|
274
|
+
// Don't proceed to the next phase until this phase finishes.
|
|
275
|
+
return;
|
|
276
|
+
}
|
|
277
|
+
if (phase.hasAfterPolicies) {
|
|
278
|
+
// Run any policies unblocked by this phase
|
|
279
|
+
walkPhase(noPhase);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
// Iterate until we've put every node in the result list.
|
|
284
|
+
let iteration = 0;
|
|
285
|
+
while (policyMap.size > 0) {
|
|
286
|
+
iteration++;
|
|
287
|
+
const initialResultLength = result.length;
|
|
288
|
+
// Keep walking each phase in order until we can order every node.
|
|
289
|
+
walkPhases();
|
|
290
|
+
// The result list *should* get at least one larger each time
|
|
291
|
+
// after the first full pass.
|
|
292
|
+
// Otherwise, we're going to loop forever.
|
|
293
|
+
if (result.length <= initialResultLength && iteration > 1) {
|
|
294
|
+
throw new Error("Cannot satisfy policy dependencies due to requirements cycle.");
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
return result;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Creates a totally empty pipeline.
|
|
302
|
+
* Useful for testing or creating a custom one.
|
|
303
|
+
*/
|
|
304
|
+
function createEmptyPipeline() {
|
|
305
|
+
return HttpPipeline.create();
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
// Copyright (c) Microsoft Corporation.
|
|
309
|
+
const logger = logger$1.createClientLogger("core-rest-pipeline");
|
|
310
|
+
|
|
311
|
+
// Copyright (c) Microsoft Corporation.
|
|
312
|
+
const RedactedString = "REDACTED";
|
|
313
|
+
// Make sure this list is up-to-date with the one under core/logger/Readme#Keyconcepts
|
|
314
|
+
const defaultAllowedHeaderNames = [
|
|
315
|
+
"x-ms-client-request-id",
|
|
316
|
+
"x-ms-return-client-request-id",
|
|
317
|
+
"x-ms-useragent",
|
|
318
|
+
"x-ms-correlation-request-id",
|
|
319
|
+
"x-ms-request-id",
|
|
320
|
+
"client-request-id",
|
|
321
|
+
"ms-cv",
|
|
322
|
+
"return-client-request-id",
|
|
323
|
+
"traceparent",
|
|
324
|
+
"Access-Control-Allow-Credentials",
|
|
325
|
+
"Access-Control-Allow-Headers",
|
|
326
|
+
"Access-Control-Allow-Methods",
|
|
327
|
+
"Access-Control-Allow-Origin",
|
|
328
|
+
"Access-Control-Expose-Headers",
|
|
329
|
+
"Access-Control-Max-Age",
|
|
330
|
+
"Access-Control-Request-Headers",
|
|
331
|
+
"Access-Control-Request-Method",
|
|
332
|
+
"Origin",
|
|
333
|
+
"Accept",
|
|
334
|
+
"Accept-Encoding",
|
|
335
|
+
"Cache-Control",
|
|
336
|
+
"Connection",
|
|
337
|
+
"Content-Length",
|
|
338
|
+
"Content-Type",
|
|
339
|
+
"Date",
|
|
340
|
+
"ETag",
|
|
341
|
+
"Expires",
|
|
342
|
+
"If-Match",
|
|
343
|
+
"If-Modified-Since",
|
|
344
|
+
"If-None-Match",
|
|
345
|
+
"If-Unmodified-Since",
|
|
346
|
+
"Last-Modified",
|
|
347
|
+
"Pragma",
|
|
348
|
+
"Request-Id",
|
|
349
|
+
"Retry-After",
|
|
350
|
+
"Server",
|
|
351
|
+
"Transfer-Encoding",
|
|
352
|
+
"User-Agent",
|
|
353
|
+
"WWW-Authenticate",
|
|
354
|
+
];
|
|
355
|
+
const defaultAllowedQueryParameters = ["api-version"];
|
|
356
|
+
/**
|
|
357
|
+
* @internal
|
|
358
|
+
*/
|
|
359
|
+
class Sanitizer {
|
|
360
|
+
constructor({ additionalAllowedHeaderNames: allowedHeaderNames = [], additionalAllowedQueryParameters: allowedQueryParameters = [], } = {}) {
|
|
361
|
+
allowedHeaderNames = defaultAllowedHeaderNames.concat(allowedHeaderNames);
|
|
362
|
+
allowedQueryParameters = defaultAllowedQueryParameters.concat(allowedQueryParameters);
|
|
363
|
+
this.allowedHeaderNames = new Set(allowedHeaderNames.map((n) => n.toLowerCase()));
|
|
364
|
+
this.allowedQueryParameters = new Set(allowedQueryParameters.map((p) => p.toLowerCase()));
|
|
365
|
+
}
|
|
366
|
+
sanitize(obj) {
|
|
367
|
+
const seen = new Set();
|
|
368
|
+
return JSON.stringify(obj, (key, value) => {
|
|
369
|
+
// Ensure Errors include their interesting non-enumerable members
|
|
370
|
+
if (value instanceof Error) {
|
|
371
|
+
return Object.assign(Object.assign({}, value), { name: value.name, message: value.message });
|
|
372
|
+
}
|
|
373
|
+
if (key === "headers") {
|
|
374
|
+
return this.sanitizeHeaders(value);
|
|
375
|
+
}
|
|
376
|
+
else if (key === "url") {
|
|
377
|
+
return this.sanitizeUrl(value);
|
|
378
|
+
}
|
|
379
|
+
else if (key === "query") {
|
|
380
|
+
return this.sanitizeQuery(value);
|
|
381
|
+
}
|
|
382
|
+
else if (key === "body") {
|
|
383
|
+
// Don't log the request body
|
|
384
|
+
return undefined;
|
|
385
|
+
}
|
|
386
|
+
else if (key === "response") {
|
|
387
|
+
// Don't log response again
|
|
388
|
+
return undefined;
|
|
389
|
+
}
|
|
390
|
+
else if (key === "operationSpec") {
|
|
391
|
+
// When using sendOperationRequest, the request carries a massive
|
|
392
|
+
// field with the autorest spec. No need to log it.
|
|
393
|
+
return undefined;
|
|
394
|
+
}
|
|
395
|
+
else if (Array.isArray(value) || coreUtil.isObject(value)) {
|
|
396
|
+
if (seen.has(value)) {
|
|
397
|
+
return "[Circular]";
|
|
398
|
+
}
|
|
399
|
+
seen.add(value);
|
|
400
|
+
}
|
|
401
|
+
return value;
|
|
402
|
+
}, 2);
|
|
403
|
+
}
|
|
404
|
+
sanitizeHeaders(obj) {
|
|
405
|
+
const sanitized = {};
|
|
406
|
+
for (const key of Object.keys(obj)) {
|
|
407
|
+
if (this.allowedHeaderNames.has(key.toLowerCase())) {
|
|
408
|
+
sanitized[key] = obj[key];
|
|
409
|
+
}
|
|
410
|
+
else {
|
|
411
|
+
sanitized[key] = RedactedString;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
return sanitized;
|
|
415
|
+
}
|
|
416
|
+
sanitizeQuery(value) {
|
|
417
|
+
if (typeof value !== "object" || value === null) {
|
|
418
|
+
return value;
|
|
419
|
+
}
|
|
420
|
+
const sanitized = {};
|
|
421
|
+
for (const k of Object.keys(value)) {
|
|
422
|
+
if (this.allowedQueryParameters.has(k.toLowerCase())) {
|
|
423
|
+
sanitized[k] = value[k];
|
|
424
|
+
}
|
|
425
|
+
else {
|
|
426
|
+
sanitized[k] = RedactedString;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
return sanitized;
|
|
430
|
+
}
|
|
431
|
+
sanitizeUrl(value) {
|
|
432
|
+
if (typeof value !== "string" || value === null) {
|
|
433
|
+
return value;
|
|
434
|
+
}
|
|
435
|
+
const url = new URL(value);
|
|
436
|
+
if (!url.search) {
|
|
437
|
+
return value;
|
|
438
|
+
}
|
|
439
|
+
for (const [key] of url.searchParams) {
|
|
440
|
+
if (!this.allowedQueryParameters.has(key.toLowerCase())) {
|
|
441
|
+
url.searchParams.set(key, RedactedString);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
return url.toString();
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
// Copyright (c) Microsoft Corporation.
|
|
449
|
+
/**
|
|
450
|
+
* The programmatic identifier of the logPolicy.
|
|
451
|
+
*/
|
|
452
|
+
const logPolicyName = "logPolicy";
|
|
453
|
+
/**
|
|
454
|
+
* A policy that logs all requests and responses.
|
|
455
|
+
* @param options - Options to configure logPolicy.
|
|
456
|
+
*/
|
|
457
|
+
function logPolicy(options = {}) {
|
|
458
|
+
var _a;
|
|
459
|
+
const logger$1 = (_a = options.logger) !== null && _a !== void 0 ? _a : logger.info;
|
|
460
|
+
const sanitizer = new Sanitizer({
|
|
461
|
+
additionalAllowedHeaderNames: options.additionalAllowedHeaderNames,
|
|
462
|
+
additionalAllowedQueryParameters: options.additionalAllowedQueryParameters,
|
|
463
|
+
});
|
|
464
|
+
return {
|
|
465
|
+
name: logPolicyName,
|
|
466
|
+
async sendRequest(request, next) {
|
|
467
|
+
if (!logger$1.enabled) {
|
|
468
|
+
return next(request);
|
|
469
|
+
}
|
|
470
|
+
logger$1(`Request: ${sanitizer.sanitize(request)}`);
|
|
471
|
+
const response = await next(request);
|
|
472
|
+
logger$1(`Response status code: ${response.status}`);
|
|
473
|
+
logger$1(`Headers: ${sanitizer.sanitize(response.headers)}`);
|
|
474
|
+
return response;
|
|
475
|
+
},
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
// Copyright (c) Microsoft Corporation.
|
|
480
|
+
// Licensed under the MIT license.
|
|
481
|
+
/**
|
|
482
|
+
* The programmatic identifier of the redirectPolicy.
|
|
483
|
+
*/
|
|
484
|
+
const redirectPolicyName = "redirectPolicy";
|
|
485
|
+
/**
|
|
486
|
+
* Methods that are allowed to follow redirects 301 and 302
|
|
487
|
+
*/
|
|
488
|
+
const allowedRedirect = ["GET", "HEAD"];
|
|
489
|
+
/**
|
|
490
|
+
* A policy to follow Location headers from the server in order
|
|
491
|
+
* to support server-side redirection.
|
|
492
|
+
* In the browser, this policy is not used.
|
|
493
|
+
* @param options - Options to control policy behavior.
|
|
494
|
+
*/
|
|
495
|
+
function redirectPolicy(options = {}) {
|
|
496
|
+
const { maxRetries = 20 } = options;
|
|
497
|
+
return {
|
|
498
|
+
name: redirectPolicyName,
|
|
499
|
+
async sendRequest(request, next) {
|
|
500
|
+
const response = await next(request);
|
|
501
|
+
return handleRedirect(next, response, maxRetries);
|
|
502
|
+
},
|
|
503
|
+
};
|
|
504
|
+
}
|
|
505
|
+
async function handleRedirect(next, response, maxRetries, currentRetries = 0) {
|
|
506
|
+
const { request, status, headers } = response;
|
|
507
|
+
const locationHeader = headers.get("location");
|
|
508
|
+
if (locationHeader &&
|
|
509
|
+
(status === 300 ||
|
|
510
|
+
(status === 301 && allowedRedirect.includes(request.method)) ||
|
|
511
|
+
(status === 302 && allowedRedirect.includes(request.method)) ||
|
|
512
|
+
(status === 303 && request.method === "POST") ||
|
|
513
|
+
status === 307) &&
|
|
514
|
+
currentRetries < maxRetries) {
|
|
515
|
+
const url = new URL(locationHeader, request.url);
|
|
516
|
+
request.url = url.toString();
|
|
517
|
+
// POST request with Status code 303 should be converted into a
|
|
518
|
+
// redirected GET request if the redirect url is present in the location header
|
|
519
|
+
if (status === 303) {
|
|
520
|
+
request.method = "GET";
|
|
521
|
+
request.headers.delete("Content-Length");
|
|
522
|
+
delete request.body;
|
|
523
|
+
}
|
|
524
|
+
request.headers.delete("Authorization");
|
|
525
|
+
const res = await next(request);
|
|
526
|
+
return handleRedirect(next, res, maxRetries, currentRetries + 1);
|
|
527
|
+
}
|
|
528
|
+
return response;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
// Copyright (c) Microsoft Corporation.
|
|
532
|
+
/**
|
|
533
|
+
* @internal
|
|
534
|
+
*/
|
|
535
|
+
function getHeaderName() {
|
|
536
|
+
return "User-Agent";
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* @internal
|
|
540
|
+
*/
|
|
541
|
+
function setPlatformSpecificData(map) {
|
|
542
|
+
map.set("Node", process.version);
|
|
543
|
+
map.set("OS", `(${os__namespace.arch()}-${os__namespace.type()}-${os__namespace.release()})`);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
// Copyright (c) Microsoft Corporation.
|
|
547
|
+
// Licensed under the MIT license.
|
|
548
|
+
const SDK_VERSION = "1.10.2";
|
|
549
|
+
const DEFAULT_RETRY_POLICY_COUNT = 3;
|
|
550
|
+
|
|
551
|
+
// Copyright (c) Microsoft Corporation.
|
|
552
|
+
function getUserAgentString(telemetryInfo) {
|
|
553
|
+
const parts = [];
|
|
554
|
+
for (const [key, value] of telemetryInfo) {
|
|
555
|
+
const token = value ? `${key}/${value}` : key;
|
|
556
|
+
parts.push(token);
|
|
557
|
+
}
|
|
558
|
+
return parts.join(" ");
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
* @internal
|
|
562
|
+
*/
|
|
563
|
+
function getUserAgentHeaderName() {
|
|
564
|
+
return getHeaderName();
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* @internal
|
|
568
|
+
*/
|
|
569
|
+
function getUserAgentValue(prefix) {
|
|
570
|
+
const runtimeInfo = new Map();
|
|
571
|
+
runtimeInfo.set("core-rest-pipeline", SDK_VERSION);
|
|
572
|
+
setPlatformSpecificData(runtimeInfo);
|
|
573
|
+
const defaultAgent = getUserAgentString(runtimeInfo);
|
|
574
|
+
const userAgentValue = prefix ? `${prefix} ${defaultAgent}` : defaultAgent;
|
|
575
|
+
return userAgentValue;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
// Copyright (c) Microsoft Corporation.
|
|
579
|
+
const UserAgentHeaderName = getUserAgentHeaderName();
|
|
580
|
+
/**
|
|
581
|
+
* The programmatic identifier of the userAgentPolicy.
|
|
582
|
+
*/
|
|
583
|
+
const userAgentPolicyName = "userAgentPolicy";
|
|
584
|
+
/**
|
|
585
|
+
* A policy that sets the User-Agent header (or equivalent) to reflect
|
|
586
|
+
* the library version.
|
|
587
|
+
* @param options - Options to customize the user agent value.
|
|
588
|
+
*/
|
|
589
|
+
function userAgentPolicy(options = {}) {
|
|
590
|
+
const userAgentValue = getUserAgentValue(options.userAgentPrefix);
|
|
591
|
+
return {
|
|
592
|
+
name: userAgentPolicyName,
|
|
593
|
+
async sendRequest(request, next) {
|
|
594
|
+
if (!request.headers.has(UserAgentHeaderName)) {
|
|
595
|
+
request.headers.set(UserAgentHeaderName, userAgentValue);
|
|
596
|
+
}
|
|
597
|
+
return next(request);
|
|
598
|
+
},
|
|
599
|
+
};
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
// Copyright (c) Microsoft Corporation.
|
|
603
|
+
// Licensed under the MIT license.
|
|
604
|
+
/**
|
|
605
|
+
* The programmatic identifier of the decompressResponsePolicy.
|
|
606
|
+
*/
|
|
607
|
+
const decompressResponsePolicyName = "decompressResponsePolicy";
|
|
608
|
+
/**
|
|
609
|
+
* A policy to enable response decompression according to Accept-Encoding header
|
|
610
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding
|
|
611
|
+
*/
|
|
612
|
+
function decompressResponsePolicy() {
|
|
613
|
+
return {
|
|
614
|
+
name: decompressResponsePolicyName,
|
|
615
|
+
async sendRequest(request, next) {
|
|
616
|
+
// HEAD requests have no body
|
|
617
|
+
if (request.method !== "HEAD") {
|
|
618
|
+
request.headers.set("Accept-Encoding", "gzip,deflate");
|
|
619
|
+
}
|
|
620
|
+
return next(request);
|
|
621
|
+
},
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
// Copyright (c) Microsoft Corporation.
|
|
626
|
+
const StandardAbortMessage = "The operation was aborted.";
|
|
627
|
+
/**
|
|
628
|
+
* A wrapper for setTimeout that resolves a promise after delayInMs milliseconds.
|
|
629
|
+
* @param delayInMs - The number of milliseconds to be delayed.
|
|
630
|
+
* @param value - The value to be resolved with after a timeout of t milliseconds.
|
|
631
|
+
* @param options - The options for delay - currently abort options
|
|
632
|
+
* - abortSignal - The abortSignal associated with containing operation.
|
|
633
|
+
* - abortErrorMsg - The abort error message associated with containing operation.
|
|
634
|
+
* @returns Resolved promise
|
|
635
|
+
*/
|
|
636
|
+
function delay(delayInMs, value, options) {
|
|
637
|
+
return new Promise((resolve, reject) => {
|
|
638
|
+
let timer = undefined;
|
|
639
|
+
let onAborted = undefined;
|
|
640
|
+
const rejectOnAbort = () => {
|
|
641
|
+
return reject(new abortController.AbortError((options === null || options === void 0 ? void 0 : options.abortErrorMsg) ? options === null || options === void 0 ? void 0 : options.abortErrorMsg : StandardAbortMessage));
|
|
642
|
+
};
|
|
643
|
+
const removeListeners = () => {
|
|
644
|
+
if ((options === null || options === void 0 ? void 0 : options.abortSignal) && onAborted) {
|
|
645
|
+
options.abortSignal.removeEventListener("abort", onAborted);
|
|
646
|
+
}
|
|
647
|
+
};
|
|
648
|
+
onAborted = () => {
|
|
649
|
+
if (timer) {
|
|
650
|
+
clearTimeout(timer);
|
|
651
|
+
}
|
|
652
|
+
removeListeners();
|
|
653
|
+
return rejectOnAbort();
|
|
654
|
+
};
|
|
655
|
+
if ((options === null || options === void 0 ? void 0 : options.abortSignal) && options.abortSignal.aborted) {
|
|
656
|
+
return rejectOnAbort();
|
|
657
|
+
}
|
|
658
|
+
timer = setTimeout(() => {
|
|
659
|
+
removeListeners();
|
|
660
|
+
resolve(value);
|
|
661
|
+
}, delayInMs);
|
|
662
|
+
if (options === null || options === void 0 ? void 0 : options.abortSignal) {
|
|
663
|
+
options.abortSignal.addEventListener("abort", onAborted);
|
|
664
|
+
}
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* @internal
|
|
669
|
+
* @returns the parsed value or undefined if the parsed value is invalid.
|
|
670
|
+
*/
|
|
671
|
+
function parseHeaderValueAsNumber(response, headerName) {
|
|
672
|
+
const value = response.headers.get(headerName);
|
|
673
|
+
if (!value)
|
|
674
|
+
return;
|
|
675
|
+
const valueAsNum = Number(value);
|
|
676
|
+
if (Number.isNaN(valueAsNum))
|
|
677
|
+
return;
|
|
678
|
+
return valueAsNum;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
// Copyright (c) Microsoft Corporation.
|
|
682
|
+
/**
|
|
683
|
+
* The header that comes back from Azure services representing
|
|
684
|
+
* the amount of time (minimum) to wait to retry (in seconds or timestamp after which we can retry).
|
|
685
|
+
*/
|
|
686
|
+
const RetryAfterHeader = "Retry-After";
|
|
687
|
+
/**
|
|
688
|
+
* The headers that come back from Azure services representing
|
|
689
|
+
* the amount of time (minimum) to wait to retry.
|
|
690
|
+
*
|
|
691
|
+
* "retry-after-ms", "x-ms-retry-after-ms" : milliseconds
|
|
692
|
+
* "Retry-After" : seconds or timestamp
|
|
693
|
+
*/
|
|
694
|
+
const AllRetryAfterHeaders = ["retry-after-ms", "x-ms-retry-after-ms", RetryAfterHeader];
|
|
695
|
+
/**
|
|
696
|
+
* A response is a throttling retry response if it has a throttling status code (429 or 503),
|
|
697
|
+
* as long as one of the [ "Retry-After" or "retry-after-ms" or "x-ms-retry-after-ms" ] headers has a valid value.
|
|
698
|
+
*
|
|
699
|
+
* Returns the `retryAfterInMs` value if the response is a throttling retry response.
|
|
700
|
+
* If not throttling retry response, returns `undefined`.
|
|
701
|
+
*
|
|
702
|
+
* @internal
|
|
703
|
+
*/
|
|
704
|
+
function getRetryAfterInMs(response) {
|
|
705
|
+
if (!(response && [429, 503].includes(response.status)))
|
|
706
|
+
return undefined;
|
|
707
|
+
try {
|
|
708
|
+
// Headers: "retry-after-ms", "x-ms-retry-after-ms", "Retry-After"
|
|
709
|
+
for (const header of AllRetryAfterHeaders) {
|
|
710
|
+
const retryAfterValue = parseHeaderValueAsNumber(response, header);
|
|
711
|
+
if (retryAfterValue === 0 || retryAfterValue) {
|
|
712
|
+
// "Retry-After" header ==> seconds
|
|
713
|
+
// "retry-after-ms", "x-ms-retry-after-ms" headers ==> milli-seconds
|
|
714
|
+
const multiplyingFactor = header === RetryAfterHeader ? 1000 : 1;
|
|
715
|
+
return retryAfterValue * multiplyingFactor; // in milli-seconds
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
// RetryAfterHeader ("Retry-After") has a special case where it might be formatted as a date instead of a number of seconds
|
|
719
|
+
const retryAfterHeader = response.headers.get(RetryAfterHeader);
|
|
720
|
+
if (!retryAfterHeader)
|
|
721
|
+
return;
|
|
722
|
+
const date = Date.parse(retryAfterHeader);
|
|
723
|
+
const diff = date - Date.now();
|
|
724
|
+
// negative diff would mean a date in the past, so retry asap with 0 milliseconds
|
|
725
|
+
return Number.isFinite(diff) ? Math.max(0, diff) : undefined;
|
|
726
|
+
}
|
|
727
|
+
catch (e) {
|
|
728
|
+
return undefined;
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* A response is a retry response if it has a throttling status code (429 or 503),
|
|
733
|
+
* as long as one of the [ "Retry-After" or "retry-after-ms" or "x-ms-retry-after-ms" ] headers has a valid value.
|
|
734
|
+
*/
|
|
735
|
+
function isThrottlingRetryResponse(response) {
|
|
736
|
+
return Number.isFinite(getRetryAfterInMs(response));
|
|
737
|
+
}
|
|
738
|
+
function throttlingRetryStrategy() {
|
|
739
|
+
return {
|
|
740
|
+
name: "throttlingRetryStrategy",
|
|
741
|
+
retry({ response }) {
|
|
742
|
+
const retryAfterInMs = getRetryAfterInMs(response);
|
|
743
|
+
if (!Number.isFinite(retryAfterInMs)) {
|
|
744
|
+
return { skipStrategy: true };
|
|
745
|
+
}
|
|
746
|
+
return {
|
|
747
|
+
retryAfterInMs,
|
|
748
|
+
};
|
|
749
|
+
},
|
|
750
|
+
};
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
// Copyright (c) Microsoft Corporation.
|
|
754
|
+
// intervals are in milliseconds
|
|
755
|
+
const DEFAULT_CLIENT_RETRY_INTERVAL = 1000;
|
|
756
|
+
const DEFAULT_CLIENT_MAX_RETRY_INTERVAL = 1000 * 64;
|
|
757
|
+
/**
|
|
758
|
+
* A retry strategy that retries with an exponentially increasing delay in these two cases:
|
|
759
|
+
* - When there are errors in the underlying transport layer (e.g. DNS lookup failures).
|
|
760
|
+
* - Or otherwise if the outgoing request fails (408, greater or equal than 500, except for 501 and 505).
|
|
761
|
+
*/
|
|
762
|
+
function exponentialRetryStrategy(options = {}) {
|
|
763
|
+
var _a, _b;
|
|
764
|
+
const retryInterval = (_a = options.retryDelayInMs) !== null && _a !== void 0 ? _a : DEFAULT_CLIENT_RETRY_INTERVAL;
|
|
765
|
+
const maxRetryInterval = (_b = options.maxRetryDelayInMs) !== null && _b !== void 0 ? _b : DEFAULT_CLIENT_MAX_RETRY_INTERVAL;
|
|
766
|
+
let retryAfterInMs = retryInterval;
|
|
767
|
+
return {
|
|
768
|
+
name: "exponentialRetryStrategy",
|
|
769
|
+
retry({ retryCount, response, responseError }) {
|
|
770
|
+
const matchedSystemError = isSystemError(responseError);
|
|
771
|
+
const ignoreSystemErrors = matchedSystemError && options.ignoreSystemErrors;
|
|
772
|
+
const isExponential = isExponentialRetryResponse(response);
|
|
773
|
+
const ignoreExponentialResponse = isExponential && options.ignoreHttpStatusCodes;
|
|
774
|
+
const unknownResponse = response && (isThrottlingRetryResponse(response) || !isExponential);
|
|
775
|
+
if (unknownResponse || ignoreExponentialResponse || ignoreSystemErrors) {
|
|
776
|
+
return { skipStrategy: true };
|
|
777
|
+
}
|
|
778
|
+
if (responseError && !matchedSystemError && !isExponential) {
|
|
779
|
+
return { errorToThrow: responseError };
|
|
780
|
+
}
|
|
781
|
+
// Exponentially increase the delay each time
|
|
782
|
+
const exponentialDelay = retryAfterInMs * Math.pow(2, retryCount);
|
|
783
|
+
// Don't let the delay exceed the maximum
|
|
784
|
+
const clampedExponentialDelay = Math.min(maxRetryInterval, exponentialDelay);
|
|
785
|
+
// Allow the final value to have some "jitter" (within 50% of the delay size) so
|
|
786
|
+
// that retries across multiple clients don't occur simultaneously.
|
|
787
|
+
retryAfterInMs =
|
|
788
|
+
clampedExponentialDelay / 2 + coreUtil.getRandomIntegerInclusive(0, clampedExponentialDelay / 2);
|
|
789
|
+
return { retryAfterInMs };
|
|
790
|
+
},
|
|
791
|
+
};
|
|
792
|
+
}
|
|
793
|
+
/**
|
|
794
|
+
* A response is a retry response if it has status codes:
|
|
795
|
+
* - 408, or
|
|
796
|
+
* - Greater or equal than 500, except for 501 and 505.
|
|
797
|
+
*/
|
|
798
|
+
function isExponentialRetryResponse(response) {
|
|
799
|
+
return Boolean(response &&
|
|
800
|
+
response.status !== undefined &&
|
|
801
|
+
(response.status >= 500 || response.status === 408) &&
|
|
802
|
+
response.status !== 501 &&
|
|
803
|
+
response.status !== 505);
|
|
804
|
+
}
|
|
805
|
+
/**
|
|
806
|
+
* Determines whether an error from a pipeline response was triggered in the network layer.
|
|
807
|
+
*/
|
|
808
|
+
function isSystemError(err) {
|
|
809
|
+
if (!err) {
|
|
810
|
+
return false;
|
|
811
|
+
}
|
|
812
|
+
return (err.code === "ETIMEDOUT" ||
|
|
813
|
+
err.code === "ESOCKETTIMEDOUT" ||
|
|
814
|
+
err.code === "ECONNREFUSED" ||
|
|
815
|
+
err.code === "ECONNRESET" ||
|
|
816
|
+
err.code === "ENOENT");
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
// Copyright (c) Microsoft Corporation.
|
|
820
|
+
const retryPolicyLogger = logger$1.createClientLogger("core-rest-pipeline retryPolicy");
|
|
821
|
+
/**
|
|
822
|
+
* The programmatic identifier of the retryPolicy.
|
|
823
|
+
*/
|
|
824
|
+
const retryPolicyName = "retryPolicy";
|
|
825
|
+
/**
|
|
826
|
+
* retryPolicy is a generic policy to enable retrying requests when certain conditions are met
|
|
827
|
+
*/
|
|
828
|
+
function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_COUNT }) {
|
|
829
|
+
const logger = options.logger || retryPolicyLogger;
|
|
830
|
+
return {
|
|
831
|
+
name: retryPolicyName,
|
|
832
|
+
async sendRequest(request, next) {
|
|
833
|
+
var _a, _b;
|
|
834
|
+
let response;
|
|
835
|
+
let responseError;
|
|
836
|
+
let retryCount = -1;
|
|
837
|
+
// eslint-disable-next-line no-constant-condition
|
|
838
|
+
retryRequest: while (true) {
|
|
839
|
+
retryCount += 1;
|
|
840
|
+
response = undefined;
|
|
841
|
+
responseError = undefined;
|
|
842
|
+
try {
|
|
843
|
+
logger.info(`Retry ${retryCount}: Attempting to send request`, request.requestId);
|
|
844
|
+
response = await next(request);
|
|
845
|
+
logger.info(`Retry ${retryCount}: Received a response from request`, request.requestId);
|
|
846
|
+
}
|
|
847
|
+
catch (e) {
|
|
848
|
+
logger.error(`Retry ${retryCount}: Received an error from request`, request.requestId);
|
|
849
|
+
// RestErrors are valid targets for the retry strategies.
|
|
850
|
+
// If none of the retry strategies can work with them, they will be thrown later in this policy.
|
|
851
|
+
// If the received error is not a RestError, it is immediately thrown.
|
|
852
|
+
responseError = e;
|
|
853
|
+
if (!e || responseError.name !== "RestError") {
|
|
854
|
+
throw e;
|
|
855
|
+
}
|
|
856
|
+
response = responseError.response;
|
|
857
|
+
}
|
|
858
|
+
if ((_a = request.abortSignal) === null || _a === void 0 ? void 0 : _a.aborted) {
|
|
859
|
+
logger.error(`Retry ${retryCount}: Request aborted.`);
|
|
860
|
+
const abortError = new abortController.AbortError();
|
|
861
|
+
throw abortError;
|
|
862
|
+
}
|
|
863
|
+
if (retryCount >= ((_b = options.maxRetries) !== null && _b !== void 0 ? _b : DEFAULT_RETRY_POLICY_COUNT)) {
|
|
864
|
+
logger.info(`Retry ${retryCount}: Maximum retries reached. Returning the last received response, or throwing the last received error.`);
|
|
865
|
+
if (responseError) {
|
|
866
|
+
throw responseError;
|
|
867
|
+
}
|
|
868
|
+
else if (response) {
|
|
869
|
+
return response;
|
|
870
|
+
}
|
|
871
|
+
else {
|
|
872
|
+
throw new Error("Maximum retries reached with no response or error to throw");
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
logger.info(`Retry ${retryCount}: Processing ${strategies.length} retry strategies.`);
|
|
876
|
+
strategiesLoop: for (const strategy of strategies) {
|
|
877
|
+
const strategyLogger = strategy.logger || retryPolicyLogger;
|
|
878
|
+
strategyLogger.info(`Retry ${retryCount}: Processing retry strategy ${strategy.name}.`);
|
|
879
|
+
const modifiers = strategy.retry({
|
|
880
|
+
retryCount,
|
|
881
|
+
response,
|
|
882
|
+
responseError,
|
|
883
|
+
});
|
|
884
|
+
if (modifiers.skipStrategy) {
|
|
885
|
+
strategyLogger.info(`Retry ${retryCount}: Skipped.`);
|
|
886
|
+
continue strategiesLoop;
|
|
887
|
+
}
|
|
888
|
+
const { errorToThrow, retryAfterInMs, redirectTo } = modifiers;
|
|
889
|
+
if (errorToThrow) {
|
|
890
|
+
strategyLogger.error(`Retry ${retryCount}: Retry strategy ${strategy.name} throws error:`, errorToThrow);
|
|
891
|
+
throw errorToThrow;
|
|
892
|
+
}
|
|
893
|
+
if (retryAfterInMs || retryAfterInMs === 0) {
|
|
894
|
+
strategyLogger.info(`Retry ${retryCount}: Retry strategy ${strategy.name} retries after ${retryAfterInMs}`);
|
|
895
|
+
await delay(retryAfterInMs, undefined, { abortSignal: request.abortSignal });
|
|
896
|
+
continue retryRequest;
|
|
897
|
+
}
|
|
898
|
+
if (redirectTo) {
|
|
899
|
+
strategyLogger.info(`Retry ${retryCount}: Retry strategy ${strategy.name} redirects to ${redirectTo}`);
|
|
900
|
+
request.url = redirectTo;
|
|
901
|
+
continue retryRequest;
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
if (responseError) {
|
|
905
|
+
logger.info(`None of the retry strategies could work with the received error. Throwing it.`);
|
|
906
|
+
throw responseError;
|
|
907
|
+
}
|
|
908
|
+
if (response) {
|
|
909
|
+
logger.info(`None of the retry strategies could work with the received response. Returning it.`);
|
|
910
|
+
return response;
|
|
911
|
+
}
|
|
912
|
+
// If all the retries skip and there's no response,
|
|
913
|
+
// we're still in the retry loop, so a new request will be sent
|
|
914
|
+
// until `maxRetries` is reached.
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
};
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
// Copyright (c) Microsoft Corporation.
|
|
921
|
+
/**
|
|
922
|
+
* Name of the {@link defaultRetryPolicy}
|
|
923
|
+
*/
|
|
924
|
+
const defaultRetryPolicyName = "defaultRetryPolicy";
|
|
925
|
+
/**
|
|
926
|
+
* A policy that retries according to three strategies:
|
|
927
|
+
* - When the server sends a 429 response with a Retry-After header.
|
|
928
|
+
* - When there are errors in the underlying transport layer (e.g. DNS lookup failures).
|
|
929
|
+
* - Or otherwise if the outgoing request fails, it will retry with an exponentially increasing delay.
|
|
930
|
+
*/
|
|
931
|
+
function defaultRetryPolicy(options = {}) {
|
|
932
|
+
var _a;
|
|
933
|
+
return {
|
|
934
|
+
name: defaultRetryPolicyName,
|
|
935
|
+
sendRequest: retryPolicy([throttlingRetryStrategy(), exponentialRetryStrategy(options)], {
|
|
936
|
+
maxRetries: (_a = options.maxRetries) !== null && _a !== void 0 ? _a : DEFAULT_RETRY_POLICY_COUNT,
|
|
937
|
+
}).sendRequest,
|
|
938
|
+
};
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
// Copyright (c) Microsoft Corporation.
|
|
942
|
+
/**
|
|
943
|
+
* The programmatic identifier of the formDataPolicy.
|
|
944
|
+
*/
|
|
945
|
+
const formDataPolicyName = "formDataPolicy";
|
|
946
|
+
/**
|
|
947
|
+
* A policy that encodes FormData on the request into the body.
|
|
948
|
+
*/
|
|
949
|
+
function formDataPolicy() {
|
|
950
|
+
return {
|
|
951
|
+
name: formDataPolicyName,
|
|
952
|
+
async sendRequest(request, next) {
|
|
953
|
+
if (request.formData) {
|
|
954
|
+
const contentType = request.headers.get("Content-Type");
|
|
955
|
+
if (contentType && contentType.indexOf("application/x-www-form-urlencoded") !== -1) {
|
|
956
|
+
request.body = wwwFormUrlEncode(request.formData);
|
|
957
|
+
request.formData = undefined;
|
|
958
|
+
}
|
|
959
|
+
else {
|
|
960
|
+
await prepareFormData(request.formData, request);
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
return next(request);
|
|
964
|
+
},
|
|
965
|
+
};
|
|
966
|
+
}
|
|
967
|
+
function wwwFormUrlEncode(formData) {
|
|
968
|
+
const urlSearchParams = new URLSearchParams();
|
|
969
|
+
for (const [key, value] of Object.entries(formData)) {
|
|
970
|
+
if (Array.isArray(value)) {
|
|
971
|
+
for (const subValue of value) {
|
|
972
|
+
urlSearchParams.append(key, subValue.toString());
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
else {
|
|
976
|
+
urlSearchParams.append(key, value.toString());
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
return urlSearchParams.toString();
|
|
980
|
+
}
|
|
981
|
+
async function prepareFormData(formData, request) {
|
|
982
|
+
const requestForm = new FormData__default["default"]();
|
|
983
|
+
for (const formKey of Object.keys(formData)) {
|
|
984
|
+
const formValue = formData[formKey];
|
|
985
|
+
if (Array.isArray(formValue)) {
|
|
986
|
+
for (const subValue of formValue) {
|
|
987
|
+
requestForm.append(formKey, subValue);
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
else {
|
|
991
|
+
requestForm.append(formKey, formValue);
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
request.body = requestForm;
|
|
995
|
+
request.formData = undefined;
|
|
996
|
+
const contentType = request.headers.get("Content-Type");
|
|
997
|
+
if (contentType && contentType.indexOf("multipart/form-data") !== -1) {
|
|
998
|
+
request.headers.set("Content-Type", `multipart/form-data; boundary=${requestForm.getBoundary()}`);
|
|
999
|
+
}
|
|
1000
|
+
try {
|
|
1001
|
+
const contentLength = await new Promise((resolve, reject) => {
|
|
1002
|
+
requestForm.getLength((err, length) => {
|
|
1003
|
+
if (err) {
|
|
1004
|
+
reject(err);
|
|
1005
|
+
}
|
|
1006
|
+
else {
|
|
1007
|
+
resolve(length);
|
|
1008
|
+
}
|
|
1009
|
+
});
|
|
1010
|
+
});
|
|
1011
|
+
request.headers.set("Content-Length", contentLength);
|
|
1012
|
+
}
|
|
1013
|
+
catch (e) {
|
|
1014
|
+
// ignore setting the length if this fails
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
// Copyright (c) Microsoft Corporation.
|
|
1019
|
+
const HTTPS_PROXY = "HTTPS_PROXY";
|
|
1020
|
+
const HTTP_PROXY = "HTTP_PROXY";
|
|
1021
|
+
const ALL_PROXY = "ALL_PROXY";
|
|
1022
|
+
const NO_PROXY = "NO_PROXY";
|
|
1023
|
+
/**
|
|
1024
|
+
* The programmatic identifier of the proxyPolicy.
|
|
1025
|
+
*/
|
|
1026
|
+
const proxyPolicyName = "proxyPolicy";
|
|
1027
|
+
/**
|
|
1028
|
+
* Stores the patterns specified in NO_PROXY environment variable.
|
|
1029
|
+
* @internal
|
|
1030
|
+
*/
|
|
1031
|
+
const globalNoProxyList = [];
|
|
1032
|
+
let noProxyListLoaded = false;
|
|
1033
|
+
/** A cache of whether a host should bypass the proxy. */
|
|
1034
|
+
const globalBypassedMap = new Map();
|
|
1035
|
+
function getEnvironmentValue(name) {
|
|
1036
|
+
if (process.env[name]) {
|
|
1037
|
+
return process.env[name];
|
|
1038
|
+
}
|
|
1039
|
+
else if (process.env[name.toLowerCase()]) {
|
|
1040
|
+
return process.env[name.toLowerCase()];
|
|
1041
|
+
}
|
|
1042
|
+
return undefined;
|
|
1043
|
+
}
|
|
1044
|
+
function loadEnvironmentProxyValue() {
|
|
1045
|
+
if (!process) {
|
|
1046
|
+
return undefined;
|
|
1047
|
+
}
|
|
1048
|
+
const httpsProxy = getEnvironmentValue(HTTPS_PROXY);
|
|
1049
|
+
const allProxy = getEnvironmentValue(ALL_PROXY);
|
|
1050
|
+
const httpProxy = getEnvironmentValue(HTTP_PROXY);
|
|
1051
|
+
return httpsProxy || allProxy || httpProxy;
|
|
1052
|
+
}
|
|
1053
|
+
/**
|
|
1054
|
+
* Check whether the host of a given `uri` matches any pattern in the no proxy list.
|
|
1055
|
+
* If there's a match, any request sent to the same host shouldn't have the proxy settings set.
|
|
1056
|
+
* 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
|
|
1057
|
+
*/
|
|
1058
|
+
function isBypassed(uri, noProxyList, bypassedMap) {
|
|
1059
|
+
if (noProxyList.length === 0) {
|
|
1060
|
+
return false;
|
|
1061
|
+
}
|
|
1062
|
+
const host = new URL(uri).hostname;
|
|
1063
|
+
if (bypassedMap === null || bypassedMap === void 0 ? void 0 : bypassedMap.has(host)) {
|
|
1064
|
+
return bypassedMap.get(host);
|
|
1065
|
+
}
|
|
1066
|
+
let isBypassedFlag = false;
|
|
1067
|
+
for (const pattern of noProxyList) {
|
|
1068
|
+
if (pattern[0] === ".") {
|
|
1069
|
+
// This should match either domain it self or any subdomain or host
|
|
1070
|
+
// .foo.com will match foo.com it self or *.foo.com
|
|
1071
|
+
if (host.endsWith(pattern)) {
|
|
1072
|
+
isBypassedFlag = true;
|
|
1073
|
+
}
|
|
1074
|
+
else {
|
|
1075
|
+
if (host.length === pattern.length - 1 && host === pattern.slice(1)) {
|
|
1076
|
+
isBypassedFlag = true;
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
else {
|
|
1081
|
+
if (host === pattern) {
|
|
1082
|
+
isBypassedFlag = true;
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
bypassedMap === null || bypassedMap === void 0 ? void 0 : bypassedMap.set(host, isBypassedFlag);
|
|
1087
|
+
return isBypassedFlag;
|
|
1088
|
+
}
|
|
1089
|
+
function loadNoProxy() {
|
|
1090
|
+
const noProxy = getEnvironmentValue(NO_PROXY);
|
|
1091
|
+
noProxyListLoaded = true;
|
|
1092
|
+
if (noProxy) {
|
|
1093
|
+
return noProxy
|
|
1094
|
+
.split(",")
|
|
1095
|
+
.map((item) => item.trim())
|
|
1096
|
+
.filter((item) => item.length);
|
|
1097
|
+
}
|
|
1098
|
+
return [];
|
|
1099
|
+
}
|
|
1100
|
+
/**
|
|
1101
|
+
* This method converts a proxy url into `ProxySettings` for use with ProxyPolicy.
|
|
1102
|
+
* If no argument is given, it attempts to parse a proxy URL from the environment
|
|
1103
|
+
* variables `HTTPS_PROXY` or `HTTP_PROXY`.
|
|
1104
|
+
* @param proxyUrl - The url of the proxy to use. May contain authentication information.
|
|
1105
|
+
*/
|
|
1106
|
+
function getDefaultProxySettings(proxyUrl) {
|
|
1107
|
+
if (!proxyUrl) {
|
|
1108
|
+
proxyUrl = loadEnvironmentProxyValue();
|
|
1109
|
+
if (!proxyUrl) {
|
|
1110
|
+
return undefined;
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
const parsedUrl = new URL(proxyUrl);
|
|
1114
|
+
const schema = parsedUrl.protocol ? parsedUrl.protocol + "//" : "";
|
|
1115
|
+
return {
|
|
1116
|
+
host: schema + parsedUrl.hostname,
|
|
1117
|
+
port: Number.parseInt(parsedUrl.port || "80"),
|
|
1118
|
+
username: parsedUrl.username,
|
|
1119
|
+
password: parsedUrl.password,
|
|
1120
|
+
};
|
|
1121
|
+
}
|
|
1122
|
+
/**
|
|
1123
|
+
* @internal
|
|
1124
|
+
*/
|
|
1125
|
+
function getProxyAgentOptions(proxySettings, { headers, tlsSettings }) {
|
|
1126
|
+
let parsedProxyUrl;
|
|
1127
|
+
try {
|
|
1128
|
+
parsedProxyUrl = new URL(proxySettings.host);
|
|
1129
|
+
}
|
|
1130
|
+
catch (_error) {
|
|
1131
|
+
throw new Error(`Expecting a valid host string in proxy settings, but found "${proxySettings.host}".`);
|
|
1132
|
+
}
|
|
1133
|
+
if (tlsSettings) {
|
|
1134
|
+
logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");
|
|
1135
|
+
}
|
|
1136
|
+
const proxyAgentOptions = {
|
|
1137
|
+
hostname: parsedProxyUrl.hostname,
|
|
1138
|
+
port: proxySettings.port,
|
|
1139
|
+
protocol: parsedProxyUrl.protocol,
|
|
1140
|
+
headers: headers.toJSON(),
|
|
1141
|
+
};
|
|
1142
|
+
if (proxySettings.username && proxySettings.password) {
|
|
1143
|
+
proxyAgentOptions.auth = `${proxySettings.username}:${proxySettings.password}`;
|
|
1144
|
+
}
|
|
1145
|
+
else if (proxySettings.username) {
|
|
1146
|
+
proxyAgentOptions.auth = `${proxySettings.username}`;
|
|
1147
|
+
}
|
|
1148
|
+
return proxyAgentOptions;
|
|
1149
|
+
}
|
|
1150
|
+
function setProxyAgentOnRequest(request, cachedAgents) {
|
|
1151
|
+
// Custom Agent should take precedence so if one is present
|
|
1152
|
+
// we should skip to avoid overwriting it.
|
|
1153
|
+
if (request.agent) {
|
|
1154
|
+
return;
|
|
1155
|
+
}
|
|
1156
|
+
const url = new URL(request.url);
|
|
1157
|
+
const isInsecure = url.protocol !== "https:";
|
|
1158
|
+
const proxySettings = request.proxySettings;
|
|
1159
|
+
if (proxySettings) {
|
|
1160
|
+
if (isInsecure) {
|
|
1161
|
+
if (!cachedAgents.httpProxyAgent) {
|
|
1162
|
+
const proxyAgentOptions = getProxyAgentOptions(proxySettings, request);
|
|
1163
|
+
cachedAgents.httpProxyAgent = new httpProxyAgent.HttpProxyAgent(proxyAgentOptions);
|
|
1164
|
+
}
|
|
1165
|
+
request.agent = cachedAgents.httpProxyAgent;
|
|
1166
|
+
}
|
|
1167
|
+
else {
|
|
1168
|
+
if (!cachedAgents.httpsProxyAgent) {
|
|
1169
|
+
const proxyAgentOptions = getProxyAgentOptions(proxySettings, request);
|
|
1170
|
+
cachedAgents.httpsProxyAgent = new httpsProxyAgent.HttpsProxyAgent(proxyAgentOptions);
|
|
1171
|
+
}
|
|
1172
|
+
request.agent = cachedAgents.httpsProxyAgent;
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
/**
|
|
1177
|
+
* A policy that allows one to apply proxy settings to all requests.
|
|
1178
|
+
* If not passed static settings, they will be retrieved from the HTTPS_PROXY
|
|
1179
|
+
* or HTTP_PROXY environment variables.
|
|
1180
|
+
* @param proxySettings - ProxySettings to use on each request.
|
|
1181
|
+
* @param options - additional settings, for example, custom NO_PROXY patterns
|
|
1182
|
+
*/
|
|
1183
|
+
function proxyPolicy(proxySettings = getDefaultProxySettings(), options) {
|
|
1184
|
+
if (!noProxyListLoaded) {
|
|
1185
|
+
globalNoProxyList.push(...loadNoProxy());
|
|
1186
|
+
}
|
|
1187
|
+
const cachedAgents = {};
|
|
1188
|
+
return {
|
|
1189
|
+
name: proxyPolicyName,
|
|
1190
|
+
async sendRequest(request, next) {
|
|
1191
|
+
var _a;
|
|
1192
|
+
if (!request.proxySettings &&
|
|
1193
|
+
!isBypassed(request.url, (_a = options === null || options === void 0 ? void 0 : options.customNoProxyList) !== null && _a !== void 0 ? _a : globalNoProxyList, (options === null || options === void 0 ? void 0 : options.customNoProxyList) ? undefined : globalBypassedMap)) {
|
|
1194
|
+
request.proxySettings = proxySettings;
|
|
1195
|
+
}
|
|
1196
|
+
if (request.proxySettings) {
|
|
1197
|
+
setProxyAgentOnRequest(request, cachedAgents);
|
|
1198
|
+
}
|
|
1199
|
+
return next(request);
|
|
1200
|
+
},
|
|
1201
|
+
};
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
// Copyright (c) Microsoft Corporation.
|
|
1205
|
+
// Licensed under the MIT license.
|
|
1206
|
+
/**
|
|
1207
|
+
* The programmatic identifier of the setClientRequestIdPolicy.
|
|
1208
|
+
*/
|
|
1209
|
+
const setClientRequestIdPolicyName = "setClientRequestIdPolicy";
|
|
1210
|
+
/**
|
|
1211
|
+
* Each PipelineRequest gets a unique id upon creation.
|
|
1212
|
+
* This policy passes that unique id along via an HTTP header to enable better
|
|
1213
|
+
* telemetry and tracing.
|
|
1214
|
+
* @param requestIdHeaderName - The name of the header to pass the request ID to.
|
|
1215
|
+
*/
|
|
1216
|
+
function setClientRequestIdPolicy(requestIdHeaderName = "x-ms-client-request-id") {
|
|
1217
|
+
return {
|
|
1218
|
+
name: setClientRequestIdPolicyName,
|
|
1219
|
+
async sendRequest(request, next) {
|
|
1220
|
+
if (!request.headers.has(requestIdHeaderName)) {
|
|
1221
|
+
request.headers.set(requestIdHeaderName, request.requestId);
|
|
1222
|
+
}
|
|
1223
|
+
return next(request);
|
|
1224
|
+
},
|
|
1225
|
+
};
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
// Copyright (c) Microsoft Corporation.
|
|
1229
|
+
// Licensed under the MIT license.
|
|
1230
|
+
/**
|
|
1231
|
+
* Name of the TLS Policy
|
|
1232
|
+
*/
|
|
1233
|
+
const tlsPolicyName = "tlsPolicy";
|
|
1234
|
+
/**
|
|
1235
|
+
* Gets a pipeline policy that adds the client certificate to the HttpClient agent for authentication.
|
|
1236
|
+
*/
|
|
1237
|
+
function tlsPolicy(tlsSettings) {
|
|
1238
|
+
return {
|
|
1239
|
+
name: tlsPolicyName,
|
|
1240
|
+
sendRequest: async (req, next) => {
|
|
1241
|
+
// Users may define a request tlsSettings, honor those over the client level one
|
|
1242
|
+
if (!req.tlsSettings) {
|
|
1243
|
+
req.tlsSettings = tlsSettings;
|
|
1244
|
+
}
|
|
1245
|
+
return next(req);
|
|
1246
|
+
},
|
|
1247
|
+
};
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
// Copyright (c) Microsoft Corporation.
|
|
1251
|
+
const custom = util.inspect.custom;
|
|
1252
|
+
|
|
1253
|
+
// Copyright (c) Microsoft Corporation.
|
|
1254
|
+
const errorSanitizer = new Sanitizer();
|
|
1255
|
+
/**
|
|
1256
|
+
* A custom error type for failed pipeline requests.
|
|
1257
|
+
*/
|
|
1258
|
+
class RestError extends Error {
|
|
1259
|
+
constructor(message, options = {}) {
|
|
1260
|
+
super(message);
|
|
1261
|
+
this.name = "RestError";
|
|
1262
|
+
this.code = options.code;
|
|
1263
|
+
this.statusCode = options.statusCode;
|
|
1264
|
+
this.request = options.request;
|
|
1265
|
+
this.response = options.response;
|
|
1266
|
+
Object.setPrototypeOf(this, RestError.prototype);
|
|
1267
|
+
}
|
|
1268
|
+
/**
|
|
1269
|
+
* Logging method for util.inspect in Node
|
|
1270
|
+
*/
|
|
1271
|
+
[custom]() {
|
|
1272
|
+
return `RestError: ${this.message} \n ${errorSanitizer.sanitize(this)}`;
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
/**
|
|
1276
|
+
* Something went wrong when making the request.
|
|
1277
|
+
* This means the actual request failed for some reason,
|
|
1278
|
+
* such as a DNS issue or the connection being lost.
|
|
1279
|
+
*/
|
|
1280
|
+
RestError.REQUEST_SEND_ERROR = "REQUEST_SEND_ERROR";
|
|
1281
|
+
/**
|
|
1282
|
+
* This means that parsing the response from the server failed.
|
|
1283
|
+
* It may have been malformed.
|
|
1284
|
+
*/
|
|
1285
|
+
RestError.PARSE_ERROR = "PARSE_ERROR";
|
|
1286
|
+
/**
|
|
1287
|
+
* Typeguard for RestError
|
|
1288
|
+
* @param e - Something caught by a catch clause.
|
|
1289
|
+
*/
|
|
1290
|
+
function isRestError(e) {
|
|
1291
|
+
if (e instanceof RestError) {
|
|
1292
|
+
return true;
|
|
1293
|
+
}
|
|
1294
|
+
return coreUtil.isError(e) && e.name === "RestError";
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
// Copyright (c) Microsoft Corporation.
|
|
1298
|
+
/**
|
|
1299
|
+
* The programmatic identifier of the tracingPolicy.
|
|
1300
|
+
*/
|
|
1301
|
+
const tracingPolicyName = "tracingPolicy";
|
|
1302
|
+
/**
|
|
1303
|
+
* A simple policy to create OpenTelemetry Spans for each request made by the pipeline
|
|
1304
|
+
* that has SpanOptions with a parent.
|
|
1305
|
+
* Requests made without a parent Span will not be recorded.
|
|
1306
|
+
* @param options - Options to configure the telemetry logged by the tracing policy.
|
|
1307
|
+
*/
|
|
1308
|
+
function tracingPolicy(options = {}) {
|
|
1309
|
+
const userAgent = getUserAgentValue(options.userAgentPrefix);
|
|
1310
|
+
const tracingClient = tryCreateTracingClient();
|
|
1311
|
+
return {
|
|
1312
|
+
name: tracingPolicyName,
|
|
1313
|
+
async sendRequest(request, next) {
|
|
1314
|
+
var _a, _b;
|
|
1315
|
+
if (!tracingClient || !((_a = request.tracingOptions) === null || _a === void 0 ? void 0 : _a.tracingContext)) {
|
|
1316
|
+
return next(request);
|
|
1317
|
+
}
|
|
1318
|
+
const { span, tracingContext } = (_b = tryCreateSpan(tracingClient, request, userAgent)) !== null && _b !== void 0 ? _b : {};
|
|
1319
|
+
if (!span || !tracingContext) {
|
|
1320
|
+
return next(request);
|
|
1321
|
+
}
|
|
1322
|
+
try {
|
|
1323
|
+
const response = await tracingClient.withContext(tracingContext, next, request);
|
|
1324
|
+
tryProcessResponse(span, response);
|
|
1325
|
+
return response;
|
|
1326
|
+
}
|
|
1327
|
+
catch (err) {
|
|
1328
|
+
tryProcessError(span, err);
|
|
1329
|
+
throw err;
|
|
1330
|
+
}
|
|
1331
|
+
},
|
|
1332
|
+
};
|
|
1333
|
+
}
|
|
1334
|
+
function tryCreateTracingClient() {
|
|
1335
|
+
try {
|
|
1336
|
+
return coreTracing.createTracingClient({
|
|
1337
|
+
namespace: "",
|
|
1338
|
+
packageName: "@azure/core-rest-pipeline",
|
|
1339
|
+
packageVersion: SDK_VERSION,
|
|
1340
|
+
});
|
|
1341
|
+
}
|
|
1342
|
+
catch (e) {
|
|
1343
|
+
logger.warning(`Error when creating the TracingClient: ${coreUtil.getErrorMessage(e)}`);
|
|
1344
|
+
return undefined;
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
function tryCreateSpan(tracingClient, request, userAgent) {
|
|
1348
|
+
try {
|
|
1349
|
+
// As per spec, we do not need to differentiate between HTTP and HTTPS in span name.
|
|
1350
|
+
const { span, updatedOptions } = tracingClient.startSpan(`HTTP ${request.method}`, { tracingOptions: request.tracingOptions }, {
|
|
1351
|
+
spanKind: "client",
|
|
1352
|
+
spanAttributes: {
|
|
1353
|
+
"http.method": request.method,
|
|
1354
|
+
"http.url": request.url,
|
|
1355
|
+
requestId: request.requestId,
|
|
1356
|
+
},
|
|
1357
|
+
});
|
|
1358
|
+
// If the span is not recording, don't do any more work.
|
|
1359
|
+
if (!span.isRecording()) {
|
|
1360
|
+
span.end();
|
|
1361
|
+
return undefined;
|
|
1362
|
+
}
|
|
1363
|
+
if (userAgent) {
|
|
1364
|
+
span.setAttribute("http.user_agent", userAgent);
|
|
1365
|
+
}
|
|
1366
|
+
// set headers
|
|
1367
|
+
const headers = tracingClient.createRequestHeaders(updatedOptions.tracingOptions.tracingContext);
|
|
1368
|
+
for (const [key, value] of Object.entries(headers)) {
|
|
1369
|
+
request.headers.set(key, value);
|
|
1370
|
+
}
|
|
1371
|
+
return { span, tracingContext: updatedOptions.tracingOptions.tracingContext };
|
|
1372
|
+
}
|
|
1373
|
+
catch (e) {
|
|
1374
|
+
logger.warning(`Skipping creating a tracing span due to an error: ${coreUtil.getErrorMessage(e)}`);
|
|
1375
|
+
return undefined;
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
function tryProcessError(span, error) {
|
|
1379
|
+
try {
|
|
1380
|
+
span.setStatus({
|
|
1381
|
+
status: "error",
|
|
1382
|
+
error: coreUtil.isError(error) ? error : undefined,
|
|
1383
|
+
});
|
|
1384
|
+
if (isRestError(error) && error.statusCode) {
|
|
1385
|
+
span.setAttribute("http.status_code", error.statusCode);
|
|
1386
|
+
}
|
|
1387
|
+
span.end();
|
|
1388
|
+
}
|
|
1389
|
+
catch (e) {
|
|
1390
|
+
logger.warning(`Skipping tracing span processing due to an error: ${coreUtil.getErrorMessage(e)}`);
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
function tryProcessResponse(span, response) {
|
|
1394
|
+
try {
|
|
1395
|
+
span.setAttribute("http.status_code", response.status);
|
|
1396
|
+
const serviceRequestId = response.headers.get("x-ms-request-id");
|
|
1397
|
+
if (serviceRequestId) {
|
|
1398
|
+
span.setAttribute("serviceRequestId", serviceRequestId);
|
|
1399
|
+
}
|
|
1400
|
+
span.setStatus({
|
|
1401
|
+
status: "success",
|
|
1402
|
+
});
|
|
1403
|
+
span.end();
|
|
1404
|
+
}
|
|
1405
|
+
catch (e) {
|
|
1406
|
+
logger.warning(`Skipping tracing span processing due to an error: ${coreUtil.getErrorMessage(e)}`);
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
// Copyright (c) Microsoft Corporation.
|
|
1411
|
+
/**
|
|
1412
|
+
* Create a new pipeline with a default set of customizable policies.
|
|
1413
|
+
* @param options - Options to configure a custom pipeline.
|
|
1414
|
+
*/
|
|
1415
|
+
function createPipelineFromOptions(options) {
|
|
1416
|
+
const pipeline = createEmptyPipeline();
|
|
1417
|
+
if (coreUtil.isNode) {
|
|
1418
|
+
if (options.tlsOptions) {
|
|
1419
|
+
pipeline.addPolicy(tlsPolicy(options.tlsOptions));
|
|
1420
|
+
}
|
|
1421
|
+
pipeline.addPolicy(proxyPolicy(options.proxyOptions));
|
|
1422
|
+
pipeline.addPolicy(decompressResponsePolicy());
|
|
1423
|
+
}
|
|
1424
|
+
pipeline.addPolicy(formDataPolicy());
|
|
1425
|
+
pipeline.addPolicy(userAgentPolicy(options.userAgentOptions));
|
|
1426
|
+
pipeline.addPolicy(setClientRequestIdPolicy());
|
|
1427
|
+
pipeline.addPolicy(defaultRetryPolicy(options.retryOptions), { phase: "Retry" });
|
|
1428
|
+
pipeline.addPolicy(tracingPolicy(options.userAgentOptions), { afterPhase: "Retry" });
|
|
1429
|
+
if (coreUtil.isNode) {
|
|
1430
|
+
// Both XHR and Fetch expect to handle redirects automatically,
|
|
1431
|
+
// so only include this policy when we're in Node.
|
|
1432
|
+
pipeline.addPolicy(redirectPolicy(options.redirectOptions), { afterPhase: "Retry" });
|
|
1433
|
+
}
|
|
1434
|
+
pipeline.addPolicy(logPolicy(options.loggingOptions), { afterPhase: "Sign" });
|
|
1435
|
+
return pipeline;
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
// Copyright (c) Microsoft Corporation.
|
|
1439
|
+
// Licensed under the MIT license.
|
|
1440
|
+
function normalizeName(name) {
|
|
1441
|
+
return name.toLowerCase();
|
|
1442
|
+
}
|
|
1443
|
+
function* headerIterator(map) {
|
|
1444
|
+
for (const entry of map.values()) {
|
|
1445
|
+
yield [entry.name, entry.value];
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
class HttpHeadersImpl {
|
|
1449
|
+
constructor(rawHeaders) {
|
|
1450
|
+
this._headersMap = new Map();
|
|
1451
|
+
if (rawHeaders) {
|
|
1452
|
+
for (const headerName of Object.keys(rawHeaders)) {
|
|
1453
|
+
this.set(headerName, rawHeaders[headerName]);
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
/**
|
|
1458
|
+
* Set a header in this collection with the provided name and value. The name is
|
|
1459
|
+
* case-insensitive.
|
|
1460
|
+
* @param name - The name of the header to set. This value is case-insensitive.
|
|
1461
|
+
* @param value - The value of the header to set.
|
|
1462
|
+
*/
|
|
1463
|
+
set(name, value) {
|
|
1464
|
+
this._headersMap.set(normalizeName(name), { name, value: String(value) });
|
|
1465
|
+
}
|
|
1466
|
+
/**
|
|
1467
|
+
* Get the header value for the provided header name, or undefined if no header exists in this
|
|
1468
|
+
* collection with the provided name.
|
|
1469
|
+
* @param name - The name of the header. This value is case-insensitive.
|
|
1470
|
+
*/
|
|
1471
|
+
get(name) {
|
|
1472
|
+
var _a;
|
|
1473
|
+
return (_a = this._headersMap.get(normalizeName(name))) === null || _a === void 0 ? void 0 : _a.value;
|
|
1474
|
+
}
|
|
1475
|
+
/**
|
|
1476
|
+
* Get whether or not this header collection contains a header entry for the provided header name.
|
|
1477
|
+
* @param name - The name of the header to set. This value is case-insensitive.
|
|
1478
|
+
*/
|
|
1479
|
+
has(name) {
|
|
1480
|
+
return this._headersMap.has(normalizeName(name));
|
|
1481
|
+
}
|
|
1482
|
+
/**
|
|
1483
|
+
* Remove the header with the provided headerName.
|
|
1484
|
+
* @param name - The name of the header to remove.
|
|
1485
|
+
*/
|
|
1486
|
+
delete(name) {
|
|
1487
|
+
this._headersMap.delete(normalizeName(name));
|
|
1488
|
+
}
|
|
1489
|
+
/**
|
|
1490
|
+
* Get the JSON object representation of this HTTP header collection.
|
|
1491
|
+
*/
|
|
1492
|
+
toJSON(options = {}) {
|
|
1493
|
+
const result = {};
|
|
1494
|
+
if (options.preserveCase) {
|
|
1495
|
+
for (const entry of this._headersMap.values()) {
|
|
1496
|
+
result[entry.name] = entry.value;
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
else {
|
|
1500
|
+
for (const [normalizedName, entry] of this._headersMap) {
|
|
1501
|
+
result[normalizedName] = entry.value;
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
return result;
|
|
1505
|
+
}
|
|
1506
|
+
/**
|
|
1507
|
+
* Get the string representation of this HTTP header collection.
|
|
1508
|
+
*/
|
|
1509
|
+
toString() {
|
|
1510
|
+
return JSON.stringify(this.toJSON({ preserveCase: true }));
|
|
1511
|
+
}
|
|
1512
|
+
/**
|
|
1513
|
+
* Iterate over tuples of header [name, value] pairs.
|
|
1514
|
+
*/
|
|
1515
|
+
[Symbol.iterator]() {
|
|
1516
|
+
return headerIterator(this._headersMap);
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
/**
|
|
1520
|
+
* Creates an object that satisfies the `HttpHeaders` interface.
|
|
1521
|
+
* @param rawHeaders - A simple object representing initial headers
|
|
1522
|
+
*/
|
|
1523
|
+
function createHttpHeaders(rawHeaders) {
|
|
1524
|
+
return new HttpHeadersImpl(rawHeaders);
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
// Copyright (c) Microsoft Corporation.
|
|
1528
|
+
const DEFAULT_TLS_SETTINGS = {};
|
|
1529
|
+
function isReadableStream(body) {
|
|
1530
|
+
return body && typeof body.pipe === "function";
|
|
1531
|
+
}
|
|
1532
|
+
function isStreamComplete(stream) {
|
|
1533
|
+
return new Promise((resolve) => {
|
|
1534
|
+
stream.on("close", resolve);
|
|
1535
|
+
stream.on("end", resolve);
|
|
1536
|
+
stream.on("error", resolve);
|
|
1537
|
+
});
|
|
1538
|
+
}
|
|
1539
|
+
function isArrayBuffer(body) {
|
|
1540
|
+
return body && typeof body.byteLength === "number";
|
|
1541
|
+
}
|
|
1542
|
+
class ReportTransform extends stream.Transform {
|
|
1543
|
+
constructor(progressCallback) {
|
|
1544
|
+
super();
|
|
1545
|
+
this.loadedBytes = 0;
|
|
1546
|
+
this.progressCallback = progressCallback;
|
|
1547
|
+
}
|
|
1548
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
1549
|
+
_transform(chunk, _encoding, callback) {
|
|
1550
|
+
this.push(chunk);
|
|
1551
|
+
this.loadedBytes += chunk.length;
|
|
1552
|
+
try {
|
|
1553
|
+
this.progressCallback({ loadedBytes: this.loadedBytes });
|
|
1554
|
+
callback();
|
|
1555
|
+
}
|
|
1556
|
+
catch (e) {
|
|
1557
|
+
callback(e);
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1560
|
+
}
|
|
1561
|
+
/**
|
|
1562
|
+
* A HttpClient implementation that uses Node's "https" module to send HTTPS requests.
|
|
1563
|
+
* @internal
|
|
1564
|
+
*/
|
|
1565
|
+
class NodeHttpClient {
|
|
1566
|
+
constructor() {
|
|
1567
|
+
this.cachedHttpsAgents = new WeakMap();
|
|
1568
|
+
}
|
|
1569
|
+
/**
|
|
1570
|
+
* Makes a request over an underlying transport layer and returns the response.
|
|
1571
|
+
* @param request - The request to be made.
|
|
1572
|
+
*/
|
|
1573
|
+
async sendRequest(request) {
|
|
1574
|
+
var _a, _b, _c;
|
|
1575
|
+
const abortController$1 = new abortController.AbortController();
|
|
1576
|
+
let abortListener;
|
|
1577
|
+
if (request.abortSignal) {
|
|
1578
|
+
if (request.abortSignal.aborted) {
|
|
1579
|
+
throw new abortController.AbortError("The operation was aborted.");
|
|
1580
|
+
}
|
|
1581
|
+
abortListener = (event) => {
|
|
1582
|
+
if (event.type === "abort") {
|
|
1583
|
+
abortController$1.abort();
|
|
1584
|
+
}
|
|
1585
|
+
};
|
|
1586
|
+
request.abortSignal.addEventListener("abort", abortListener);
|
|
1587
|
+
}
|
|
1588
|
+
if (request.timeout > 0) {
|
|
1589
|
+
setTimeout(() => {
|
|
1590
|
+
abortController$1.abort();
|
|
1591
|
+
}, request.timeout);
|
|
1592
|
+
}
|
|
1593
|
+
const acceptEncoding = request.headers.get("Accept-Encoding");
|
|
1594
|
+
const shouldDecompress = (acceptEncoding === null || acceptEncoding === void 0 ? void 0 : acceptEncoding.includes("gzip")) || (acceptEncoding === null || acceptEncoding === void 0 ? void 0 : acceptEncoding.includes("deflate"));
|
|
1595
|
+
let body = typeof request.body === "function" ? request.body() : request.body;
|
|
1596
|
+
if (body && !request.headers.has("Content-Length")) {
|
|
1597
|
+
const bodyLength = getBodyLength(body);
|
|
1598
|
+
if (bodyLength !== null) {
|
|
1599
|
+
request.headers.set("Content-Length", bodyLength);
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
let responseStream;
|
|
1603
|
+
try {
|
|
1604
|
+
if (body && request.onUploadProgress) {
|
|
1605
|
+
const onUploadProgress = request.onUploadProgress;
|
|
1606
|
+
const uploadReportStream = new ReportTransform(onUploadProgress);
|
|
1607
|
+
uploadReportStream.on("error", (e) => {
|
|
1608
|
+
logger.error("Error in upload progress", e);
|
|
1609
|
+
});
|
|
1610
|
+
if (isReadableStream(body)) {
|
|
1611
|
+
body.pipe(uploadReportStream);
|
|
1612
|
+
}
|
|
1613
|
+
else {
|
|
1614
|
+
uploadReportStream.end(body);
|
|
1615
|
+
}
|
|
1616
|
+
body = uploadReportStream;
|
|
1617
|
+
}
|
|
1618
|
+
const res = await this.makeRequest(request, abortController$1, body);
|
|
1619
|
+
const headers = getResponseHeaders(res);
|
|
1620
|
+
const status = (_a = res.statusCode) !== null && _a !== void 0 ? _a : 0;
|
|
1621
|
+
const response = {
|
|
1622
|
+
status,
|
|
1623
|
+
headers,
|
|
1624
|
+
request,
|
|
1625
|
+
};
|
|
1626
|
+
// Responses to HEAD must not have a body.
|
|
1627
|
+
// If they do return a body, that body must be ignored.
|
|
1628
|
+
if (request.method === "HEAD") {
|
|
1629
|
+
// call resume() and not destroy() to avoid closing the socket
|
|
1630
|
+
// and losing keep alive
|
|
1631
|
+
res.resume();
|
|
1632
|
+
return response;
|
|
1633
|
+
}
|
|
1634
|
+
responseStream = shouldDecompress ? getDecodedResponseStream(res, headers) : res;
|
|
1635
|
+
const onDownloadProgress = request.onDownloadProgress;
|
|
1636
|
+
if (onDownloadProgress) {
|
|
1637
|
+
const downloadReportStream = new ReportTransform(onDownloadProgress);
|
|
1638
|
+
downloadReportStream.on("error", (e) => {
|
|
1639
|
+
logger.error("Error in download progress", e);
|
|
1640
|
+
});
|
|
1641
|
+
responseStream.pipe(downloadReportStream);
|
|
1642
|
+
responseStream = downloadReportStream;
|
|
1643
|
+
}
|
|
1644
|
+
if (
|
|
1645
|
+
// Value of POSITIVE_INFINITY in streamResponseStatusCodes is considered as any status code
|
|
1646
|
+
((_b = request.streamResponseStatusCodes) === null || _b === void 0 ? void 0 : _b.has(Number.POSITIVE_INFINITY)) ||
|
|
1647
|
+
((_c = request.streamResponseStatusCodes) === null || _c === void 0 ? void 0 : _c.has(response.status))) {
|
|
1648
|
+
response.readableStreamBody = responseStream;
|
|
1649
|
+
}
|
|
1650
|
+
else {
|
|
1651
|
+
response.bodyAsText = await streamToText(responseStream);
|
|
1652
|
+
}
|
|
1653
|
+
return response;
|
|
1654
|
+
}
|
|
1655
|
+
finally {
|
|
1656
|
+
// clean up event listener
|
|
1657
|
+
if (request.abortSignal && abortListener) {
|
|
1658
|
+
let uploadStreamDone = Promise.resolve();
|
|
1659
|
+
if (isReadableStream(body)) {
|
|
1660
|
+
uploadStreamDone = isStreamComplete(body);
|
|
1661
|
+
}
|
|
1662
|
+
let downloadStreamDone = Promise.resolve();
|
|
1663
|
+
if (isReadableStream(responseStream)) {
|
|
1664
|
+
downloadStreamDone = isStreamComplete(responseStream);
|
|
1665
|
+
}
|
|
1666
|
+
Promise.all([uploadStreamDone, downloadStreamDone])
|
|
1667
|
+
.then(() => {
|
|
1668
|
+
var _a;
|
|
1669
|
+
// eslint-disable-next-line promise/always-return
|
|
1670
|
+
if (abortListener) {
|
|
1671
|
+
(_a = request.abortSignal) === null || _a === void 0 ? void 0 : _a.removeEventListener("abort", abortListener);
|
|
1672
|
+
}
|
|
1673
|
+
})
|
|
1674
|
+
.catch((e) => {
|
|
1675
|
+
logger.warning("Error when cleaning up abortListener on httpRequest", e);
|
|
1676
|
+
});
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
makeRequest(request, abortController$1, body) {
|
|
1681
|
+
var _a;
|
|
1682
|
+
const url = new URL(request.url);
|
|
1683
|
+
const isInsecure = url.protocol !== "https:";
|
|
1684
|
+
if (isInsecure && !request.allowInsecureConnection) {
|
|
1685
|
+
throw new Error(`Cannot connect to ${request.url} while allowInsecureConnection is false.`);
|
|
1686
|
+
}
|
|
1687
|
+
const agent = (_a = request.agent) !== null && _a !== void 0 ? _a : this.getOrCreateAgent(request, isInsecure);
|
|
1688
|
+
const options = {
|
|
1689
|
+
agent,
|
|
1690
|
+
hostname: url.hostname,
|
|
1691
|
+
path: `${url.pathname}${url.search}`,
|
|
1692
|
+
port: url.port,
|
|
1693
|
+
method: request.method,
|
|
1694
|
+
headers: request.headers.toJSON({ preserveCase: true }),
|
|
1695
|
+
};
|
|
1696
|
+
return new Promise((resolve, reject) => {
|
|
1697
|
+
const req = isInsecure ? http__namespace.request(options, resolve) : https__namespace.request(options, resolve);
|
|
1698
|
+
req.once("error", (err) => {
|
|
1699
|
+
var _a;
|
|
1700
|
+
reject(new RestError(err.message, { code: (_a = err.code) !== null && _a !== void 0 ? _a : RestError.REQUEST_SEND_ERROR, request }));
|
|
1701
|
+
});
|
|
1702
|
+
abortController$1.signal.addEventListener("abort", () => {
|
|
1703
|
+
const abortError = new abortController.AbortError("The operation was aborted.");
|
|
1704
|
+
req.destroy(abortError);
|
|
1705
|
+
reject(abortError);
|
|
1706
|
+
});
|
|
1707
|
+
if (body && isReadableStream(body)) {
|
|
1708
|
+
body.pipe(req);
|
|
1709
|
+
}
|
|
1710
|
+
else if (body) {
|
|
1711
|
+
if (typeof body === "string" || Buffer.isBuffer(body)) {
|
|
1712
|
+
req.end(body);
|
|
1713
|
+
}
|
|
1714
|
+
else if (isArrayBuffer(body)) {
|
|
1715
|
+
req.end(ArrayBuffer.isView(body) ? Buffer.from(body.buffer) : Buffer.from(body));
|
|
1716
|
+
}
|
|
1717
|
+
else {
|
|
1718
|
+
logger.error("Unrecognized body type", body);
|
|
1719
|
+
reject(new RestError("Unrecognized body type"));
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
else {
|
|
1723
|
+
// streams don't like "undefined" being passed as data
|
|
1724
|
+
req.end();
|
|
1725
|
+
}
|
|
1726
|
+
});
|
|
1727
|
+
}
|
|
1728
|
+
getOrCreateAgent(request, isInsecure) {
|
|
1729
|
+
var _a;
|
|
1730
|
+
const disableKeepAlive = request.disableKeepAlive;
|
|
1731
|
+
// Handle Insecure requests first
|
|
1732
|
+
if (isInsecure) {
|
|
1733
|
+
if (disableKeepAlive) {
|
|
1734
|
+
// keepAlive:false is the default so we don't need a custom Agent
|
|
1735
|
+
return http__namespace.globalAgent;
|
|
1736
|
+
}
|
|
1737
|
+
if (!this.cachedHttpAgent) {
|
|
1738
|
+
// If there is no cached agent create a new one and cache it.
|
|
1739
|
+
this.cachedHttpAgent = new http__namespace.Agent({ keepAlive: true });
|
|
1740
|
+
}
|
|
1741
|
+
return this.cachedHttpAgent;
|
|
1742
|
+
}
|
|
1743
|
+
else {
|
|
1744
|
+
if (disableKeepAlive && !request.tlsSettings) {
|
|
1745
|
+
// When there are no tlsSettings and keepAlive is false
|
|
1746
|
+
// we don't need a custom agent
|
|
1747
|
+
return https__namespace.globalAgent;
|
|
1748
|
+
}
|
|
1749
|
+
// We use the tlsSettings to index cached clients
|
|
1750
|
+
const tlsSettings = (_a = request.tlsSettings) !== null && _a !== void 0 ? _a : DEFAULT_TLS_SETTINGS;
|
|
1751
|
+
// Get the cached agent or create a new one with the
|
|
1752
|
+
// provided values for keepAlive and tlsSettings
|
|
1753
|
+
let agent = this.cachedHttpsAgents.get(tlsSettings);
|
|
1754
|
+
if (agent && agent.options.keepAlive === !disableKeepAlive) {
|
|
1755
|
+
return agent;
|
|
1756
|
+
}
|
|
1757
|
+
logger.info("No cached TLS Agent exist, creating a new Agent");
|
|
1758
|
+
agent = new https__namespace.Agent(Object.assign({
|
|
1759
|
+
// keepAlive is true if disableKeepAlive is false.
|
|
1760
|
+
keepAlive: !disableKeepAlive }, tlsSettings));
|
|
1761
|
+
this.cachedHttpsAgents.set(tlsSettings, agent);
|
|
1762
|
+
return agent;
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
function getResponseHeaders(res) {
|
|
1767
|
+
const headers = createHttpHeaders();
|
|
1768
|
+
for (const header of Object.keys(res.headers)) {
|
|
1769
|
+
const value = res.headers[header];
|
|
1770
|
+
if (Array.isArray(value)) {
|
|
1771
|
+
if (value.length > 0) {
|
|
1772
|
+
headers.set(header, value[0]);
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
else if (value) {
|
|
1776
|
+
headers.set(header, value);
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
return headers;
|
|
1780
|
+
}
|
|
1781
|
+
function getDecodedResponseStream(stream, headers) {
|
|
1782
|
+
const contentEncoding = headers.get("Content-Encoding");
|
|
1783
|
+
if (contentEncoding === "gzip") {
|
|
1784
|
+
const unzip = zlib__namespace.createGunzip();
|
|
1785
|
+
stream.pipe(unzip);
|
|
1786
|
+
return unzip;
|
|
1787
|
+
}
|
|
1788
|
+
else if (contentEncoding === "deflate") {
|
|
1789
|
+
const inflate = zlib__namespace.createInflate();
|
|
1790
|
+
stream.pipe(inflate);
|
|
1791
|
+
return inflate;
|
|
1792
|
+
}
|
|
1793
|
+
return stream;
|
|
1794
|
+
}
|
|
1795
|
+
function streamToText(stream) {
|
|
1796
|
+
return new Promise((resolve, reject) => {
|
|
1797
|
+
const buffer = [];
|
|
1798
|
+
stream.on("data", (chunk) => {
|
|
1799
|
+
if (Buffer.isBuffer(chunk)) {
|
|
1800
|
+
buffer.push(chunk);
|
|
1801
|
+
}
|
|
1802
|
+
else {
|
|
1803
|
+
buffer.push(Buffer.from(chunk));
|
|
1804
|
+
}
|
|
1805
|
+
});
|
|
1806
|
+
stream.on("end", () => {
|
|
1807
|
+
resolve(Buffer.concat(buffer).toString("utf8"));
|
|
1808
|
+
});
|
|
1809
|
+
stream.on("error", (e) => {
|
|
1810
|
+
if (e && (e === null || e === void 0 ? void 0 : e.name) === "AbortError") {
|
|
1811
|
+
reject(e);
|
|
1812
|
+
}
|
|
1813
|
+
else {
|
|
1814
|
+
reject(new RestError(`Error reading response as text: ${e.message}`, {
|
|
1815
|
+
code: RestError.PARSE_ERROR,
|
|
1816
|
+
}));
|
|
1817
|
+
}
|
|
1818
|
+
});
|
|
1819
|
+
});
|
|
1820
|
+
}
|
|
1821
|
+
/** @internal */
|
|
1822
|
+
function getBodyLength(body) {
|
|
1823
|
+
if (!body) {
|
|
1824
|
+
return 0;
|
|
1825
|
+
}
|
|
1826
|
+
else if (Buffer.isBuffer(body)) {
|
|
1827
|
+
return body.length;
|
|
1828
|
+
}
|
|
1829
|
+
else if (isReadableStream(body)) {
|
|
1830
|
+
return null;
|
|
1831
|
+
}
|
|
1832
|
+
else if (isArrayBuffer(body)) {
|
|
1833
|
+
return body.byteLength;
|
|
1834
|
+
}
|
|
1835
|
+
else if (typeof body === "string") {
|
|
1836
|
+
return Buffer.from(body).length;
|
|
1837
|
+
}
|
|
1838
|
+
else {
|
|
1839
|
+
return null;
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
/**
|
|
1843
|
+
* Create a new HttpClient instance for the NodeJS environment.
|
|
1844
|
+
* @internal
|
|
1845
|
+
*/
|
|
1846
|
+
function createNodeHttpClient() {
|
|
1847
|
+
return new NodeHttpClient();
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
// Copyright (c) Microsoft Corporation.
|
|
1851
|
+
/**
|
|
1852
|
+
* Create the correct HttpClient for the current environment.
|
|
1853
|
+
*/
|
|
1854
|
+
function createDefaultHttpClient() {
|
|
1855
|
+
return createNodeHttpClient();
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
// Copyright (c) Microsoft Corporation.
|
|
1859
|
+
/**
|
|
1860
|
+
* Generated Universally Unique Identifier
|
|
1861
|
+
*
|
|
1862
|
+
* @returns RFC4122 v4 UUID.
|
|
1863
|
+
* @internal
|
|
1864
|
+
*/
|
|
1865
|
+
function generateUuid() {
|
|
1866
|
+
return uuid.v4();
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
// Copyright (c) Microsoft Corporation.
|
|
1870
|
+
class PipelineRequestImpl {
|
|
1871
|
+
constructor(options) {
|
|
1872
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1873
|
+
this.url = options.url;
|
|
1874
|
+
this.body = options.body;
|
|
1875
|
+
this.headers = (_a = options.headers) !== null && _a !== void 0 ? _a : createHttpHeaders();
|
|
1876
|
+
this.method = (_b = options.method) !== null && _b !== void 0 ? _b : "GET";
|
|
1877
|
+
this.timeout = (_c = options.timeout) !== null && _c !== void 0 ? _c : 0;
|
|
1878
|
+
this.formData = options.formData;
|
|
1879
|
+
this.disableKeepAlive = (_d = options.disableKeepAlive) !== null && _d !== void 0 ? _d : false;
|
|
1880
|
+
this.proxySettings = options.proxySettings;
|
|
1881
|
+
this.streamResponseStatusCodes = options.streamResponseStatusCodes;
|
|
1882
|
+
this.withCredentials = (_e = options.withCredentials) !== null && _e !== void 0 ? _e : false;
|
|
1883
|
+
this.abortSignal = options.abortSignal;
|
|
1884
|
+
this.tracingOptions = options.tracingOptions;
|
|
1885
|
+
this.onUploadProgress = options.onUploadProgress;
|
|
1886
|
+
this.onDownloadProgress = options.onDownloadProgress;
|
|
1887
|
+
this.requestId = options.requestId || generateUuid();
|
|
1888
|
+
this.allowInsecureConnection = (_f = options.allowInsecureConnection) !== null && _f !== void 0 ? _f : false;
|
|
1889
|
+
this.enableBrowserStreams = (_g = options.enableBrowserStreams) !== null && _g !== void 0 ? _g : false;
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
/**
|
|
1893
|
+
* Creates a new pipeline request with the given options.
|
|
1894
|
+
* This method is to allow for the easy setting of default values and not required.
|
|
1895
|
+
* @param options - The options to create the request with.
|
|
1896
|
+
*/
|
|
1897
|
+
function createPipelineRequest(options) {
|
|
1898
|
+
return new PipelineRequestImpl(options);
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
// Copyright (c) Microsoft Corporation.
|
|
1902
|
+
/**
|
|
1903
|
+
* The programmatic identifier of the exponentialRetryPolicy.
|
|
1904
|
+
*/
|
|
1905
|
+
const exponentialRetryPolicyName = "exponentialRetryPolicy";
|
|
1906
|
+
/**
|
|
1907
|
+
* A policy that attempts to retry requests while introducing an exponentially increasing delay.
|
|
1908
|
+
* @param options - Options that configure retry logic.
|
|
1909
|
+
*/
|
|
1910
|
+
function exponentialRetryPolicy(options = {}) {
|
|
1911
|
+
var _a;
|
|
1912
|
+
return retryPolicy([
|
|
1913
|
+
exponentialRetryStrategy(Object.assign(Object.assign({}, options), { ignoreSystemErrors: true })),
|
|
1914
|
+
], {
|
|
1915
|
+
maxRetries: (_a = options.maxRetries) !== null && _a !== void 0 ? _a : DEFAULT_RETRY_POLICY_COUNT,
|
|
1916
|
+
});
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
// Copyright (c) Microsoft Corporation.
|
|
1920
|
+
/**
|
|
1921
|
+
* Name of the {@link systemErrorRetryPolicy}
|
|
1922
|
+
*/
|
|
1923
|
+
const systemErrorRetryPolicyName = "systemErrorRetryPolicy";
|
|
1924
|
+
/**
|
|
1925
|
+
* A retry policy that specifically seeks to handle errors in the
|
|
1926
|
+
* underlying transport layer (e.g. DNS lookup failures) rather than
|
|
1927
|
+
* retryable error codes from the server itself.
|
|
1928
|
+
* @param options - Options that customize the policy.
|
|
1929
|
+
*/
|
|
1930
|
+
function systemErrorRetryPolicy(options = {}) {
|
|
1931
|
+
var _a;
|
|
1932
|
+
return {
|
|
1933
|
+
name: systemErrorRetryPolicyName,
|
|
1934
|
+
sendRequest: retryPolicy([
|
|
1935
|
+
exponentialRetryStrategy(Object.assign(Object.assign({}, options), { ignoreHttpStatusCodes: true })),
|
|
1936
|
+
], {
|
|
1937
|
+
maxRetries: (_a = options.maxRetries) !== null && _a !== void 0 ? _a : DEFAULT_RETRY_POLICY_COUNT,
|
|
1938
|
+
}).sendRequest,
|
|
1939
|
+
};
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
// Copyright (c) Microsoft Corporation.
|
|
1943
|
+
/**
|
|
1944
|
+
* Name of the {@link throttlingRetryPolicy}
|
|
1945
|
+
*/
|
|
1946
|
+
const throttlingRetryPolicyName = "throttlingRetryPolicy";
|
|
1947
|
+
/**
|
|
1948
|
+
* A policy that retries when the server sends a 429 response with a Retry-After header.
|
|
1949
|
+
*
|
|
1950
|
+
* To learn more, please refer to
|
|
1951
|
+
* https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-request-limits,
|
|
1952
|
+
* https://docs.microsoft.com/en-us/azure/azure-subscription-service-limits and
|
|
1953
|
+
* https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshooting-throttling-errors
|
|
1954
|
+
*
|
|
1955
|
+
* @param options - Options that configure retry logic.
|
|
1956
|
+
*/
|
|
1957
|
+
function throttlingRetryPolicy(options = {}) {
|
|
1958
|
+
var _a;
|
|
1959
|
+
return {
|
|
1960
|
+
name: throttlingRetryPolicyName,
|
|
1961
|
+
sendRequest: retryPolicy([throttlingRetryStrategy()], {
|
|
1962
|
+
maxRetries: (_a = options.maxRetries) !== null && _a !== void 0 ? _a : DEFAULT_RETRY_POLICY_COUNT,
|
|
1963
|
+
}).sendRequest,
|
|
1964
|
+
};
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
// Copyright (c) Microsoft Corporation.
|
|
1968
|
+
// Default options for the cycler if none are provided
|
|
1969
|
+
const DEFAULT_CYCLER_OPTIONS = {
|
|
1970
|
+
forcedRefreshWindowInMs: 1000,
|
|
1971
|
+
retryIntervalInMs: 3000,
|
|
1972
|
+
refreshWindowInMs: 1000 * 60 * 2, // Start refreshing 2m before expiry
|
|
1973
|
+
};
|
|
1974
|
+
/**
|
|
1975
|
+
* Converts an an unreliable access token getter (which may resolve with null)
|
|
1976
|
+
* into an AccessTokenGetter by retrying the unreliable getter in a regular
|
|
1977
|
+
* interval.
|
|
1978
|
+
*
|
|
1979
|
+
* @param getAccessToken - A function that produces a promise of an access token that may fail by returning null.
|
|
1980
|
+
* @param retryIntervalInMs - The time (in milliseconds) to wait between retry attempts.
|
|
1981
|
+
* @param refreshTimeout - The timestamp after which the refresh attempt will fail, throwing an exception.
|
|
1982
|
+
* @returns - A promise that, if it resolves, will resolve with an access token.
|
|
1983
|
+
*/
|
|
1984
|
+
async function beginRefresh(getAccessToken, retryIntervalInMs, refreshTimeout) {
|
|
1985
|
+
// This wrapper handles exceptions gracefully as long as we haven't exceeded
|
|
1986
|
+
// the timeout.
|
|
1987
|
+
async function tryGetAccessToken() {
|
|
1988
|
+
if (Date.now() < refreshTimeout) {
|
|
1989
|
+
try {
|
|
1990
|
+
return await getAccessToken();
|
|
1991
|
+
}
|
|
1992
|
+
catch (_a) {
|
|
1993
|
+
return null;
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
else {
|
|
1997
|
+
const finalToken = await getAccessToken();
|
|
1998
|
+
// Timeout is up, so throw if it's still null
|
|
1999
|
+
if (finalToken === null) {
|
|
2000
|
+
throw new Error("Failed to refresh access token.");
|
|
2001
|
+
}
|
|
2002
|
+
return finalToken;
|
|
2003
|
+
}
|
|
2004
|
+
}
|
|
2005
|
+
let token = await tryGetAccessToken();
|
|
2006
|
+
while (token === null) {
|
|
2007
|
+
await delay(retryIntervalInMs);
|
|
2008
|
+
token = await tryGetAccessToken();
|
|
2009
|
+
}
|
|
2010
|
+
return token;
|
|
2011
|
+
}
|
|
2012
|
+
/**
|
|
2013
|
+
* Creates a token cycler from a credential, scopes, and optional settings.
|
|
2014
|
+
*
|
|
2015
|
+
* A token cycler represents a way to reliably retrieve a valid access token
|
|
2016
|
+
* from a TokenCredential. It will handle initializing the token, refreshing it
|
|
2017
|
+
* when it nears expiration, and synchronizes refresh attempts to avoid
|
|
2018
|
+
* concurrency hazards.
|
|
2019
|
+
*
|
|
2020
|
+
* @param credential - the underlying TokenCredential that provides the access
|
|
2021
|
+
* token
|
|
2022
|
+
* @param tokenCyclerOptions - optionally override default settings for the cycler
|
|
2023
|
+
*
|
|
2024
|
+
* @returns - a function that reliably produces a valid access token
|
|
2025
|
+
*/
|
|
2026
|
+
function createTokenCycler(credential, tokenCyclerOptions) {
|
|
2027
|
+
let refreshWorker = null;
|
|
2028
|
+
let token = null;
|
|
2029
|
+
let tenantId;
|
|
2030
|
+
const options = Object.assign(Object.assign({}, DEFAULT_CYCLER_OPTIONS), tokenCyclerOptions);
|
|
2031
|
+
/**
|
|
2032
|
+
* This little holder defines several predicates that we use to construct
|
|
2033
|
+
* the rules of refreshing the token.
|
|
2034
|
+
*/
|
|
2035
|
+
const cycler = {
|
|
2036
|
+
/**
|
|
2037
|
+
* Produces true if a refresh job is currently in progress.
|
|
2038
|
+
*/
|
|
2039
|
+
get isRefreshing() {
|
|
2040
|
+
return refreshWorker !== null;
|
|
2041
|
+
},
|
|
2042
|
+
/**
|
|
2043
|
+
* Produces true if the cycler SHOULD refresh (we are within the refresh
|
|
2044
|
+
* window and not already refreshing)
|
|
2045
|
+
*/
|
|
2046
|
+
get shouldRefresh() {
|
|
2047
|
+
var _a;
|
|
2048
|
+
return (!cycler.isRefreshing &&
|
|
2049
|
+
((_a = token === null || token === void 0 ? void 0 : token.expiresOnTimestamp) !== null && _a !== void 0 ? _a : 0) - options.refreshWindowInMs < Date.now());
|
|
2050
|
+
},
|
|
2051
|
+
/**
|
|
2052
|
+
* Produces true if the cycler MUST refresh (null or nearly-expired
|
|
2053
|
+
* token).
|
|
2054
|
+
*/
|
|
2055
|
+
get mustRefresh() {
|
|
2056
|
+
return (token === null || token.expiresOnTimestamp - options.forcedRefreshWindowInMs < Date.now());
|
|
2057
|
+
},
|
|
2058
|
+
};
|
|
2059
|
+
/**
|
|
2060
|
+
* Starts a refresh job or returns the existing job if one is already
|
|
2061
|
+
* running.
|
|
2062
|
+
*/
|
|
2063
|
+
function refresh(scopes, getTokenOptions) {
|
|
2064
|
+
var _a;
|
|
2065
|
+
if (!cycler.isRefreshing) {
|
|
2066
|
+
// We bind `scopes` here to avoid passing it around a lot
|
|
2067
|
+
const tryGetAccessToken = () => credential.getToken(scopes, getTokenOptions);
|
|
2068
|
+
// Take advantage of promise chaining to insert an assignment to `token`
|
|
2069
|
+
// before the refresh can be considered done.
|
|
2070
|
+
refreshWorker = beginRefresh(tryGetAccessToken, options.retryIntervalInMs,
|
|
2071
|
+
// If we don't have a token, then we should timeout immediately
|
|
2072
|
+
(_a = token === null || token === void 0 ? void 0 : token.expiresOnTimestamp) !== null && _a !== void 0 ? _a : Date.now())
|
|
2073
|
+
.then((_token) => {
|
|
2074
|
+
refreshWorker = null;
|
|
2075
|
+
token = _token;
|
|
2076
|
+
tenantId = getTokenOptions.tenantId;
|
|
2077
|
+
return token;
|
|
2078
|
+
})
|
|
2079
|
+
.catch((reason) => {
|
|
2080
|
+
// We also should reset the refresher if we enter a failed state. All
|
|
2081
|
+
// existing awaiters will throw, but subsequent requests will start a
|
|
2082
|
+
// new retry chain.
|
|
2083
|
+
refreshWorker = null;
|
|
2084
|
+
token = null;
|
|
2085
|
+
tenantId = undefined;
|
|
2086
|
+
throw reason;
|
|
2087
|
+
});
|
|
2088
|
+
}
|
|
2089
|
+
return refreshWorker;
|
|
2090
|
+
}
|
|
2091
|
+
return async (scopes, tokenOptions) => {
|
|
2092
|
+
//
|
|
2093
|
+
// Simple rules:
|
|
2094
|
+
// - If we MUST refresh, then return the refresh task, blocking
|
|
2095
|
+
// the pipeline until a token is available.
|
|
2096
|
+
// - If we SHOULD refresh, then run refresh but don't return it
|
|
2097
|
+
// (we can still use the cached token).
|
|
2098
|
+
// - Return the token, since it's fine if we didn't return in
|
|
2099
|
+
// step 1.
|
|
2100
|
+
//
|
|
2101
|
+
// If the tenantId passed in token options is different to the one we have
|
|
2102
|
+
// Or if we are in claim challenge and the token was rejected and a new access token need to be issued, we need to
|
|
2103
|
+
// refresh the token with the new tenantId or token.
|
|
2104
|
+
const mustRefresh = tenantId !== tokenOptions.tenantId || Boolean(tokenOptions.claims) || cycler.mustRefresh;
|
|
2105
|
+
if (mustRefresh)
|
|
2106
|
+
return refresh(scopes, tokenOptions);
|
|
2107
|
+
if (cycler.shouldRefresh) {
|
|
2108
|
+
refresh(scopes, tokenOptions);
|
|
2109
|
+
}
|
|
2110
|
+
return token;
|
|
2111
|
+
};
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
// Copyright (c) Microsoft Corporation.
|
|
2115
|
+
/**
|
|
2116
|
+
* The programmatic identifier of the bearerTokenAuthenticationPolicy.
|
|
2117
|
+
*/
|
|
2118
|
+
const bearerTokenAuthenticationPolicyName = "bearerTokenAuthenticationPolicy";
|
|
2119
|
+
/**
|
|
2120
|
+
* Default authorize request handler
|
|
2121
|
+
*/
|
|
2122
|
+
async function defaultAuthorizeRequest(options) {
|
|
2123
|
+
const { scopes, getAccessToken, request } = options;
|
|
2124
|
+
const getTokenOptions = {
|
|
2125
|
+
abortSignal: request.abortSignal,
|
|
2126
|
+
tracingOptions: request.tracingOptions,
|
|
2127
|
+
};
|
|
2128
|
+
const accessToken = await getAccessToken(scopes, getTokenOptions);
|
|
2129
|
+
if (accessToken) {
|
|
2130
|
+
options.request.headers.set("Authorization", `Bearer ${accessToken.token}`);
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
/**
|
|
2134
|
+
* We will retrieve the challenge only if the response status code was 401,
|
|
2135
|
+
* and if the response contained the header "WWW-Authenticate" with a non-empty value.
|
|
2136
|
+
*/
|
|
2137
|
+
function getChallenge(response) {
|
|
2138
|
+
const challenge = response.headers.get("WWW-Authenticate");
|
|
2139
|
+
if (response.status === 401 && challenge) {
|
|
2140
|
+
return challenge;
|
|
2141
|
+
}
|
|
2142
|
+
return;
|
|
2143
|
+
}
|
|
2144
|
+
/**
|
|
2145
|
+
* A policy that can request a token from a TokenCredential implementation and
|
|
2146
|
+
* then apply it to the Authorization header of a request as a Bearer token.
|
|
2147
|
+
*/
|
|
2148
|
+
function bearerTokenAuthenticationPolicy(options) {
|
|
2149
|
+
var _a;
|
|
2150
|
+
const { credential, scopes, challengeCallbacks } = options;
|
|
2151
|
+
const logger$1 = options.logger || logger;
|
|
2152
|
+
const callbacks = Object.assign({ authorizeRequest: (_a = challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequest) !== null && _a !== void 0 ? _a : defaultAuthorizeRequest, authorizeRequestOnChallenge: challengeCallbacks === null || challengeCallbacks === void 0 ? void 0 : challengeCallbacks.authorizeRequestOnChallenge }, challengeCallbacks);
|
|
2153
|
+
// This function encapsulates the entire process of reliably retrieving the token
|
|
2154
|
+
// The options are left out of the public API until there's demand to configure this.
|
|
2155
|
+
// Remember to extend `BearerTokenAuthenticationPolicyOptions` with `TokenCyclerOptions`
|
|
2156
|
+
// in order to pass through the `options` object.
|
|
2157
|
+
const getAccessToken = credential
|
|
2158
|
+
? createTokenCycler(credential /* , options */)
|
|
2159
|
+
: () => Promise.resolve(null);
|
|
2160
|
+
return {
|
|
2161
|
+
name: bearerTokenAuthenticationPolicyName,
|
|
2162
|
+
/**
|
|
2163
|
+
* If there's no challenge parameter:
|
|
2164
|
+
* - It will try to retrieve the token using the cache, or the credential's getToken.
|
|
2165
|
+
* - Then it will try the next policy with or without the retrieved token.
|
|
2166
|
+
*
|
|
2167
|
+
* It uses the challenge parameters to:
|
|
2168
|
+
* - Skip a first attempt to get the token from the credential if there's no cached token,
|
|
2169
|
+
* since it expects the token to be retrievable only after the challenge.
|
|
2170
|
+
* - Prepare the outgoing request if the `prepareRequest` method has been provided.
|
|
2171
|
+
* - Send an initial request to receive the challenge if it fails.
|
|
2172
|
+
* - Process a challenge if the response contains it.
|
|
2173
|
+
* - Retrieve a token with the challenge information, then re-send the request.
|
|
2174
|
+
*/
|
|
2175
|
+
async sendRequest(request, next) {
|
|
2176
|
+
if (!request.url.toLowerCase().startsWith("https://")) {
|
|
2177
|
+
throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");
|
|
2178
|
+
}
|
|
2179
|
+
await callbacks.authorizeRequest({
|
|
2180
|
+
scopes: Array.isArray(scopes) ? scopes : [scopes],
|
|
2181
|
+
request,
|
|
2182
|
+
getAccessToken,
|
|
2183
|
+
logger: logger$1,
|
|
2184
|
+
});
|
|
2185
|
+
let response;
|
|
2186
|
+
let error;
|
|
2187
|
+
try {
|
|
2188
|
+
response = await next(request);
|
|
2189
|
+
}
|
|
2190
|
+
catch (err) {
|
|
2191
|
+
error = err;
|
|
2192
|
+
response = err.response;
|
|
2193
|
+
}
|
|
2194
|
+
if (callbacks.authorizeRequestOnChallenge &&
|
|
2195
|
+
(response === null || response === void 0 ? void 0 : response.status) === 401 &&
|
|
2196
|
+
getChallenge(response)) {
|
|
2197
|
+
// processes challenge
|
|
2198
|
+
const shouldSendRequest = await callbacks.authorizeRequestOnChallenge({
|
|
2199
|
+
scopes: Array.isArray(scopes) ? scopes : [scopes],
|
|
2200
|
+
request,
|
|
2201
|
+
response,
|
|
2202
|
+
getAccessToken,
|
|
2203
|
+
logger: logger$1,
|
|
2204
|
+
});
|
|
2205
|
+
if (shouldSendRequest) {
|
|
2206
|
+
return next(request);
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
if (error) {
|
|
2210
|
+
throw error;
|
|
2211
|
+
}
|
|
2212
|
+
else {
|
|
2213
|
+
return response;
|
|
2214
|
+
}
|
|
2215
|
+
},
|
|
2216
|
+
};
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2219
|
+
// Copyright (c) Microsoft Corporation.
|
|
2220
|
+
// Licensed under the MIT license.
|
|
2221
|
+
/**
|
|
2222
|
+
* The programmatic identifier of the ndJsonPolicy.
|
|
2223
|
+
*/
|
|
2224
|
+
const ndJsonPolicyName = "ndJsonPolicy";
|
|
2225
|
+
/**
|
|
2226
|
+
* ndJsonPolicy is a policy used to control keep alive settings for every request.
|
|
2227
|
+
*/
|
|
2228
|
+
function ndJsonPolicy() {
|
|
2229
|
+
return {
|
|
2230
|
+
name: ndJsonPolicyName,
|
|
2231
|
+
async sendRequest(request, next) {
|
|
2232
|
+
// There currently isn't a good way to bypass the serializer
|
|
2233
|
+
if (typeof request.body === "string" && request.body.startsWith("[")) {
|
|
2234
|
+
const body = JSON.parse(request.body);
|
|
2235
|
+
if (Array.isArray(body)) {
|
|
2236
|
+
request.body = body.map((item) => JSON.stringify(item) + "\n").join("");
|
|
2237
|
+
}
|
|
2238
|
+
}
|
|
2239
|
+
return next(request);
|
|
2240
|
+
},
|
|
2241
|
+
};
|
|
2242
|
+
}
|
|
2243
|
+
|
|
2244
|
+
exports.RestError = RestError;
|
|
2245
|
+
exports.bearerTokenAuthenticationPolicy = bearerTokenAuthenticationPolicy;
|
|
2246
|
+
exports.bearerTokenAuthenticationPolicyName = bearerTokenAuthenticationPolicyName;
|
|
2247
|
+
exports.createDefaultHttpClient = createDefaultHttpClient;
|
|
2248
|
+
exports.createEmptyPipeline = createEmptyPipeline;
|
|
2249
|
+
exports.createHttpHeaders = createHttpHeaders;
|
|
2250
|
+
exports.createPipelineFromOptions = createPipelineFromOptions;
|
|
2251
|
+
exports.createPipelineRequest = createPipelineRequest;
|
|
2252
|
+
exports.decompressResponsePolicy = decompressResponsePolicy;
|
|
2253
|
+
exports.decompressResponsePolicyName = decompressResponsePolicyName;
|
|
2254
|
+
exports.defaultRetryPolicy = defaultRetryPolicy;
|
|
2255
|
+
exports.exponentialRetryPolicy = exponentialRetryPolicy;
|
|
2256
|
+
exports.exponentialRetryPolicyName = exponentialRetryPolicyName;
|
|
2257
|
+
exports.formDataPolicy = formDataPolicy;
|
|
2258
|
+
exports.formDataPolicyName = formDataPolicyName;
|
|
2259
|
+
exports.getDefaultProxySettings = getDefaultProxySettings;
|
|
2260
|
+
exports.isRestError = isRestError;
|
|
2261
|
+
exports.logPolicy = logPolicy;
|
|
2262
|
+
exports.logPolicyName = logPolicyName;
|
|
2263
|
+
exports.ndJsonPolicy = ndJsonPolicy;
|
|
2264
|
+
exports.ndJsonPolicyName = ndJsonPolicyName;
|
|
2265
|
+
exports.proxyPolicy = proxyPolicy;
|
|
2266
|
+
exports.proxyPolicyName = proxyPolicyName;
|
|
2267
|
+
exports.redirectPolicy = redirectPolicy;
|
|
2268
|
+
exports.redirectPolicyName = redirectPolicyName;
|
|
2269
|
+
exports.retryPolicy = retryPolicy;
|
|
2270
|
+
exports.setClientRequestIdPolicy = setClientRequestIdPolicy;
|
|
2271
|
+
exports.setClientRequestIdPolicyName = setClientRequestIdPolicyName;
|
|
2272
|
+
exports.systemErrorRetryPolicy = systemErrorRetryPolicy;
|
|
2273
|
+
exports.systemErrorRetryPolicyName = systemErrorRetryPolicyName;
|
|
2274
|
+
exports.throttlingRetryPolicy = throttlingRetryPolicy;
|
|
2275
|
+
exports.throttlingRetryPolicyName = throttlingRetryPolicyName;
|
|
2276
|
+
exports.tlsPolicy = tlsPolicy;
|
|
2277
|
+
exports.tlsPolicyName = tlsPolicyName;
|
|
2278
|
+
exports.tracingPolicy = tracingPolicy;
|
|
2279
|
+
exports.tracingPolicyName = tracingPolicyName;
|
|
2280
|
+
exports.userAgentPolicy = userAgentPolicy;
|
|
2281
|
+
exports.userAgentPolicyName = userAgentPolicyName;
|
|
2282
|
+
//# sourceMappingURL=index.js.map
|