tntd 1.4.31 → 1.4.32

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.
Files changed (864) hide show
  1. package/components/QueryForm/Field/SelectInput.js +3 -1
  2. package/components/QueryForm/README.md +4 -1
  3. package/dist/stats.json +5093 -5093
  4. package/dist/tntd.js +1 -1
  5. package/es/QueryForm/Field/SelectInput.js +5 -3
  6. package/es/QueryForm/README.md +4 -1
  7. package/lib/QueryForm/Field/SelectInput.js +5 -3
  8. package/lib/QueryForm/README.md +4 -1
  9. package/package.json +1 -1
  10. package/common/temp/publish-home/.npm/_logs/2023-02-24T09_28_35_585Z-debug-0.log +0 -39
  11. package/common/temp/publish-home/.npm/_logs/2023-02-24T09_29_14_285Z-debug-0.log +0 -1426
  12. package/common/temp/publish-home/.npm/_logs/2023-03-07T06_11_25_569Z-debug-0.log +0 -39
  13. package/common/temp/publish-home/.npm/_logs/2023-03-07T06_11_28_924Z-debug-0.log +0 -1426
  14. package/common/temp/publish-home/.npm/_logs/2023-03-08T11_15_34_815Z-debug-0.log +0 -34
  15. package/common/temp/publish-home/.npm/_logs/2023-03-08T11_18_04_372Z-debug-0.log +0 -34
  16. package/common/temp/publish-home/.npm/_logs/2023-03-08T11_22_54_526Z-debug-0.log +0 -34
  17. package/common/temp/rush-recycler/install-run-1678274025679/@azure/abort-controller/dist/index.js +0 -239
  18. package/common/temp/rush-recycler/install-run-1678274025679/@azure/abort-controller/dist/index.js.map +0 -1
  19. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-auth/dist/index.js +0 -215
  20. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-auth/dist/index.js.map +0 -1
  21. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-client/dist/index.js +0 -2171
  22. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-client/dist/index.js.map +0 -1
  23. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-http/dist/index.js +0 -5500
  24. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-http/dist/index.js.map +0 -1
  25. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-lro/dist/index.js +0 -1171
  26. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-lro/dist/index.js.map +0 -1
  27. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-paging/dist/index.js +0 -104
  28. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-paging/dist/index.js.map +0 -1
  29. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-rest-pipeline/dist/index.js +0 -2282
  30. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-rest-pipeline/dist/index.js.map +0 -1
  31. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-tracing/dist/index.js +0 -184
  32. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-tracing/dist/index.js.map +0 -1
  33. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-util/dist/index.js +0 -217
  34. package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-util/dist/index.js.map +0 -1
  35. package/common/temp/rush-recycler/install-run-1678274025679/@azure/identity/dist/index.js +0 -3727
  36. package/common/temp/rush-recycler/install-run-1678274025679/@azure/identity/dist/index.js.map +0 -1
  37. package/common/temp/rush-recycler/install-run-1678274025679/@azure/logger/dist/index.js +0 -208
  38. package/common/temp/rush-recycler/install-run-1678274025679/@azure/logger/dist/index.js.map +0 -1
  39. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/_virtual/_tslib.js +0 -117
  40. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/_virtual/_tslib.js.map +0 -1
  41. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.d.ts +0 -333
  42. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.d.ts.map +0 -1
  43. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.js +0 -1039
  44. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.js.map +0 -1
  45. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.d.ts +0 -46
  46. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.d.ts.map +0 -1
  47. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.js +0 -103
  48. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.js.map +0 -1
  49. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.d.ts +0 -71
  50. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.d.ts.map +0 -1
  51. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.js +0 -278
  52. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.js.map +0 -1
  53. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.d.ts +0 -60
  54. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.d.ts.map +0 -1
  55. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.js +0 -261
  56. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.js.map +0 -1
  57. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeRequest.d.ts +0 -44
  58. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeRequest.d.ts.map +0 -1
  59. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeResponse.d.ts +0 -49
  60. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeResponse.d.ts.map +0 -1
  61. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.d.ts +0 -52
  62. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.d.ts.map +0 -1
  63. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.js +0 -210
  64. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.js.map +0 -1
  65. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.d.ts +0 -319
  66. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.d.ts.map +0 -1
  67. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.js +0 -975
  68. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.js.map +0 -1
  69. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.d.ts +0 -12
  70. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.d.ts.map +0 -1
  71. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.js +0 -43
  72. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.js.map +0 -1
  73. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.d.ts +0 -18
  74. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.d.ts.map +0 -1
  75. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.js +0 -58
  76. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.js.map +0 -1
  77. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.d.ts +0 -57
  78. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.d.ts.map +0 -1
  79. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.js +0 -262
  80. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.js.map +0 -1
  81. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IAsyncMemoryStorage.d.ts +0 -28
  82. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IAsyncMemoryStorage.d.ts.map +0 -1
  83. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/ITokenCache.d.ts +0 -11
  84. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/ITokenCache.d.ts.map +0 -1
  85. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IWindowStorage.d.ts +0 -28
  86. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IWindowStorage.d.ts.map +0 -1
  87. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.d.ts +0 -12
  88. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.d.ts.map +0 -1
  89. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.js +0 -37
  90. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.js.map +0 -1
  91. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.d.ts +0 -77
  92. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.d.ts.map +0 -1
  93. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.js +0 -227
  94. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.js.map +0 -1
  95. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.d.ts +0 -196
  96. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.d.ts.map +0 -1
  97. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.js +0 -86
  98. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.js.map +0 -1
  99. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.d.ts +0 -62
  100. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.d.ts.map +0 -1
  101. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.js +0 -167
  102. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.js.map +0 -1
  103. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.d.ts +0 -74
  104. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.d.ts.map +0 -1
  105. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.js +0 -223
  106. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.js.map +0 -1
  107. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.d.ts +0 -13
  108. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.d.ts.map +0 -1
  109. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.js +0 -93
  110. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.js.map +0 -1
  111. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ISubtleCrypto.d.ts +0 -10
  112. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ISubtleCrypto.d.ts.map +0 -1
  113. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.d.ts +0 -10
  114. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.d.ts.map +0 -1
  115. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.js +0 -55
  116. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.js.map +0 -1
  117. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.d.ts +0 -10
  118. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.d.ts.map +0 -1
  119. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.js +0 -112
  120. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.js.map +0 -1
  121. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.d.ts +0 -18
  122. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.d.ts.map +0 -1
  123. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.js +0 -59
  124. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.js.map +0 -1
  125. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.d.ts +0 -25
  126. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.d.ts.map +0 -1
  127. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.js +0 -87
  128. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.js.map +0 -1
  129. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.d.ts +0 -31
  130. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.d.ts.map +0 -1
  131. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.js +0 -70
  132. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.js.map +0 -1
  133. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.d.ts +0 -23
  134. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.d.ts.map +0 -1
  135. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.js +0 -82
  136. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.js.map +0 -1
  137. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.d.ts +0 -32
  138. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.d.ts.map +0 -1
  139. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.js +0 -88
  140. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.js.map +0 -1
  141. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.d.ts +0 -375
  142. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.d.ts.map +0 -1
  143. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.js +0 -482
  144. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.js.map +0 -1
  145. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.d.ts +0 -71
  146. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.d.ts.map +0 -1
  147. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.js +0 -107
  148. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.js.map +0 -1
  149. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.d.ts +0 -57
  150. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.d.ts.map +0 -1
  151. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.js +0 -97
  152. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.js.map +0 -1
  153. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.d.ts +0 -42
  154. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.d.ts.map +0 -1
  155. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.js +0 -127
  156. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.js.map +0 -1
  157. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.d.ts +0 -26
  158. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.d.ts.map +0 -1
  159. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.js +0 -71
  160. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.js.map +0 -1
  161. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.d.ts +0 -27
  162. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.d.ts.map +0 -1
  163. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.js +0 -36
  164. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.js.map +0 -1
  165. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.cjs.js +0 -17467
  166. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.cjs.js.map +0 -1
  167. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.d.ts +0 -36
  168. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.d.ts.map +0 -1
  169. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.js +0 -18
  170. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.js.map +0 -1
  171. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.d.ts +0 -53
  172. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.d.ts.map +0 -1
  173. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.js +0 -179
  174. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.js.map +0 -1
  175. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +0 -5
  176. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +0 -1
  177. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +0 -21
  178. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.js.map +0 -1
  179. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.d.ts +0 -86
  180. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.d.ts.map +0 -1
  181. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.js +0 -480
  182. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.js.map +0 -1
  183. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.d.ts +0 -112
  184. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.d.ts.map +0 -1
  185. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.js +0 -513
  186. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.js.map +0 -1
  187. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.d.ts +0 -49
  188. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.d.ts.map +0 -1
  189. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.js +0 -353
  190. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.js.map +0 -1
  191. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.d.ts +0 -23
  192. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.d.ts.map +0 -1
  193. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.js +0 -87
  194. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.js.map +0 -1
  195. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.d.ts +0 -22
  196. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.d.ts.map +0 -1
  197. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.js +0 -108
  198. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.js.map +0 -1
  199. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.d.ts +0 -32
  200. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.d.ts.map +0 -1
  201. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.js +0 -158
  202. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.js.map +0 -1
  203. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.d.ts +0 -20
  204. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.d.ts.map +0 -1
  205. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.js +0 -100
  206. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.js.map +0 -1
  207. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.d.ts +0 -60
  208. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.d.ts.map +0 -1
  209. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.js +0 -308
  210. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.js.map +0 -1
  211. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.d.ts +0 -40
  212. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.d.ts.map +0 -1
  213. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.js +0 -162
  214. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.js.map +0 -1
  215. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.d.ts +0 -25
  216. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.d.ts.map +0 -1
  217. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.js +0 -145
  218. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.js.map +0 -1
  219. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.d.ts +0 -48
  220. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.d.ts.map +0 -1
  221. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.js +0 -161
  222. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.js.map +0 -1
  223. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.d.ts +0 -21
  224. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.d.ts.map +0 -1
  225. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.js +0 -23
  226. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.js.map +0 -1
  227. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/INavigationClient.d.ts +0 -17
  228. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/INavigationClient.d.ts.map +0 -1
  229. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.d.ts +0 -23
  230. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.d.ts.map +0 -1
  231. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.js +0 -48
  232. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.js.map +0 -1
  233. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationOptions.d.ts +0 -13
  234. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationOptions.d.ts.map +0 -1
  235. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.d.ts +0 -27
  236. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.d.ts.map +0 -1
  237. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.js +0 -138
  238. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.js.map +0 -1
  239. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.d.ts +0 -41
  240. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.d.ts.map +0 -1
  241. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.js +0 -138
  242. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.js.map +0 -1
  243. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.d.ts +0 -3
  244. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.d.ts.map +0 -1
  245. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.js +0 -8
  246. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.js.map +0 -1
  247. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationCodeRequest.d.ts +0 -9
  248. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationCodeRequest.d.ts.map +0 -1
  249. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationUrlRequest.d.ts +0 -9
  250. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationUrlRequest.d.ts.map +0 -1
  251. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionPopupRequest.d.ts +0 -19
  252. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionPopupRequest.d.ts.map +0 -1
  253. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionRequest.d.ts +0 -16
  254. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionRequest.d.ts.map +0 -1
  255. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupRequest.d.ts +0 -33
  256. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupRequest.d.ts.map +0 -1
  257. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupWindowAttributes.d.ts +0 -16
  258. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupWindowAttributes.d.ts.map +0 -1
  259. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/RedirectRequest.d.ts +0 -34
  260. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/RedirectRequest.d.ts.map +0 -1
  261. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SilentRequest.d.ts +0 -31
  262. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SilentRequest.d.ts.map +0 -1
  263. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SsoSilentRequest.d.ts +0 -27
  264. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SsoSilentRequest.d.ts.map +0 -1
  265. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.d.ts +0 -37
  266. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.d.ts.map +0 -1
  267. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.js +0 -108
  268. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.js.map +0 -1
  269. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.d.ts +0 -13
  270. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.d.ts.map +0 -1
  271. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.js +0 -66
  272. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.js.map +0 -1
  273. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.d.ts +0 -163
  274. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.d.ts.map +0 -1
  275. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.js +0 -216
  276. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.js.map +0 -1
  277. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.d.ts +0 -19
  278. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.d.ts.map +0 -1
  279. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.js +0 -44
  280. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.js.map +0 -1
  281. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.d.ts +0 -27
  282. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.d.ts.map +0 -1
  283. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.js +0 -122
  284. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.js.map +0 -1
  285. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.d.ts +0 -66
  286. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.d.ts.map +0 -1
  287. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.js +0 -147
  288. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.js.map +0 -1
  289. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.d.ts +0 -12
  290. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.d.ts.map +0 -1
  291. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.js +0 -29
  292. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.js.map +0 -1
  293. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/_virtual/_tslib.js +0 -90
  294. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/_virtual/_tslib.js.map +0 -1
  295. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AccountInfo.d.ts +0 -32
  296. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AccountInfo.d.ts.map +0 -1
  297. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.d.ts +0 -21
  298. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.d.ts.map +0 -1
  299. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.js +0 -57
  300. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.js.map +0 -1
  301. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.d.ts +0 -9
  302. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.d.ts.map +0 -1
  303. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.js +0 -14
  304. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.js.map +0 -1
  305. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientCredentials.d.ts +0 -15
  306. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientCredentials.d.ts.map +0 -1
  307. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.d.ts +0 -20
  308. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.d.ts.map +0 -1
  309. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.js +0 -44
  310. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.js.map +0 -1
  311. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/DecodedAuthToken.d.ts +0 -9
  312. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/DecodedAuthToken.d.ts.map +0 -1
  313. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/TokenClaims.d.ts +0 -61
  314. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/TokenClaims.d.ts.map +0 -1
  315. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.d.ts +0 -202
  316. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.d.ts.map +0 -1
  317. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.js +0 -688
  318. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.js.map +0 -1
  319. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.d.ts +0 -29
  320. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.d.ts.map +0 -1
  321. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.js +0 -69
  322. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.js.map +0 -1
  323. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts +0 -623
  324. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts.map +0 -1
  325. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.js +0 -12
  326. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.js.map +0 -1
  327. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.d.ts +0 -19
  328. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.d.ts.map +0 -1
  329. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.js +0 -24
  330. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.js.map +0 -1
  331. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.d.ts +0 -9
  332. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.d.ts.map +0 -1
  333. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.js +0 -18
  334. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.js.map +0 -1
  335. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegion.d.ts +0 -2
  336. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegion.d.ts.map +0 -1
  337. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts +0 -6
  338. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts.map +0 -1
  339. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts +0 -6
  340. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts.map +0 -1
  341. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts +0 -10
  342. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -1
  343. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js +0 -13
  344. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js.map +0 -1
  345. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ImdsOptions.d.ts +0 -7
  346. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ImdsOptions.d.ts.map +0 -1
  347. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts +0 -12
  348. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts.map +0 -1
  349. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.js +0 -15
  350. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.js.map +0 -1
  351. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.d.ts +0 -8
  352. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.d.ts.map +0 -1
  353. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.js +0 -17
  354. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.js.map +0 -1
  355. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.d.ts +0 -28
  356. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.d.ts.map +0 -1
  357. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.js +0 -127
  358. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.js.map +0 -1
  359. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts +0 -7
  360. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts.map +0 -1
  361. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.d.ts +0 -393
  362. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.d.ts.map +0 -1
  363. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.js +0 -890
  364. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.js.map +0 -1
  365. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts +0 -57
  366. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts.map +0 -1
  367. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js +0 -124
  368. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js.map +0 -1
  369. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts +0 -100
  370. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts.map +0 -1
  371. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.js +0 -247
  372. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.js.map +0 -1
  373. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts +0 -40
  374. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts.map +0 -1
  375. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js +0 -74
  376. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js.map +0 -1
  377. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts +0 -48
  378. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -1
  379. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js +0 -82
  380. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js.map +0 -1
  381. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts +0 -14
  382. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts.map +0 -1
  383. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.js +0 -19
  384. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.js.map +0 -1
  385. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts +0 -94
  386. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts.map +0 -1
  387. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.js +0 -164
  388. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.js.map +0 -1
  389. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts +0 -35
  390. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts.map +0 -1
  391. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.js +0 -70
  392. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.js.map +0 -1
  393. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts +0 -37
  394. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts.map +0 -1
  395. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js +0 -73
  396. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js.map +0 -1
  397. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts +0 -13
  398. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts.map +0 -1
  399. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js +0 -35
  400. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js.map +0 -1
  401. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts +0 -14
  402. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts.map +0 -1
  403. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js +0 -32
  404. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js.map +0 -1
  405. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts +0 -157
  406. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts.map +0 -1
  407. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts +0 -6
  408. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts.map +0 -1
  409. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts +0 -5
  410. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts.map +0 -1
  411. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts +0 -24
  412. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts.map +0 -1
  413. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js +0 -39
  414. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js.map +0 -1
  415. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts +0 -60
  416. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts.map +0 -1
  417. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts +0 -76
  418. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts.map +0 -1
  419. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.js +0 -470
  420. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.js.map +0 -1
  421. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.d.ts +0 -45
  422. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.d.ts.map +0 -1
  423. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.js +0 -103
  424. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.js.map +0 -1
  425. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.d.ts +0 -39
  426. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.d.ts.map +0 -1
  427. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.js +0 -202
  428. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.js.map +0 -1
  429. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.d.ts +0 -52
  430. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.d.ts.map +0 -1
  431. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.js +0 -232
  432. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.js.map +0 -1
  433. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.d.ts +0 -51
  434. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.d.ts.map +0 -1
  435. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.js +0 -244
  436. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.js.map +0 -1
  437. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.d.ts +0 -40
  438. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.d.ts.map +0 -1
  439. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.js +0 -284
  440. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.js.map +0 -1
  441. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.d.ts +0 -25
  442. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.d.ts.map +0 -1
  443. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.js +0 -136
  444. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.js.map +0 -1
  445. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.d.ts +0 -29
  446. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.d.ts.map +0 -1
  447. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.js +0 -120
  448. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.js.map +0 -1
  449. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/AppTokenProvider.d.ts +0 -39
  450. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/AppTokenProvider.d.ts.map +0 -1
  451. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.d.ts +0 -135
  452. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.d.ts.map +0 -1
  453. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.js +0 -105
  454. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.js.map +0 -1
  455. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.d.ts +0 -63
  456. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.d.ts.map +0 -1
  457. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.js +0 -80
  458. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.js.map +0 -1
  459. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts +0 -5
  460. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts.map +0 -1
  461. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.d.ts +0 -22
  462. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.d.ts.map +0 -1
  463. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.js +0 -45
  464. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.js.map +0 -1
  465. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts +0 -56
  466. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts.map +0 -1
  467. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.js +0 -107
  468. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.js.map +0 -1
  469. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts +0 -12
  470. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts.map +0 -1
  471. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.d.ts +0 -48
  472. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.d.ts.map +0 -1
  473. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.js +0 -61
  474. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.js.map +0 -1
  475. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.d.ts +0 -389
  476. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.d.ts.map +0 -1
  477. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.js +0 -500
  478. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.js.map +0 -1
  479. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.d.ts +0 -199
  480. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.d.ts.map +0 -1
  481. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.js +0 -260
  482. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.js.map +0 -1
  483. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts +0 -42
  484. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts.map +0 -1
  485. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.js +0 -80
  486. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.js.map +0 -1
  487. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.d.ts +0 -29
  488. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.d.ts.map +0 -1
  489. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.js +0 -50
  490. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.js.map +0 -1
  491. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.d.ts +0 -8
  492. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.d.ts.map +0 -1
  493. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.js +0 -25
  494. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.js.map +0 -1
  495. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.cjs.js +0 -8611
  496. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.cjs.js.map +0 -1
  497. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.d.ts +0 -92
  498. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.d.ts.map +0 -1
  499. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.js +0 -55
  500. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.js.map +0 -1
  501. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.d.ts +0 -95
  502. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.d.ts.map +0 -1
  503. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.js +0 -185
  504. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.js.map +0 -1
  505. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.d.ts +0 -31
  506. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.d.ts.map +0 -1
  507. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.js +0 -21
  508. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.js.map +0 -1
  509. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.d.ts +0 -21
  510. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.d.ts.map +0 -1
  511. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.js +0 -56
  512. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.js.map +0 -1
  513. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/RequestThumbprint.d.ts +0 -17
  514. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/RequestThumbprint.d.ts.map +0 -1
  515. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.d.ts +0 -42
  516. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.d.ts.map +0 -1
  517. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.js +0 -101
  518. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.js.map +0 -1
  519. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.d.ts +0 -3
  520. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.d.ts.map +0 -1
  521. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.js +0 -8
  522. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.js.map +0 -1
  523. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts +0 -20
  524. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts.map +0 -1
  525. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.js +0 -64
  526. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.js.map +0 -1
  527. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/BaseAuthRequest.d.ts +0 -35
  528. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/BaseAuthRequest.d.ts.map +0 -1
  529. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts +0 -28
  530. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts.map +0 -1
  531. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts +0 -52
  532. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts.map +0 -1
  533. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts +0 -17
  534. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts.map +0 -1
  535. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts +0 -19
  536. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts.map +0 -1
  537. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts +0 -21
  538. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts.map +0 -1
  539. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts +0 -13
  540. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts.map +0 -1
  541. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts +0 -21
  542. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts.map +0 -1
  543. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts +0 -20
  544. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts.map +0 -1
  545. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts +0 -17
  546. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts.map +0 -1
  547. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts +0 -217
  548. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts.map +0 -1
  549. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.js +0 -387
  550. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.js.map +0 -1
  551. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.d.ts +0 -34
  552. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.d.ts.map +0 -1
  553. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.js +0 -92
  554. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.js.map +0 -1
  555. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.d.ts +0 -83
  556. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.d.ts.map +0 -1
  557. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.js +0 -192
  558. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.js.map +0 -1
  559. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthenticationResult.d.ts +0 -40
  560. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthenticationResult.d.ts.map +0 -1
  561. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts +0 -14
  562. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts.map +0 -1
  563. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts +0 -26
  564. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts.map +0 -1
  565. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts +0 -16
  566. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts.map +0 -1
  567. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/IMDSBadResponse.d.ts +0 -5
  568. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/IMDSBadResponse.d.ts.map +0 -1
  569. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.d.ts +0 -71
  570. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.d.ts.map +0 -1
  571. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.js +0 -302
  572. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.js.map +0 -1
  573. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts +0 -22
  574. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts.map +0 -1
  575. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts +0 -43
  576. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts.map +0 -1
  577. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts +0 -22
  578. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts.map +0 -1
  579. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts +0 -6
  580. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -1
  581. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts +0 -125
  582. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts.map +0 -1
  583. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js +0 -284
  584. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js.map +0 -1
  585. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts +0 -275
  586. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts.map +0 -1
  587. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js +0 -128
  588. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js.map +0 -1
  589. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts +0 -13
  590. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts.map +0 -1
  591. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js +0 -37
  592. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js.map +0 -1
  593. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts +0 -67
  594. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts.map +0 -1
  595. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js +0 -168
  596. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js.map +0 -1
  597. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts +0 -9
  598. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -1
  599. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/IUri.d.ts +0 -13
  600. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/IUri.d.ts.map +0 -1
  601. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.d.ts +0 -71
  602. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.d.ts.map +0 -1
  603. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.js +0 -241
  604. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.js.map +0 -1
  605. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.d.ts +0 -345
  606. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.d.ts.map +0 -1
  607. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.js +0 -386
  608. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.js.map +0 -1
  609. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/MsalTypes.d.ts +0 -7
  610. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/MsalTypes.d.ts.map +0 -1
  611. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.d.ts +0 -43
  612. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.d.ts.map +0 -1
  613. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.js +0 -77
  614. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.js.map +0 -1
  615. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.d.ts +0 -54
  616. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.d.ts.map +0 -1
  617. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.js +0 -129
  618. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.js.map +0 -1
  619. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.d.ts +0 -28
  620. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.d.ts.map +0 -1
  621. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.js +0 -53
  622. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.js.map +0 -1
  623. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/ITokenCache.d.ts +0 -16
  624. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/ITokenCache.d.ts.map +0 -1
  625. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/NodeStorage.d.ts +0 -181
  626. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/NodeStorage.d.ts.map +0 -1
  627. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/TokenCache.d.ts +0 -91
  628. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/TokenCache.d.ts.map +0 -1
  629. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/DistributedCachePlugin.d.ts +0 -11
  630. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/DistributedCachePlugin.d.ts.map +0 -1
  631. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/ICacheClient.d.ts +0 -18
  632. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/ICacheClient.d.ts.map +0 -1
  633. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/IPartitionManager.d.ts +0 -33
  634. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/IPartitionManager.d.ts.map +0 -1
  635. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Deserializer.d.ts +0 -43
  636. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Deserializer.d.ts.map +0 -1
  637. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Serializer.d.ts +0 -40
  638. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Serializer.d.ts.map +0 -1
  639. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/SerializerTypes.d.ts +0 -102
  640. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/SerializerTypes.d.ts.map +0 -1
  641. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientApplication.d.ts +0 -143
  642. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientApplication.d.ts.map +0 -1
  643. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientAssertion.d.ts +0 -47
  644. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientAssertion.d.ts.map +0 -1
  645. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ConfidentialClientApplication.d.ts +0 -59
  646. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ConfidentialClientApplication.d.ts.map +0 -1
  647. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IConfidentialClientApplication.d.ts +0 -40
  648. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IConfidentialClientApplication.d.ts.map +0 -1
  649. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IPublicClientApplication.d.ts +0 -38
  650. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IPublicClientApplication.d.ts.map +0 -1
  651. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/PublicClientApplication.d.ts +0 -46
  652. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/PublicClientApplication.d.ts.map +0 -1
  653. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/config/Configuration.d.ts +0 -91
  654. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/config/Configuration.d.ts.map +0 -1
  655. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/CryptoProvider.d.ts +0 -53
  656. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/CryptoProvider.d.ts.map +0 -1
  657. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/GuidGenerator.d.ts +0 -15
  658. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/GuidGenerator.d.ts.map +0 -1
  659. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/HashUtils.d.ts +0 -9
  660. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/HashUtils.d.ts.map +0 -1
  661. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/PkceGenerator.d.ts +0 -23
  662. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/PkceGenerator.d.ts.map +0 -1
  663. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/error/NodeAuthError.d.ts +0 -66
  664. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/error/NodeAuthError.d.ts.map +0 -1
  665. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/index.d.ts +0 -31
  666. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/index.d.ts.map +0 -1
  667. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/index.js +0 -8
  668. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.development.js +0 -2581
  669. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.development.js.map +0 -1
  670. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.production.min.js +0 -2
  671. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.production.min.js.map +0 -1
  672. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.esm.js +0 -2470
  673. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.esm.js.map +0 -1
  674. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/HttpClient.d.ts +0 -25
  675. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/HttpClient.d.ts.map +0 -1
  676. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/LoopbackClient.d.ts +0 -21
  677. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/LoopbackClient.d.ts.map +0 -1
  678. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/packageMetadata.d.ts +0 -3
  679. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/packageMetadata.d.ts.map +0 -1
  680. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationCodeRequest.d.ts +0 -22
  681. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationCodeRequest.d.ts.map +0 -1
  682. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationUrlRequest.d.ts +0 -34
  683. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationUrlRequest.d.ts.map +0 -1
  684. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/ClientCredentialRequest.d.ts +0 -16
  685. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/ClientCredentialRequest.d.ts.map +0 -1
  686. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/DeviceCodeRequest.d.ts +0 -16
  687. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/DeviceCodeRequest.d.ts.map +0 -1
  688. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/InteractiveRequest.d.ts +0 -8
  689. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/InteractiveRequest.d.ts.map +0 -1
  690. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/OnBehalfOfRequest.d.ts +0 -15
  691. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/OnBehalfOfRequest.d.ts.map +0 -1
  692. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/RefreshTokenRequest.d.ts +0 -18
  693. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/RefreshTokenRequest.d.ts.map +0 -1
  694. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/SilentFlowRequest.d.ts +0 -17
  695. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/SilentFlowRequest.d.ts.map +0 -1
  696. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/UsernamePasswordRequest.d.ts +0 -20
  697. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/UsernamePasswordRequest.d.ts.map +0 -1
  698. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/Constants.d.ts +0 -93
  699. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/Constants.d.ts.map +0 -1
  700. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/EncodingUtils.d.ts +0 -27
  701. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/EncodingUtils.d.ts.map +0 -1
  702. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/NetworkUtils.d.ts +0 -5
  703. package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/NetworkUtils.d.ts.map +0 -1
  704. package/common/temp/rush-recycler/install-run-1678274025679/@azure/storage-blob/dist/index.js +0 -25339
  705. package/common/temp/rush-recycler/install-run-1678274025679/@azure/storage-blob/dist/index.js.map +0 -1
  706. package/common/temp/rush-recycler/install-run-1678274025679/@microsoft/rush-lib/dist/rush-lib.d.ts +0 -3652
  707. package/common/temp/rush-recycler/install-run-1678274025679/@microsoft/rush-lib/dist/tsdoc-metadata.json +0 -11
  708. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/heft-config-file/dist/heft-config-file.d.ts +0 -254
  709. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/heft-config-file/dist/tsdoc-metadata.json +0 -11
  710. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/node-core-library/dist/node-core-library.d.ts +0 -3717
  711. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/node-core-library/dist/tsdoc-metadata.json +0 -11
  712. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/package-deps-hash/dist/package-deps-hash.d.ts +0 -80
  713. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/package-deps-hash/dist/tsdoc-metadata.json +0 -11
  714. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rig-package/dist/rig-package.d.ts +0 -198
  715. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rig-package/dist/tsdoc-metadata.json +0 -11
  716. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rush-amazon-s3-build-cache-plugin/dist/rush-amazon-s3-build-cache-plugin.d.ts +0 -150
  717. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rush-azure-storage-build-cache-plugin/dist/rush-azure-storage-build-cache-plugin.d.ts +0 -93
  718. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rush-sdk/dist/rush-lib.d.ts +0 -3652
  719. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/stream-collator/dist/stream-collator.d.ts +0 -124
  720. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/stream-collator/dist/tsdoc-metadata.json +0 -11
  721. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/terminal/dist/terminal.d.ts +0 -743
  722. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/terminal/dist/tsdoc-metadata.json +0 -11
  723. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/ts-command-line/dist/ts-command-line.d.ts +0 -998
  724. package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/ts-command-line/dist/tsdoc-metadata.json +0 -11
  725. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/index.d.ts +0 -7
  726. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/index.js +0 -24
  727. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/index.js.map +0 -1
  728. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/overloaded-parameters.d.ts +0 -231
  729. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/overloaded-parameters.js +0 -3
  730. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/overloaded-parameters.js.map +0 -1
  731. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/types.d.ts +0 -17
  732. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/types.js +0 -3
  733. package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/types.js.map +0 -1
  734. package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/index.d.ts +0 -78
  735. package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/index.js +0 -203
  736. package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/index.js.map +0 -1
  737. package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/promisify.d.ts +0 -4
  738. package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/promisify.js +0 -18
  739. package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/promisify.js.map +0 -1
  740. package/common/temp/rush-recycler/install-run-1678274025679/esprima/dist/esprima.js +0 -6709
  741. package/common/temp/rush-recycler/install-run-1678274025679/form-data/README.md.bak +0 -358
  742. package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/agent.d.ts +0 -32
  743. package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/agent.js +0 -145
  744. package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/agent.js.map +0 -1
  745. package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/index.d.ts +0 -21
  746. package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/index.js +0 -14
  747. package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/index.js.map +0 -1
  748. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/agent.d.ts +0 -30
  749. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/agent.js +0 -177
  750. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/agent.js.map +0 -1
  751. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/index.d.ts +0 -23
  752. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/index.js +0 -14
  753. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/index.js.map +0 -1
  754. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -7
  755. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/parse-proxy-response.js +0 -66
  756. package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
  757. package/common/temp/rush-recycler/install-run-1678274025679/immediate/dist/immediate.js +0 -75
  758. package/common/temp/rush-recycler/install-run-1678274025679/immediate/dist/immediate.min.js +0 -1
  759. package/common/temp/rush-recycler/install-run-1678274025679/js-yaml/dist/js-yaml.js +0 -3946
  760. package/common/temp/rush-recycler/install-run-1678274025679/js-yaml/dist/js-yaml.min.js +0 -1
  761. package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.js +0 -1737
  762. package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.min.js +0 -1
  763. package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.min.mjs +0 -1
  764. package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.mjs +0 -1426
  765. package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-es.js +0 -1062
  766. package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-es.min.js +0 -2
  767. package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-es.min.js.map +0 -1
  768. package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-umd.js +0 -1072
  769. package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-umd.min.js +0 -2
  770. package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-umd.min.js.map +0 -1
  771. package/common/temp/rush-recycler/install-run-1678274025679/jszip/dist/jszip.js +0 -11370
  772. package/common/temp/rush-recycler/install-run-1678274025679/jszip/dist/jszip.min.js +0 -13
  773. package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.js +0 -350
  774. package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.min.js +0 -1
  775. package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.polyfill.js +0 -358
  776. package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.polyfill.min.js +0 -1
  777. package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako.js +0 -6818
  778. package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako.min.js +0 -1
  779. package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_deflate.js +0 -3997
  780. package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_deflate.min.js +0 -1
  781. package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_inflate.js +0 -3300
  782. package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_inflate.min.js +0 -1
  783. package/common/temp/rush-recycler/install-run-1678274025679/psl/dist/psl.js +0 -10187
  784. package/common/temp/rush-recycler/install-run-1678274025679/psl/dist/psl.min.js +0 -1
  785. package/common/temp/rush-recycler/install-run-1678274025679/ramda/dist/ramda.js +0 -9716
  786. package/common/temp/rush-recycler/install-run-1678274025679/ramda/dist/ramda.min.js +0 -1
  787. package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/angular-sprintf.min.js +0 -4
  788. package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/angular-sprintf.min.js.map +0 -1
  789. package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/angular-sprintf.min.map +0 -1
  790. package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/sprintf.min.js +0 -4
  791. package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/sprintf.min.js.map +0 -1
  792. package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/sprintf.min.map +0 -1
  793. package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/encodings.xml +0 -6
  794. package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/modules.xml +0 -8
  795. package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/node-tunnel.iml +0 -12
  796. package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/vcs.xml +0 -6
  797. package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/workspace.xml +0 -797
  798. package/common/temp/rush-recycler/install-run-1678274025679/url-parse/dist/url-parse.js +0 -755
  799. package/common/temp/rush-recycler/install-run-1678274025679/url-parse/dist/url-parse.min.js +0 -1
  800. package/common/temp/rush-recycler/install-run-1678274025679/url-parse/dist/url-parse.min.js.map +0 -1
  801. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/bin/uuid +0 -2
  802. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/index.js +0 -9
  803. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/md5.js +0 -215
  804. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/nil.js +0 -1
  805. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/parse.js +0 -35
  806. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/regex.js +0 -1
  807. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/rng.js +0 -19
  808. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/sha1.js +0 -96
  809. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/stringify.js +0 -30
  810. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v1.js +0 -95
  811. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v3.js +0 -4
  812. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v35.js +0 -64
  813. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v4.js +0 -24
  814. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v5.js +0 -4
  815. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/validate.js +0 -7
  816. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/version.js +0 -11
  817. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/index.js +0 -9
  818. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/md5.js +0 -13
  819. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/nil.js +0 -1
  820. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/parse.js +0 -35
  821. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/regex.js +0 -1
  822. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/rng.js +0 -12
  823. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/sha1.js +0 -13
  824. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/stringify.js +0 -29
  825. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v1.js +0 -95
  826. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v3.js +0 -4
  827. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v35.js +0 -64
  828. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v4.js +0 -24
  829. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v5.js +0 -4
  830. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/validate.js +0 -7
  831. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/version.js +0 -11
  832. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/index.js +0 -79
  833. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/md5-browser.js +0 -223
  834. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/md5.js +0 -23
  835. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/nil.js +0 -8
  836. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/parse.js +0 -45
  837. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/regex.js +0 -8
  838. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/rng-browser.js +0 -26
  839. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/rng.js +0 -24
  840. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/sha1-browser.js +0 -104
  841. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/sha1.js +0 -23
  842. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/stringify.js +0 -39
  843. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuid.min.js +0 -1
  844. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidNIL.min.js +0 -1
  845. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidParse.min.js +0 -1
  846. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidStringify.min.js +0 -1
  847. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidValidate.min.js +0 -1
  848. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidVersion.min.js +0 -1
  849. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv1.min.js +0 -1
  850. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv3.min.js +0 -1
  851. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv4.min.js +0 -1
  852. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv5.min.js +0 -1
  853. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/uuid-bin.js +0 -85
  854. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v1.js +0 -107
  855. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v3.js +0 -16
  856. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v35.js +0 -78
  857. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v4.js +0 -37
  858. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v5.js +0 -16
  859. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/validate.js +0 -17
  860. package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/version.js +0 -21
  861. package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser-min.js +0 -2
  862. package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser-min.js.map +0 -1
  863. package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser-test.js +0 -30407
  864. package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser.js +0 -12901
@@ -1,2581 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
-
7
- var msalCommon = require('@azure/msal-common');
8
- var http = require('http');
9
- var http__default = _interopDefault(http);
10
- var https = _interopDefault(require('https'));
11
- var uuid = require('uuid');
12
- var crypto = _interopDefault(require('crypto'));
13
- var jsonwebtoken = require('jsonwebtoken');
14
-
15
- /*
16
- * Copyright (c) Microsoft Corporation. All rights reserved.
17
- * Licensed under the MIT License.
18
- */
19
- /**
20
- * http methods
21
- */
22
- var HttpMethod;
23
- (function (HttpMethod) {
24
- HttpMethod["GET"] = "get";
25
- HttpMethod["POST"] = "post";
26
- })(HttpMethod || (HttpMethod = {}));
27
- var HttpStatus;
28
- (function (HttpStatus) {
29
- HttpStatus[HttpStatus["SUCCESS_RANGE_START"] = 200] = "SUCCESS_RANGE_START";
30
- HttpStatus[HttpStatus["SUCCESS_RANGE_END"] = 299] = "SUCCESS_RANGE_END";
31
- HttpStatus[HttpStatus["REDIRECT"] = 302] = "REDIRECT";
32
- HttpStatus[HttpStatus["CLIENT_ERROR_RANGE_START"] = 400] = "CLIENT_ERROR_RANGE_START";
33
- HttpStatus[HttpStatus["CLIENT_ERROR_RANGE_END"] = 499] = "CLIENT_ERROR_RANGE_END";
34
- HttpStatus[HttpStatus["SERVER_ERROR_RANGE_START"] = 500] = "SERVER_ERROR_RANGE_START";
35
- HttpStatus[HttpStatus["SERVER_ERROR_RANGE_END"] = 599] = "SERVER_ERROR_RANGE_END";
36
- })(HttpStatus || (HttpStatus = {}));
37
- var ProxyStatus;
38
- (function (ProxyStatus) {
39
- ProxyStatus[ProxyStatus["SUCCESS_RANGE_START"] = 200] = "SUCCESS_RANGE_START";
40
- ProxyStatus[ProxyStatus["SUCCESS_RANGE_END"] = 299] = "SUCCESS_RANGE_END";
41
- ProxyStatus[ProxyStatus["SERVER_ERROR"] = 500] = "SERVER_ERROR";
42
- })(ProxyStatus || (ProxyStatus = {}));
43
- /**
44
- * Constants used for region discovery
45
- */
46
- const REGION_ENVIRONMENT_VARIABLE = "REGION_NAME";
47
- /**
48
- * Constant used for PKCE
49
- */
50
- const RANDOM_OCTET_SIZE = 32;
51
- /**
52
- * Constants used in PKCE
53
- */
54
- const Hash = {
55
- SHA256: "sha256"
56
- };
57
- /**
58
- * Constants for encoding schemes
59
- */
60
- const CharSet = {
61
- CV_CHARSET: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~"
62
- };
63
- /**
64
- * Constants
65
- */
66
- const Constants = {
67
- MSAL_SKU: "msal.js.node",
68
- JWT_BEARER_ASSERTION_TYPE: "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
69
- AUTHORIZATION_PENDING: "authorization_pending",
70
- HTTP_PROTOCOL: "http://",
71
- LOCALHOST: "localhost"
72
- };
73
- /**
74
- * API Codes for Telemetry purposes.
75
- * Before adding a new code you must claim it in the MSAL Telemetry tracker as these number spaces are shared across all MSALs
76
- * 0-99 Silent Flow
77
- * 600-699 Device Code Flow
78
- * 800-899 Auth Code Flow
79
- */
80
- var ApiId;
81
- (function (ApiId) {
82
- ApiId[ApiId["acquireTokenSilent"] = 62] = "acquireTokenSilent";
83
- ApiId[ApiId["acquireTokenByUsernamePassword"] = 371] = "acquireTokenByUsernamePassword";
84
- ApiId[ApiId["acquireTokenByDeviceCode"] = 671] = "acquireTokenByDeviceCode";
85
- ApiId[ApiId["acquireTokenByClientCredential"] = 771] = "acquireTokenByClientCredential";
86
- ApiId[ApiId["acquireTokenByCode"] = 871] = "acquireTokenByCode";
87
- ApiId[ApiId["acquireTokenByRefreshToken"] = 872] = "acquireTokenByRefreshToken";
88
- })(ApiId || (ApiId = {}));
89
- /**
90
- * JWT constants
91
- */
92
- const JwtConstants = {
93
- ALGORITHM: "alg",
94
- RSA_256: "RS256",
95
- X5T: "x5t",
96
- X5C: "x5c",
97
- AUDIENCE: "aud",
98
- EXPIRATION_TIME: "exp",
99
- ISSUER: "iss",
100
- SUBJECT: "sub",
101
- NOT_BEFORE: "nbf",
102
- JWT_ID: "jti"
103
- };
104
- const LOOPBACK_SERVER_CONSTANTS = {
105
- INTERVAL_MS: 100,
106
- TIMEOUT_MS: 5000
107
- };
108
-
109
- /*
110
- * Copyright (c) Microsoft Corporation. All rights reserved.
111
- * Licensed under the MIT License.
112
- */
113
- class NetworkUtils {
114
- static getNetworkResponse(headers, body, statusCode) {
115
- return {
116
- headers: headers,
117
- body: body,
118
- status: statusCode
119
- };
120
- }
121
- }
122
-
123
- /*
124
- * Copyright (c) Microsoft Corporation. All rights reserved.
125
- * Licensed under the MIT License.
126
- */
127
- /**
128
- * This class implements the API for network requests.
129
- */
130
- class HttpClient {
131
- constructor(proxyUrl, customAgentOptions) {
132
- this.proxyUrl = proxyUrl || "";
133
- this.customAgentOptions = customAgentOptions || {};
134
- }
135
- /**
136
- * Http Get request
137
- * @param url
138
- * @param options
139
- */
140
- async sendGetRequestAsync(url, options) {
141
- if (this.proxyUrl) {
142
- return networkRequestViaProxy(url, this.proxyUrl, HttpMethod.GET, options, this.customAgentOptions);
143
- } else {
144
- return networkRequestViaHttps(url, HttpMethod.GET, options, this.customAgentOptions);
145
- }
146
- }
147
- /**
148
- * Http Post request
149
- * @param url
150
- * @param options
151
- */
152
- async sendPostRequestAsync(url, options, cancellationToken) {
153
- if (this.proxyUrl) {
154
- return networkRequestViaProxy(url, this.proxyUrl, HttpMethod.POST, options, this.customAgentOptions, cancellationToken);
155
- } else {
156
- return networkRequestViaHttps(url, HttpMethod.POST, options, this.customAgentOptions, cancellationToken);
157
- }
158
- }
159
- }
160
- const networkRequestViaProxy = (url, proxyUrlString, httpMethod, options, agentOptions, timeout) => {
161
- const headers = (options == null ? void 0 : options.headers) || {};
162
- const proxyUrl = new URL(proxyUrlString);
163
- const destinationUrl = new URL(url);
164
- // "method: connect" must be used to establish a connection to the proxy
165
- const tunnelRequestOptions = {
166
- host: proxyUrl.hostname,
167
- port: proxyUrl.port,
168
- method: "CONNECT",
169
- path: destinationUrl.hostname,
170
- headers: headers
171
- };
172
- if (timeout) {
173
- tunnelRequestOptions.timeout = timeout;
174
- }
175
- if (agentOptions && Object.keys(agentOptions).length) {
176
- tunnelRequestOptions.agent = new http__default.Agent(agentOptions);
177
- }
178
- // compose a request string for the socket
179
- let postRequestStringContent = "";
180
- if (httpMethod === HttpMethod.POST) {
181
- const body = (options == null ? void 0 : options.body) || "";
182
- postRequestStringContent = "Content-Type: application/x-www-form-urlencoded\r\n" + `Content-Length: ${body.length}\r\n` + `\r\n${body}`;
183
- }
184
- const outgoingRequestString = `${httpMethod.toUpperCase()} ${destinationUrl.href} HTTP/1.1\r\n` + `Host: ${destinationUrl.host}\r\n` + "Connection: close\r\n" + postRequestStringContent + "\r\n";
185
- return new Promise((resolve, reject) => {
186
- const request = http__default.request(tunnelRequestOptions);
187
- if (tunnelRequestOptions.timeout) {
188
- request.on("timeout", () => {
189
- request.destroy();
190
- reject(new Error("Request time out"));
191
- });
192
- }
193
- request.end();
194
- // establish connection to the proxy
195
- request.on("connect", (response, socket) => {
196
- const proxyStatusCode = (response == null ? void 0 : response.statusCode) || ProxyStatus.SERVER_ERROR;
197
- if (proxyStatusCode < ProxyStatus.SUCCESS_RANGE_START || proxyStatusCode > ProxyStatus.SUCCESS_RANGE_END) {
198
- request.destroy();
199
- socket.destroy();
200
- reject(new Error(`Error connecting to proxy. Http status code: ${response.statusCode}. Http status message: ${(response == null ? void 0 : response.statusMessage) || "Unknown"}`));
201
- }
202
- if (tunnelRequestOptions.timeout) {
203
- socket.setTimeout(tunnelRequestOptions.timeout);
204
- socket.on("timeout", () => {
205
- request.destroy();
206
- socket.destroy();
207
- reject(new Error("Request time out"));
208
- });
209
- }
210
- // make a request over an HTTP tunnel
211
- socket.write(outgoingRequestString);
212
- const data = [];
213
- socket.on("data", chunk => {
214
- data.push(chunk);
215
- });
216
- socket.on("end", () => {
217
- // combine all received buffer streams into one buffer, and then into a string
218
- const dataString = Buffer.concat([...data]).toString();
219
- // separate each line into it's own entry in an arry
220
- const dataStringArray = dataString.split("\r\n");
221
- // the first entry will contain the statusCode and statusMessage
222
- const httpStatusCode = parseInt(dataStringArray[0].split(" ")[1]);
223
- // remove "HTTP/1.1" and the status code to get the status message
224
- const statusMessage = dataStringArray[0].split(" ").slice(2).join(" ");
225
- // the last entry will contain the body
226
- const body = dataStringArray[dataStringArray.length - 1];
227
- // everything in between the first and last entries are the headers
228
- const headersArray = dataStringArray.slice(1, dataStringArray.length - 2);
229
- // build an object out of all the headers
230
- const entries = new Map();
231
- headersArray.forEach(header => {
232
- /**
233
- * the header might look like "Content-Length: 1531", but that is just a string
234
- * it needs to be converted to a key/value pair
235
- * split the string at the first instance of ":"
236
- * there may be more than one ":" if the value of the header is supposed to be a JSON object
237
- */
238
- const headerKeyValue = header.split(new RegExp(/:\s(.*)/s));
239
- const headerKey = headerKeyValue[0];
240
- let headerValue = headerKeyValue[1];
241
- // check if the value of the header is supposed to be a JSON object
242
- try {
243
- const object = JSON.parse(headerValue);
244
- // if it is, then convert it from a string to a JSON object
245
- if (object && typeof object === "object") {
246
- headerValue = object;
247
- }
248
- } catch (e) {
249
- // otherwise, leave it as a string
250
- }
251
- entries.set(headerKey, headerValue);
252
- });
253
- const headers = Object.fromEntries(entries);
254
- const parsedHeaders = headers;
255
- const networkResponse = NetworkUtils.getNetworkResponse(parsedHeaders, parseBody(httpStatusCode, statusMessage, parsedHeaders, body), httpStatusCode);
256
- if ((httpStatusCode < HttpStatus.SUCCESS_RANGE_START || httpStatusCode > HttpStatus.SUCCESS_RANGE_END) &&
257
- // do not destroy the request for the device code flow
258
- networkResponse.body["error"] !== Constants.AUTHORIZATION_PENDING) {
259
- request.destroy();
260
- }
261
- resolve(networkResponse);
262
- });
263
- socket.on("error", chunk => {
264
- request.destroy();
265
- socket.destroy();
266
- reject(new Error(chunk.toString()));
267
- });
268
- });
269
- request.on("error", chunk => {
270
- request.destroy();
271
- reject(new Error(chunk.toString()));
272
- });
273
- });
274
- };
275
- const networkRequestViaHttps = (url, httpMethod, options, agentOptions, timeout) => {
276
- const isPostRequest = httpMethod === HttpMethod.POST;
277
- const body = (options == null ? void 0 : options.body) || "";
278
- const emptyHeaders = {};
279
- const customOptions = {
280
- method: httpMethod,
281
- headers: (options == null ? void 0 : options.headers) || emptyHeaders
282
- };
283
- if (timeout) {
284
- customOptions.timeout = timeout;
285
- }
286
- if (agentOptions && Object.keys(agentOptions).length) {
287
- customOptions.agent = new https.Agent(agentOptions);
288
- }
289
- if (isPostRequest) {
290
- // needed for post request to work
291
- customOptions.headers = {
292
- ...customOptions.headers,
293
- "Content-Length": body.length
294
- };
295
- }
296
- return new Promise((resolve, reject) => {
297
- const request = https.request(url, customOptions);
298
- if (timeout) {
299
- request.on("timeout", () => {
300
- request.destroy();
301
- reject(new Error("Request time out"));
302
- });
303
- }
304
- if (isPostRequest) {
305
- request.write(body);
306
- }
307
- request.end();
308
- request.on("response", response => {
309
- const headers = response.headers;
310
- const statusCode = response.statusCode;
311
- const statusMessage = response.statusMessage;
312
- const data = [];
313
- response.on("data", chunk => {
314
- data.push(chunk);
315
- });
316
- response.on("end", () => {
317
- // combine all received buffer streams into one buffer, and then into a string
318
- const body = Buffer.concat([...data]).toString();
319
- const parsedHeaders = headers;
320
- const networkResponse = NetworkUtils.getNetworkResponse(parsedHeaders, parseBody(statusCode, statusMessage, parsedHeaders, body), statusCode);
321
- if ((statusCode < HttpStatus.SUCCESS_RANGE_START || statusCode > HttpStatus.SUCCESS_RANGE_END) &&
322
- // do not destroy the request for the device code flow
323
- networkResponse.body["error"] !== Constants.AUTHORIZATION_PENDING) {
324
- request.destroy();
325
- }
326
- resolve(networkResponse);
327
- });
328
- });
329
- request.on("error", chunk => {
330
- request.destroy();
331
- reject(new Error(chunk.toString()));
332
- });
333
- });
334
- };
335
- /**
336
- * Check if extra parsing is needed on the repsonse from the server
337
- * @param statusCode {number} the status code of the response from the server
338
- * @param statusMessage {string | undefined} the status message of the response from the server
339
- * @param headers {Record<string, string>} the headers of the response from the server
340
- * @param body {string} the body from the response of the server
341
- * @returns {Object} JSON parsed body or error object
342
- */
343
- const parseBody = (statusCode, statusMessage, headers, body) => {
344
- /*
345
- * Informational responses (100 – 199)
346
- * Successful responses (200 – 299)
347
- * Redirection messages (300 – 399)
348
- * Client error responses (400 – 499)
349
- * Server error responses (500 – 599)
350
- */
351
- let parsedBody;
352
- try {
353
- parsedBody = JSON.parse(body);
354
- } catch (error) {
355
- let errorType;
356
- let errorDescriptionHelper;
357
- if (statusCode >= HttpStatus.CLIENT_ERROR_RANGE_START && statusCode <= HttpStatus.CLIENT_ERROR_RANGE_END) {
358
- errorType = "client_error";
359
- errorDescriptionHelper = "A client";
360
- } else if (statusCode >= HttpStatus.SERVER_ERROR_RANGE_START && statusCode <= HttpStatus.SERVER_ERROR_RANGE_END) {
361
- errorType = "server_error";
362
- errorDescriptionHelper = "A server";
363
- } else {
364
- errorType = "unknown_error";
365
- errorDescriptionHelper = "An unknown";
366
- }
367
- parsedBody = {
368
- error: errorType,
369
- error_description: `${errorDescriptionHelper} error occured.\nHttp status code: ${statusCode}\nHttp status message: ${statusMessage || "Unknown"}\nHeaders: ${JSON.stringify(headers)}`
370
- };
371
- }
372
- return parsedBody;
373
- };
374
-
375
- /*
376
- * Copyright (c) Microsoft Corporation. All rights reserved.
377
- * Licensed under the MIT License.
378
- */
379
- const DEFAULT_AUTH_OPTIONS = {
380
- clientId: msalCommon.Constants.EMPTY_STRING,
381
- authority: msalCommon.Constants.DEFAULT_AUTHORITY,
382
- clientSecret: msalCommon.Constants.EMPTY_STRING,
383
- clientAssertion: msalCommon.Constants.EMPTY_STRING,
384
- clientCertificate: {
385
- thumbprint: msalCommon.Constants.EMPTY_STRING,
386
- privateKey: msalCommon.Constants.EMPTY_STRING,
387
- x5c: msalCommon.Constants.EMPTY_STRING
388
- },
389
- knownAuthorities: [],
390
- cloudDiscoveryMetadata: msalCommon.Constants.EMPTY_STRING,
391
- authorityMetadata: msalCommon.Constants.EMPTY_STRING,
392
- clientCapabilities: [],
393
- protocolMode: msalCommon.ProtocolMode.AAD,
394
- azureCloudOptions: {
395
- azureCloudInstance: msalCommon.AzureCloudInstance.None,
396
- tenant: msalCommon.Constants.EMPTY_STRING
397
- },
398
- skipAuthorityMetadataCache: false
399
- };
400
- const DEFAULT_CACHE_OPTIONS = {};
401
- const DEFAULT_LOGGER_OPTIONS = {
402
- loggerCallback: () => {
403
- // allow users to not set logger call back
404
- },
405
- piiLoggingEnabled: false,
406
- logLevel: msalCommon.LogLevel.Info
407
- };
408
- const DEFAULT_SYSTEM_OPTIONS = {
409
- loggerOptions: DEFAULT_LOGGER_OPTIONS,
410
- networkClient: /*#__PURE__*/new HttpClient(),
411
- proxyUrl: msalCommon.Constants.EMPTY_STRING,
412
- customAgentOptions: {}
413
- };
414
- const DEFAULT_TELEMETRY_OPTIONS = {
415
- application: {
416
- appName: msalCommon.Constants.EMPTY_STRING,
417
- appVersion: msalCommon.Constants.EMPTY_STRING
418
- }
419
- };
420
- /**
421
- * Sets the default options when not explicitly configured from app developer
422
- *
423
- * @param auth - Authentication options
424
- * @param cache - Cache options
425
- * @param system - System options
426
- * @param telemetry - Telemetry options
427
- *
428
- * @returns Configuration
429
- * @public
430
- */
431
- function buildAppConfiguration({
432
- auth,
433
- cache,
434
- system,
435
- telemetry
436
- }) {
437
- const systemOptions = {
438
- ...DEFAULT_SYSTEM_OPTIONS,
439
- networkClient: new HttpClient(system == null ? void 0 : system.proxyUrl, system == null ? void 0 : system.customAgentOptions),
440
- loggerOptions: (system == null ? void 0 : system.loggerOptions) || DEFAULT_LOGGER_OPTIONS
441
- };
442
- return {
443
- auth: {
444
- ...DEFAULT_AUTH_OPTIONS,
445
- ...auth
446
- },
447
- cache: {
448
- ...DEFAULT_CACHE_OPTIONS,
449
- ...cache
450
- },
451
- system: {
452
- ...systemOptions,
453
- ...system
454
- },
455
- telemetry: {
456
- ...DEFAULT_TELEMETRY_OPTIONS,
457
- ...telemetry
458
- }
459
- };
460
- }
461
-
462
- /*
463
- * Copyright (c) Microsoft Corporation. All rights reserved.
464
- * Licensed under the MIT License.
465
- */
466
- class GuidGenerator {
467
- /**
468
- *
469
- * RFC4122: The version 4 UUID is meant for generating UUIDs from truly-random or pseudo-random numbers.
470
- * uuidv4 generates guids from cryprtographically-string random
471
- */
472
- generateGuid() {
473
- return uuid.v4();
474
- }
475
- /**
476
- * verifies if a string is GUID
477
- * @param guid
478
- */
479
- isGuid(guid) {
480
- const regexGuid = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
481
- return regexGuid.test(guid);
482
- }
483
- }
484
-
485
- /*
486
- * Copyright (c) Microsoft Corporation. All rights reserved.
487
- * Licensed under the MIT License.
488
- */
489
- class EncodingUtils {
490
- /**
491
- * 'utf8': Multibyte encoded Unicode characters. Many web pages and other document formats use UTF-8.
492
- * 'base64': Base64 encoding.
493
- *
494
- * @param str text
495
- */
496
- static base64Encode(str, encoding) {
497
- return Buffer.from(str, encoding).toString("base64");
498
- }
499
- /**
500
- * encode a URL
501
- * @param str
502
- */
503
- static base64EncodeUrl(str, encoding) {
504
- return EncodingUtils.base64Encode(str, encoding).replace(/=/g, msalCommon.Constants.EMPTY_STRING).replace(/\+/g, "-").replace(/\//g, "_");
505
- }
506
- /**
507
- * 'utf8': Multibyte encoded Unicode characters. Many web pages and other document formats use UTF-8.
508
- * 'base64': Base64 encoding.
509
- *
510
- * @param base64Str Base64 encoded text
511
- */
512
- static base64Decode(base64Str) {
513
- return Buffer.from(base64Str, "base64").toString("utf8");
514
- }
515
- /**
516
- * @param base64Str Base64 encoded Url
517
- */
518
- static base64DecodeUrl(base64Str) {
519
- let str = base64Str.replace(/-/g, "+").replace(/_/g, "/");
520
- while (str.length % 4) {
521
- str += "=";
522
- }
523
- return EncodingUtils.base64Decode(str);
524
- }
525
- }
526
-
527
- /*
528
- * Copyright (c) Microsoft Corporation. All rights reserved.
529
- * Licensed under the MIT License.
530
- */
531
- class HashUtils {
532
- /**
533
- * generate 'SHA256' hash
534
- * @param buffer
535
- */
536
- sha256(buffer) {
537
- return crypto.createHash(Hash.SHA256).update(buffer).digest();
538
- }
539
- }
540
-
541
- /*
542
- * Copyright (c) Microsoft Corporation. All rights reserved.
543
- * Licensed under the MIT License.
544
- */
545
- /**
546
- * https://tools.ietf.org/html/rfc7636#page-8
547
- */
548
- class PkceGenerator {
549
- constructor() {
550
- this.hashUtils = new HashUtils();
551
- }
552
- /**
553
- * generates the codeVerfier and the challenge from the codeVerfier
554
- * reference: https://tools.ietf.org/html/rfc7636#section-4.1 and https://tools.ietf.org/html/rfc7636#section-4.2
555
- */
556
- async generatePkceCodes() {
557
- const verifier = this.generateCodeVerifier();
558
- const challenge = this.generateCodeChallengeFromVerifier(verifier);
559
- return {
560
- verifier,
561
- challenge
562
- };
563
- }
564
- /**
565
- * generates the codeVerfier; reference: https://tools.ietf.org/html/rfc7636#section-4.1
566
- */
567
- generateCodeVerifier() {
568
- const charArr = [];
569
- const maxNumber = 256 - 256 % CharSet.CV_CHARSET.length;
570
- while (charArr.length <= RANDOM_OCTET_SIZE) {
571
- const byte = crypto.randomBytes(1)[0];
572
- if (byte >= maxNumber) {
573
- /*
574
- * Ignore this number to maintain randomness.
575
- * Including it would result in an unequal distribution of characters after doing the modulo
576
- */
577
- continue;
578
- }
579
- const index = byte % CharSet.CV_CHARSET.length;
580
- charArr.push(CharSet.CV_CHARSET[index]);
581
- }
582
- const verifier = charArr.join(msalCommon.Constants.EMPTY_STRING);
583
- return EncodingUtils.base64EncodeUrl(verifier);
584
- }
585
- /**
586
- * generate the challenge from the codeVerfier; reference: https://tools.ietf.org/html/rfc7636#section-4.2
587
- * @param codeVerifier
588
- */
589
- generateCodeChallengeFromVerifier(codeVerifier) {
590
- return EncodingUtils.base64EncodeUrl(this.hashUtils.sha256(codeVerifier).toString("base64"), "base64");
591
- }
592
- }
593
-
594
- /*
595
- * Copyright (c) Microsoft Corporation. All rights reserved.
596
- * Licensed under the MIT License.
597
- */
598
- /**
599
- * This class implements MSAL node's crypto interface, which allows it to perform base64 encoding and decoding, generating cryptographically random GUIDs and
600
- * implementing Proof Key for Code Exchange specs for the OAuth Authorization Code Flow using PKCE (rfc here: https://tools.ietf.org/html/rfc7636).
601
- * @public
602
- */
603
- class CryptoProvider {
604
- constructor() {
605
- // Browser crypto needs to be validated first before any other classes can be set.
606
- this.pkceGenerator = new PkceGenerator();
607
- this.guidGenerator = new GuidGenerator();
608
- this.hashUtils = new HashUtils();
609
- }
610
- /**
611
- * Creates a new random GUID - used to populate state and nonce.
612
- * @returns string (GUID)
613
- */
614
- createNewGuid() {
615
- return this.guidGenerator.generateGuid();
616
- }
617
- /**
618
- * Encodes input string to base64.
619
- * @param input - string to be encoded
620
- */
621
- base64Encode(input) {
622
- return EncodingUtils.base64Encode(input);
623
- }
624
- /**
625
- * Decodes input string from base64.
626
- * @param input - string to be decoded
627
- */
628
- base64Decode(input) {
629
- return EncodingUtils.base64Decode(input);
630
- }
631
- /**
632
- * Generates PKCE codes used in Authorization Code Flow.
633
- */
634
- generatePkceCodes() {
635
- return this.pkceGenerator.generatePkceCodes();
636
- }
637
- /**
638
- * Generates a keypair, stores it and returns a thumbprint - not yet implemented for node
639
- */
640
- getPublicKeyThumbprint() {
641
- throw new Error("Method not implemented.");
642
- }
643
- /**
644
- * Removes cryptographic keypair from key store matching the keyId passed in
645
- * @param kid
646
- */
647
- removeTokenBindingKey() {
648
- throw new Error("Method not implemented.");
649
- }
650
- /**
651
- * Removes all cryptographic keys from Keystore
652
- */
653
- clearKeystore() {
654
- throw new Error("Method not implemented.");
655
- }
656
- /**
657
- * Signs the given object as a jwt payload with private key retrieved by given kid - currently not implemented for node
658
- */
659
- signJwt() {
660
- throw new Error("Method not implemented.");
661
- }
662
- /**
663
- * Returns the SHA-256 hash of an input string
664
- */
665
- async hashString(plainText) {
666
- return EncodingUtils.base64EncodeUrl(this.hashUtils.sha256(plainText).toString("base64"), "base64");
667
- }
668
- }
669
-
670
- /*
671
- * Copyright (c) Microsoft Corporation. All rights reserved.
672
- * Licensed under the MIT License.
673
- */
674
- /**
675
- * This class deserializes cache entities read from the file into in memory object types defined internally
676
- */
677
- class Deserializer {
678
- /**
679
- * Parse the JSON blob in memory and deserialize the content
680
- * @param cachedJson
681
- */
682
- static deserializeJSONBlob(jsonFile) {
683
- const deserializedCache = msalCommon.StringUtils.isEmpty(jsonFile) ? {} : JSON.parse(jsonFile);
684
- return deserializedCache;
685
- }
686
- /**
687
- * Deserializes accounts to AccountEntity objects
688
- * @param accounts
689
- */
690
- static deserializeAccounts(accounts) {
691
- const accountObjects = {};
692
- if (accounts) {
693
- Object.keys(accounts).map(function (key) {
694
- const serializedAcc = accounts[key];
695
- const mappedAcc = {
696
- homeAccountId: serializedAcc.home_account_id,
697
- environment: serializedAcc.environment,
698
- realm: serializedAcc.realm,
699
- localAccountId: serializedAcc.local_account_id,
700
- username: serializedAcc.username,
701
- authorityType: serializedAcc.authority_type,
702
- name: serializedAcc.name,
703
- clientInfo: serializedAcc.client_info,
704
- lastModificationTime: serializedAcc.last_modification_time,
705
- lastModificationApp: serializedAcc.last_modification_app
706
- };
707
- const account = new msalCommon.AccountEntity();
708
- msalCommon.CacheManager.toObject(account, mappedAcc);
709
- accountObjects[key] = account;
710
- });
711
- }
712
- return accountObjects;
713
- }
714
- /**
715
- * Deserializes id tokens to IdTokenEntity objects
716
- * @param idTokens
717
- */
718
- static deserializeIdTokens(idTokens) {
719
- const idObjects = {};
720
- if (idTokens) {
721
- Object.keys(idTokens).map(function (key) {
722
- const serializedIdT = idTokens[key];
723
- const mappedIdT = {
724
- homeAccountId: serializedIdT.home_account_id,
725
- environment: serializedIdT.environment,
726
- credentialType: serializedIdT.credential_type,
727
- clientId: serializedIdT.client_id,
728
- secret: serializedIdT.secret,
729
- realm: serializedIdT.realm
730
- };
731
- const idToken = new msalCommon.IdTokenEntity();
732
- msalCommon.CacheManager.toObject(idToken, mappedIdT);
733
- idObjects[key] = idToken;
734
- });
735
- }
736
- return idObjects;
737
- }
738
- /**
739
- * Deserializes access tokens to AccessTokenEntity objects
740
- * @param accessTokens
741
- */
742
- static deserializeAccessTokens(accessTokens) {
743
- const atObjects = {};
744
- if (accessTokens) {
745
- Object.keys(accessTokens).map(function (key) {
746
- const serializedAT = accessTokens[key];
747
- const mappedAT = {
748
- homeAccountId: serializedAT.home_account_id,
749
- environment: serializedAT.environment,
750
- credentialType: serializedAT.credential_type,
751
- clientId: serializedAT.client_id,
752
- secret: serializedAT.secret,
753
- realm: serializedAT.realm,
754
- target: serializedAT.target,
755
- cachedAt: serializedAT.cached_at,
756
- expiresOn: serializedAT.expires_on,
757
- extendedExpiresOn: serializedAT.extended_expires_on,
758
- refreshOn: serializedAT.refresh_on,
759
- keyId: serializedAT.key_id,
760
- tokenType: serializedAT.token_type,
761
- requestedClaims: serializedAT.requestedClaims,
762
- requestedClaimsHash: serializedAT.requestedClaimsHash,
763
- userAssertionHash: serializedAT.userAssertionHash
764
- };
765
- const accessToken = new msalCommon.AccessTokenEntity();
766
- msalCommon.CacheManager.toObject(accessToken, mappedAT);
767
- atObjects[key] = accessToken;
768
- });
769
- }
770
- return atObjects;
771
- }
772
- /**
773
- * Deserializes refresh tokens to RefreshTokenEntity objects
774
- * @param refreshTokens
775
- */
776
- static deserializeRefreshTokens(refreshTokens) {
777
- const rtObjects = {};
778
- if (refreshTokens) {
779
- Object.keys(refreshTokens).map(function (key) {
780
- const serializedRT = refreshTokens[key];
781
- const mappedRT = {
782
- homeAccountId: serializedRT.home_account_id,
783
- environment: serializedRT.environment,
784
- credentialType: serializedRT.credential_type,
785
- clientId: serializedRT.client_id,
786
- secret: serializedRT.secret,
787
- familyId: serializedRT.family_id,
788
- target: serializedRT.target,
789
- realm: serializedRT.realm
790
- };
791
- const refreshToken = new msalCommon.RefreshTokenEntity();
792
- msalCommon.CacheManager.toObject(refreshToken, mappedRT);
793
- rtObjects[key] = refreshToken;
794
- });
795
- }
796
- return rtObjects;
797
- }
798
- /**
799
- * Deserializes appMetadata to AppMetaData objects
800
- * @param appMetadata
801
- */
802
- static deserializeAppMetadata(appMetadata) {
803
- const appMetadataObjects = {};
804
- if (appMetadata) {
805
- Object.keys(appMetadata).map(function (key) {
806
- const serializedAmdt = appMetadata[key];
807
- const mappedAmd = {
808
- clientId: serializedAmdt.client_id,
809
- environment: serializedAmdt.environment,
810
- familyId: serializedAmdt.family_id
811
- };
812
- const amd = new msalCommon.AppMetadataEntity();
813
- msalCommon.CacheManager.toObject(amd, mappedAmd);
814
- appMetadataObjects[key] = amd;
815
- });
816
- }
817
- return appMetadataObjects;
818
- }
819
- /**
820
- * Deserialize an inMemory Cache
821
- * @param jsonCache
822
- */
823
- static deserializeAllCache(jsonCache) {
824
- return {
825
- accounts: jsonCache.Account ? this.deserializeAccounts(jsonCache.Account) : {},
826
- idTokens: jsonCache.IdToken ? this.deserializeIdTokens(jsonCache.IdToken) : {},
827
- accessTokens: jsonCache.AccessToken ? this.deserializeAccessTokens(jsonCache.AccessToken) : {},
828
- refreshTokens: jsonCache.RefreshToken ? this.deserializeRefreshTokens(jsonCache.RefreshToken) : {},
829
- appMetadata: jsonCache.AppMetadata ? this.deserializeAppMetadata(jsonCache.AppMetadata) : {}
830
- };
831
- }
832
- }
833
-
834
- /*
835
- * Copyright (c) Microsoft Corporation. All rights reserved.
836
- * Licensed under the MIT License.
837
- */
838
- class Serializer {
839
- /**
840
- * serialize the JSON blob
841
- * @param data
842
- */
843
- static serializeJSONBlob(data) {
844
- return JSON.stringify(data);
845
- }
846
- /**
847
- * Serialize Accounts
848
- * @param accCache
849
- */
850
- static serializeAccounts(accCache) {
851
- const accounts = {};
852
- Object.keys(accCache).map(function (key) {
853
- const accountEntity = accCache[key];
854
- accounts[key] = {
855
- home_account_id: accountEntity.homeAccountId,
856
- environment: accountEntity.environment,
857
- realm: accountEntity.realm,
858
- local_account_id: accountEntity.localAccountId,
859
- username: accountEntity.username,
860
- authority_type: accountEntity.authorityType,
861
- name: accountEntity.name,
862
- client_info: accountEntity.clientInfo,
863
- last_modification_time: accountEntity.lastModificationTime,
864
- last_modification_app: accountEntity.lastModificationApp
865
- };
866
- });
867
- return accounts;
868
- }
869
- /**
870
- * Serialize IdTokens
871
- * @param idTCache
872
- */
873
- static serializeIdTokens(idTCache) {
874
- const idTokens = {};
875
- Object.keys(idTCache).map(function (key) {
876
- const idTEntity = idTCache[key];
877
- idTokens[key] = {
878
- home_account_id: idTEntity.homeAccountId,
879
- environment: idTEntity.environment,
880
- credential_type: idTEntity.credentialType,
881
- client_id: idTEntity.clientId,
882
- secret: idTEntity.secret,
883
- realm: idTEntity.realm
884
- };
885
- });
886
- return idTokens;
887
- }
888
- /**
889
- * Serializes AccessTokens
890
- * @param atCache
891
- */
892
- static serializeAccessTokens(atCache) {
893
- const accessTokens = {};
894
- Object.keys(atCache).map(function (key) {
895
- const atEntity = atCache[key];
896
- accessTokens[key] = {
897
- home_account_id: atEntity.homeAccountId,
898
- environment: atEntity.environment,
899
- credential_type: atEntity.credentialType,
900
- client_id: atEntity.clientId,
901
- secret: atEntity.secret,
902
- realm: atEntity.realm,
903
- target: atEntity.target,
904
- cached_at: atEntity.cachedAt,
905
- expires_on: atEntity.expiresOn,
906
- extended_expires_on: atEntity.extendedExpiresOn,
907
- refresh_on: atEntity.refreshOn,
908
- key_id: atEntity.keyId,
909
- token_type: atEntity.tokenType,
910
- requestedClaims: atEntity.requestedClaims,
911
- requestedClaimsHash: atEntity.requestedClaimsHash,
912
- userAssertionHash: atEntity.userAssertionHash
913
- };
914
- });
915
- return accessTokens;
916
- }
917
- /**
918
- * Serialize refreshTokens
919
- * @param rtCache
920
- */
921
- static serializeRefreshTokens(rtCache) {
922
- const refreshTokens = {};
923
- Object.keys(rtCache).map(function (key) {
924
- const rtEntity = rtCache[key];
925
- refreshTokens[key] = {
926
- home_account_id: rtEntity.homeAccountId,
927
- environment: rtEntity.environment,
928
- credential_type: rtEntity.credentialType,
929
- client_id: rtEntity.clientId,
930
- secret: rtEntity.secret,
931
- family_id: rtEntity.familyId,
932
- target: rtEntity.target,
933
- realm: rtEntity.realm
934
- };
935
- });
936
- return refreshTokens;
937
- }
938
- /**
939
- * Serialize amdtCache
940
- * @param amdtCache
941
- */
942
- static serializeAppMetadata(amdtCache) {
943
- const appMetadata = {};
944
- Object.keys(amdtCache).map(function (key) {
945
- const amdtEntity = amdtCache[key];
946
- appMetadata[key] = {
947
- client_id: amdtEntity.clientId,
948
- environment: amdtEntity.environment,
949
- family_id: amdtEntity.familyId
950
- };
951
- });
952
- return appMetadata;
953
- }
954
- /**
955
- * Serialize the cache
956
- * @param jsonContent
957
- */
958
- static serializeAllCache(inMemCache) {
959
- return {
960
- Account: this.serializeAccounts(inMemCache.accounts),
961
- IdToken: this.serializeIdTokens(inMemCache.idTokens),
962
- AccessToken: this.serializeAccessTokens(inMemCache.accessTokens),
963
- RefreshToken: this.serializeRefreshTokens(inMemCache.refreshTokens),
964
- AppMetadata: this.serializeAppMetadata(inMemCache.appMetadata)
965
- };
966
- }
967
- }
968
-
969
- /*
970
- * Copyright (c) Microsoft Corporation. All rights reserved.
971
- * Licensed under the MIT License.
972
- */
973
- /**
974
- * This class implements Storage for node, reading cache from user specified storage location or an extension library
975
- * @public
976
- */
977
- class NodeStorage extends msalCommon.CacheManager {
978
- constructor(logger, clientId, cryptoImpl) {
979
- super(clientId, cryptoImpl);
980
- this.cache = {};
981
- this.changeEmitters = [];
982
- this.logger = logger;
983
- }
984
- /**
985
- * Queue up callbacks
986
- * @param func - a callback function for cache change indication
987
- */
988
- registerChangeEmitter(func) {
989
- this.changeEmitters.push(func);
990
- }
991
- /**
992
- * Invoke the callback when cache changes
993
- */
994
- emitChange() {
995
- this.changeEmitters.forEach(func => func.call(null));
996
- }
997
- /**
998
- * Converts cacheKVStore to InMemoryCache
999
- * @param cache - key value store
1000
- */
1001
- cacheToInMemoryCache(cache) {
1002
- const inMemoryCache = {
1003
- accounts: {},
1004
- idTokens: {},
1005
- accessTokens: {},
1006
- refreshTokens: {},
1007
- appMetadata: {}
1008
- };
1009
- for (const key in cache) {
1010
- if (cache[key] instanceof msalCommon.AccountEntity) {
1011
- inMemoryCache.accounts[key] = cache[key];
1012
- } else if (cache[key] instanceof msalCommon.IdTokenEntity) {
1013
- inMemoryCache.idTokens[key] = cache[key];
1014
- } else if (cache[key] instanceof msalCommon.AccessTokenEntity) {
1015
- inMemoryCache.accessTokens[key] = cache[key];
1016
- } else if (cache[key] instanceof msalCommon.RefreshTokenEntity) {
1017
- inMemoryCache.refreshTokens[key] = cache[key];
1018
- } else if (cache[key] instanceof msalCommon.AppMetadataEntity) {
1019
- inMemoryCache.appMetadata[key] = cache[key];
1020
- } else {
1021
- continue;
1022
- }
1023
- }
1024
- return inMemoryCache;
1025
- }
1026
- /**
1027
- * converts inMemoryCache to CacheKVStore
1028
- * @param inMemoryCache - kvstore map for inmemory
1029
- */
1030
- inMemoryCacheToCache(inMemoryCache) {
1031
- // convert in memory cache to a flat Key-Value map
1032
- let cache = this.getCache();
1033
- cache = {
1034
- ...cache,
1035
- ...inMemoryCache.accounts,
1036
- ...inMemoryCache.idTokens,
1037
- ...inMemoryCache.accessTokens,
1038
- ...inMemoryCache.refreshTokens,
1039
- ...inMemoryCache.appMetadata
1040
- };
1041
- // convert in memory cache to a flat Key-Value map
1042
- return cache;
1043
- }
1044
- /**
1045
- * gets the current in memory cache for the client
1046
- */
1047
- getInMemoryCache() {
1048
- this.logger.trace("Getting in-memory cache");
1049
- // convert the cache key value store to inMemoryCache
1050
- const inMemoryCache = this.cacheToInMemoryCache(this.getCache());
1051
- return inMemoryCache;
1052
- }
1053
- /**
1054
- * sets the current in memory cache for the client
1055
- * @param inMemoryCache - key value map in memory
1056
- */
1057
- setInMemoryCache(inMemoryCache) {
1058
- this.logger.trace("Setting in-memory cache");
1059
- // convert and append the inMemoryCache to cacheKVStore
1060
- const cache = this.inMemoryCacheToCache(inMemoryCache);
1061
- this.setCache(cache);
1062
- this.emitChange();
1063
- }
1064
- /**
1065
- * get the current cache key-value store
1066
- */
1067
- getCache() {
1068
- this.logger.trace("Getting cache key-value store");
1069
- return this.cache;
1070
- }
1071
- /**
1072
- * sets the current cache (key value store)
1073
- * @param cacheMap - key value map
1074
- */
1075
- setCache(cache) {
1076
- this.logger.trace("Setting cache key value store");
1077
- this.cache = cache;
1078
- // mark change in cache
1079
- this.emitChange();
1080
- }
1081
- /**
1082
- * Gets cache item with given key.
1083
- * @param key - lookup key for the cache entry
1084
- */
1085
- getItem(key) {
1086
- this.logger.tracePii(`Item key: ${key}`);
1087
- // read cache
1088
- const cache = this.getCache();
1089
- return cache[key];
1090
- }
1091
- /**
1092
- * Gets cache item with given key-value
1093
- * @param key - lookup key for the cache entry
1094
- * @param value - value of the cache entry
1095
- */
1096
- setItem(key, value) {
1097
- this.logger.tracePii(`Item key: ${key}`);
1098
- // read cache
1099
- const cache = this.getCache();
1100
- cache[key] = value;
1101
- // write to cache
1102
- this.setCache(cache);
1103
- }
1104
- /**
1105
- * fetch the account entity
1106
- * @param accountKey - lookup key to fetch cache type AccountEntity
1107
- */
1108
- getAccount(accountKey) {
1109
- const account = this.getItem(accountKey);
1110
- if (msalCommon.AccountEntity.isAccountEntity(account)) {
1111
- return account;
1112
- }
1113
- return null;
1114
- }
1115
- /**
1116
- * set account entity
1117
- * @param account - cache value to be set of type AccountEntity
1118
- */
1119
- setAccount(account) {
1120
- const accountKey = account.generateAccountKey();
1121
- this.setItem(accountKey, account);
1122
- }
1123
- /**
1124
- * fetch the idToken credential
1125
- * @param idTokenKey - lookup key to fetch cache type IdTokenEntity
1126
- */
1127
- getIdTokenCredential(idTokenKey) {
1128
- const idToken = this.getItem(idTokenKey);
1129
- if (msalCommon.IdTokenEntity.isIdTokenEntity(idToken)) {
1130
- return idToken;
1131
- }
1132
- return null;
1133
- }
1134
- /**
1135
- * set idToken credential
1136
- * @param idToken - cache value to be set of type IdTokenEntity
1137
- */
1138
- setIdTokenCredential(idToken) {
1139
- const idTokenKey = idToken.generateCredentialKey();
1140
- this.setItem(idTokenKey, idToken);
1141
- }
1142
- /**
1143
- * fetch the accessToken credential
1144
- * @param accessTokenKey - lookup key to fetch cache type AccessTokenEntity
1145
- */
1146
- getAccessTokenCredential(accessTokenKey) {
1147
- const accessToken = this.getItem(accessTokenKey);
1148
- if (msalCommon.AccessTokenEntity.isAccessTokenEntity(accessToken)) {
1149
- return accessToken;
1150
- }
1151
- return null;
1152
- }
1153
- /**
1154
- * set accessToken credential
1155
- * @param accessToken - cache value to be set of type AccessTokenEntity
1156
- */
1157
- setAccessTokenCredential(accessToken) {
1158
- const accessTokenKey = accessToken.generateCredentialKey();
1159
- this.setItem(accessTokenKey, accessToken);
1160
- }
1161
- /**
1162
- * fetch the refreshToken credential
1163
- * @param refreshTokenKey - lookup key to fetch cache type RefreshTokenEntity
1164
- */
1165
- getRefreshTokenCredential(refreshTokenKey) {
1166
- const refreshToken = this.getItem(refreshTokenKey);
1167
- if (msalCommon.RefreshTokenEntity.isRefreshTokenEntity(refreshToken)) {
1168
- return refreshToken;
1169
- }
1170
- return null;
1171
- }
1172
- /**
1173
- * set refreshToken credential
1174
- * @param refreshToken - cache value to be set of type RefreshTokenEntity
1175
- */
1176
- setRefreshTokenCredential(refreshToken) {
1177
- const refreshTokenKey = refreshToken.generateCredentialKey();
1178
- this.setItem(refreshTokenKey, refreshToken);
1179
- }
1180
- /**
1181
- * fetch appMetadata entity from the platform cache
1182
- * @param appMetadataKey - lookup key to fetch cache type AppMetadataEntity
1183
- */
1184
- getAppMetadata(appMetadataKey) {
1185
- const appMetadata = this.getItem(appMetadataKey);
1186
- if (msalCommon.AppMetadataEntity.isAppMetadataEntity(appMetadataKey, appMetadata)) {
1187
- return appMetadata;
1188
- }
1189
- return null;
1190
- }
1191
- /**
1192
- * set appMetadata entity to the platform cache
1193
- * @param appMetadata - cache value to be set of type AppMetadataEntity
1194
- */
1195
- setAppMetadata(appMetadata) {
1196
- const appMetadataKey = appMetadata.generateAppMetadataKey();
1197
- this.setItem(appMetadataKey, appMetadata);
1198
- }
1199
- /**
1200
- * fetch server telemetry entity from the platform cache
1201
- * @param serverTelemetrykey - lookup key to fetch cache type ServerTelemetryEntity
1202
- */
1203
- getServerTelemetry(serverTelemetrykey) {
1204
- const serverTelemetryEntity = this.getItem(serverTelemetrykey);
1205
- if (serverTelemetryEntity && msalCommon.ServerTelemetryEntity.isServerTelemetryEntity(serverTelemetrykey, serverTelemetryEntity)) {
1206
- return serverTelemetryEntity;
1207
- }
1208
- return null;
1209
- }
1210
- /**
1211
- * set server telemetry entity to the platform cache
1212
- * @param serverTelemetryKey - lookup key to fetch cache type ServerTelemetryEntity
1213
- * @param serverTelemetry - cache value to be set of type ServerTelemetryEntity
1214
- */
1215
- setServerTelemetry(serverTelemetryKey, serverTelemetry) {
1216
- this.setItem(serverTelemetryKey, serverTelemetry);
1217
- }
1218
- /**
1219
- * fetch authority metadata entity from the platform cache
1220
- * @param key - lookup key to fetch cache type AuthorityMetadataEntity
1221
- */
1222
- getAuthorityMetadata(key) {
1223
- const authorityMetadataEntity = this.getItem(key);
1224
- if (authorityMetadataEntity && msalCommon.AuthorityMetadataEntity.isAuthorityMetadataEntity(key, authorityMetadataEntity)) {
1225
- return authorityMetadataEntity;
1226
- }
1227
- return null;
1228
- }
1229
- /**
1230
- * Get all authority metadata keys
1231
- */
1232
- getAuthorityMetadataKeys() {
1233
- return this.getKeys().filter(key => {
1234
- return this.isAuthorityMetadata(key);
1235
- });
1236
- }
1237
- /**
1238
- * set authority metadata entity to the platform cache
1239
- * @param key - lookup key to fetch cache type AuthorityMetadataEntity
1240
- * @param metadata - cache value to be set of type AuthorityMetadataEntity
1241
- */
1242
- setAuthorityMetadata(key, metadata) {
1243
- this.setItem(key, metadata);
1244
- }
1245
- /**
1246
- * fetch throttling entity from the platform cache
1247
- * @param throttlingCacheKey - lookup key to fetch cache type ThrottlingEntity
1248
- */
1249
- getThrottlingCache(throttlingCacheKey) {
1250
- const throttlingCache = this.getItem(throttlingCacheKey);
1251
- if (throttlingCache && msalCommon.ThrottlingEntity.isThrottlingEntity(throttlingCacheKey, throttlingCache)) {
1252
- return throttlingCache;
1253
- }
1254
- return null;
1255
- }
1256
- /**
1257
- * set throttling entity to the platform cache
1258
- * @param throttlingCacheKey - lookup key to fetch cache type ThrottlingEntity
1259
- * @param throttlingCache - cache value to be set of type ThrottlingEntity
1260
- */
1261
- setThrottlingCache(throttlingCacheKey, throttlingCache) {
1262
- this.setItem(throttlingCacheKey, throttlingCache);
1263
- }
1264
- /**
1265
- * Removes the cache item from memory with the given key.
1266
- * @param key - lookup key to remove a cache entity
1267
- * @param inMemory - key value map of the cache
1268
- */
1269
- removeItem(key) {
1270
- this.logger.tracePii(`Item key: ${key}`);
1271
- // read inMemoryCache
1272
- let result = false;
1273
- const cache = this.getCache();
1274
- if (!!cache[key]) {
1275
- delete cache[key];
1276
- result = true;
1277
- }
1278
- // write to the cache after removal
1279
- if (result) {
1280
- this.setCache(cache);
1281
- this.emitChange();
1282
- }
1283
- return result;
1284
- }
1285
- /**
1286
- * Checks whether key is in cache.
1287
- * @param key - look up key for a cache entity
1288
- */
1289
- containsKey(key) {
1290
- return this.getKeys().includes(key);
1291
- }
1292
- /**
1293
- * Gets all keys in window.
1294
- */
1295
- getKeys() {
1296
- this.logger.trace("Retrieving all cache keys");
1297
- // read cache
1298
- const cache = this.getCache();
1299
- return [...Object.keys(cache)];
1300
- }
1301
- /**
1302
- * Clears all cache entries created by MSAL (except tokens).
1303
- */
1304
- async clear() {
1305
- this.logger.trace("Clearing cache entries created by MSAL");
1306
- // read inMemoryCache
1307
- const cacheKeys = this.getKeys();
1308
- // delete each element
1309
- cacheKeys.forEach(key => {
1310
- this.removeItem(key);
1311
- });
1312
- this.emitChange();
1313
- }
1314
- /**
1315
- * Initialize in memory cache from an exisiting cache vault
1316
- * @param cache - blob formatted cache (JSON)
1317
- */
1318
- static generateInMemoryCache(cache) {
1319
- return Deserializer.deserializeAllCache(Deserializer.deserializeJSONBlob(cache));
1320
- }
1321
- /**
1322
- * retrieves the final JSON
1323
- * @param inMemoryCache - itemised cache read from the JSON
1324
- */
1325
- static generateJsonCache(inMemoryCache) {
1326
- return Serializer.serializeAllCache(inMemoryCache);
1327
- }
1328
- /**
1329
- * Updates a credential's cache key if the current cache key is outdated
1330
- */
1331
- updateCredentialCacheKey(currentCacheKey, credential) {
1332
- const updatedCacheKey = credential.generateCredentialKey();
1333
- if (currentCacheKey !== updatedCacheKey) {
1334
- const cacheItem = this.getItem(currentCacheKey);
1335
- if (cacheItem) {
1336
- this.removeItem(currentCacheKey);
1337
- this.setItem(updatedCacheKey, cacheItem);
1338
- this.logger.verbose(`Updated an outdated ${credential.credentialType} cache key`);
1339
- return updatedCacheKey;
1340
- } else {
1341
- this.logger.error(`Attempted to update an outdated ${credential.credentialType} cache key but no item matching the outdated key was found in storage`);
1342
- }
1343
- }
1344
- return currentCacheKey;
1345
- }
1346
- }
1347
-
1348
- /*
1349
- * Copyright (c) Microsoft Corporation. All rights reserved.
1350
- * Licensed under the MIT License.
1351
- */
1352
- const defaultSerializedCache = {
1353
- Account: {},
1354
- IdToken: {},
1355
- AccessToken: {},
1356
- RefreshToken: {},
1357
- AppMetadata: {}
1358
- };
1359
- /**
1360
- * In-memory token cache manager
1361
- * @public
1362
- */
1363
- class TokenCache {
1364
- constructor(storage, logger, cachePlugin) {
1365
- this.cacheHasChanged = false;
1366
- this.storage = storage;
1367
- this.storage.registerChangeEmitter(this.handleChangeEvent.bind(this));
1368
- if (cachePlugin) {
1369
- this.persistence = cachePlugin;
1370
- }
1371
- this.logger = logger;
1372
- }
1373
- /**
1374
- * Set to true if cache state has changed since last time serialize or writeToPersistence was called
1375
- */
1376
- hasChanged() {
1377
- return this.cacheHasChanged;
1378
- }
1379
- /**
1380
- * Serializes in memory cache to JSON
1381
- */
1382
- serialize() {
1383
- this.logger.trace("Serializing in-memory cache");
1384
- let finalState = Serializer.serializeAllCache(this.storage.getInMemoryCache());
1385
- // if cacheSnapshot not null or empty, merge
1386
- if (!msalCommon.StringUtils.isEmpty(this.cacheSnapshot)) {
1387
- this.logger.trace("Reading cache snapshot from disk");
1388
- finalState = this.mergeState(JSON.parse(this.cacheSnapshot), finalState);
1389
- } else {
1390
- this.logger.trace("No cache snapshot to merge");
1391
- }
1392
- this.cacheHasChanged = false;
1393
- return JSON.stringify(finalState);
1394
- }
1395
- /**
1396
- * Deserializes JSON to in-memory cache. JSON should be in MSAL cache schema format
1397
- * @param cache - blob formatted cache
1398
- */
1399
- deserialize(cache) {
1400
- this.logger.trace("Deserializing JSON to in-memory cache");
1401
- this.cacheSnapshot = cache;
1402
- if (!msalCommon.StringUtils.isEmpty(this.cacheSnapshot)) {
1403
- this.logger.trace("Reading cache snapshot from disk");
1404
- const deserializedCache = Deserializer.deserializeAllCache(this.overlayDefaults(JSON.parse(this.cacheSnapshot)));
1405
- this.storage.setInMemoryCache(deserializedCache);
1406
- } else {
1407
- this.logger.trace("No cache snapshot to deserialize");
1408
- }
1409
- }
1410
- /**
1411
- * Fetches the cache key-value map
1412
- */
1413
- getKVStore() {
1414
- return this.storage.getCache();
1415
- }
1416
- /**
1417
- * API that retrieves all accounts currently in cache to the user
1418
- */
1419
- async getAllAccounts() {
1420
- this.logger.trace("getAllAccounts called");
1421
- let cacheContext;
1422
- try {
1423
- if (this.persistence) {
1424
- cacheContext = new msalCommon.TokenCacheContext(this, false);
1425
- await this.persistence.beforeCacheAccess(cacheContext);
1426
- }
1427
- return this.storage.getAllAccounts();
1428
- } finally {
1429
- if (this.persistence && cacheContext) {
1430
- await this.persistence.afterCacheAccess(cacheContext);
1431
- }
1432
- }
1433
- }
1434
- /**
1435
- * Returns the signed in account matching homeAccountId.
1436
- * (the account object is created at the time of successful login)
1437
- * or null when no matching account is found
1438
- * @param homeAccountId - unique identifier for an account (uid.utid)
1439
- */
1440
- async getAccountByHomeId(homeAccountId) {
1441
- const allAccounts = await this.getAllAccounts();
1442
- if (!msalCommon.StringUtils.isEmpty(homeAccountId) && allAccounts && allAccounts.length) {
1443
- return allAccounts.filter(accountObj => accountObj.homeAccountId === homeAccountId)[0] || null;
1444
- } else {
1445
- return null;
1446
- }
1447
- }
1448
- /**
1449
- * Returns the signed in account matching localAccountId.
1450
- * (the account object is created at the time of successful login)
1451
- * or null when no matching account is found
1452
- * @param localAccountId - unique identifier of an account (sub/obj when homeAccountId cannot be populated)
1453
- */
1454
- async getAccountByLocalId(localAccountId) {
1455
- const allAccounts = await this.getAllAccounts();
1456
- if (!msalCommon.StringUtils.isEmpty(localAccountId) && allAccounts && allAccounts.length) {
1457
- return allAccounts.filter(accountObj => accountObj.localAccountId === localAccountId)[0] || null;
1458
- } else {
1459
- return null;
1460
- }
1461
- }
1462
- /**
1463
- * API to remove a specific account and the relevant data from cache
1464
- * @param account - AccountInfo passed by the user
1465
- */
1466
- async removeAccount(account) {
1467
- this.logger.trace("removeAccount called");
1468
- let cacheContext;
1469
- try {
1470
- if (this.persistence) {
1471
- cacheContext = new msalCommon.TokenCacheContext(this, true);
1472
- await this.persistence.beforeCacheAccess(cacheContext);
1473
- }
1474
- await this.storage.removeAccount(msalCommon.AccountEntity.generateAccountCacheKey(account));
1475
- } finally {
1476
- if (this.persistence && cacheContext) {
1477
- await this.persistence.afterCacheAccess(cacheContext);
1478
- }
1479
- }
1480
- }
1481
- /**
1482
- * Called when the cache has changed state.
1483
- */
1484
- handleChangeEvent() {
1485
- this.cacheHasChanged = true;
1486
- }
1487
- /**
1488
- * Merge in memory cache with the cache snapshot.
1489
- * @param oldState - cache before changes
1490
- * @param currentState - current cache state in the library
1491
- */
1492
- mergeState(oldState, currentState) {
1493
- this.logger.trace("Merging in-memory cache with cache snapshot");
1494
- const stateAfterRemoval = this.mergeRemovals(oldState, currentState);
1495
- return this.mergeUpdates(stateAfterRemoval, currentState);
1496
- }
1497
- /**
1498
- * Deep update of oldState based on newState values
1499
- * @param oldState - cache before changes
1500
- * @param newState - updated cache
1501
- */
1502
- mergeUpdates(oldState, newState) {
1503
- Object.keys(newState).forEach(newKey => {
1504
- const newValue = newState[newKey];
1505
- // if oldState does not contain value but newValue does, add it
1506
- if (!oldState.hasOwnProperty(newKey)) {
1507
- if (newValue !== null) {
1508
- oldState[newKey] = newValue;
1509
- }
1510
- } else {
1511
- // both oldState and newState contain the key, do deep update
1512
- const newValueNotNull = newValue !== null;
1513
- const newValueIsObject = typeof newValue === "object";
1514
- const newValueIsNotArray = !Array.isArray(newValue);
1515
- const oldStateNotUndefinedOrNull = typeof oldState[newKey] !== "undefined" && oldState[newKey] !== null;
1516
- if (newValueNotNull && newValueIsObject && newValueIsNotArray && oldStateNotUndefinedOrNull) {
1517
- this.mergeUpdates(oldState[newKey], newValue);
1518
- } else {
1519
- oldState[newKey] = newValue;
1520
- }
1521
- }
1522
- });
1523
- return oldState;
1524
- }
1525
- /**
1526
- * Removes entities in oldState that the were removed from newState. If there are any unknown values in root of
1527
- * oldState that are not recognized, they are left untouched.
1528
- * @param oldState - cache before changes
1529
- * @param newState - updated cache
1530
- */
1531
- mergeRemovals(oldState, newState) {
1532
- this.logger.trace("Remove updated entries in cache");
1533
- const accounts = oldState.Account ? this.mergeRemovalsDict(oldState.Account, newState.Account) : oldState.Account;
1534
- const accessTokens = oldState.AccessToken ? this.mergeRemovalsDict(oldState.AccessToken, newState.AccessToken) : oldState.AccessToken;
1535
- const refreshTokens = oldState.RefreshToken ? this.mergeRemovalsDict(oldState.RefreshToken, newState.RefreshToken) : oldState.RefreshToken;
1536
- const idTokens = oldState.IdToken ? this.mergeRemovalsDict(oldState.IdToken, newState.IdToken) : oldState.IdToken;
1537
- const appMetadata = oldState.AppMetadata ? this.mergeRemovalsDict(oldState.AppMetadata, newState.AppMetadata) : oldState.AppMetadata;
1538
- return {
1539
- ...oldState,
1540
- Account: accounts,
1541
- AccessToken: accessTokens,
1542
- RefreshToken: refreshTokens,
1543
- IdToken: idTokens,
1544
- AppMetadata: appMetadata
1545
- };
1546
- }
1547
- /**
1548
- * Helper to merge new cache with the old one
1549
- * @param oldState - cache before changes
1550
- * @param newState - updated cache
1551
- */
1552
- mergeRemovalsDict(oldState, newState) {
1553
- const finalState = {
1554
- ...oldState
1555
- };
1556
- Object.keys(oldState).forEach(oldKey => {
1557
- if (!newState || !newState.hasOwnProperty(oldKey)) {
1558
- delete finalState[oldKey];
1559
- }
1560
- });
1561
- return finalState;
1562
- }
1563
- /**
1564
- * Helper to overlay as a part of cache merge
1565
- * @param passedInCache - cache read from the blob
1566
- */
1567
- overlayDefaults(passedInCache) {
1568
- this.logger.trace("Overlaying input cache with the default cache");
1569
- return {
1570
- Account: {
1571
- ...defaultSerializedCache.Account,
1572
- ...passedInCache.Account
1573
- },
1574
- IdToken: {
1575
- ...defaultSerializedCache.IdToken,
1576
- ...passedInCache.IdToken
1577
- },
1578
- AccessToken: {
1579
- ...defaultSerializedCache.AccessToken,
1580
- ...passedInCache.AccessToken
1581
- },
1582
- RefreshToken: {
1583
- ...defaultSerializedCache.RefreshToken,
1584
- ...passedInCache.RefreshToken
1585
- },
1586
- AppMetadata: {
1587
- ...defaultSerializedCache.AppMetadata,
1588
- ...passedInCache.AppMetadata
1589
- }
1590
- };
1591
- }
1592
- }
1593
-
1594
- /* eslint-disable header/header */
1595
- const name = "@azure/msal-node";
1596
- const version = "1.15.0";
1597
-
1598
- /*
1599
- * Copyright (c) Microsoft Corporation. All rights reserved.
1600
- * Licensed under the MIT License.
1601
- */
1602
- /**
1603
- * NodeAuthErrorMessage class containing string constants used by error codes and messages.
1604
- */
1605
- const NodeAuthErrorMessage = {
1606
- invalidLoopbackAddressType: {
1607
- code: "invalid_loopback_server_address_type",
1608
- desc: "Loopback server address is not type string. This is unexpected."
1609
- },
1610
- unableToLoadRedirectUri: {
1611
- code: "unable_to_load_redirectUrl",
1612
- desc: "Loopback server callback was invoked without a url. This is unexpected."
1613
- },
1614
- noAuthCodeInResponse: {
1615
- code: "no_auth_code_in_response",
1616
- desc: "No auth code found in the server response. Please check your network trace to determine what happened."
1617
- },
1618
- noLoopbackServerExists: {
1619
- code: "no_loopback_server_exists",
1620
- desc: "No loopback server exists yet."
1621
- },
1622
- loopbackServerAlreadyExists: {
1623
- code: "loopback_server_already_exists",
1624
- desc: "Loopback server already exists. Cannot create another."
1625
- },
1626
- loopbackServerTimeout: {
1627
- code: "loopback_server_timeout",
1628
- desc: "Timed out waiting for auth code listener to be registered."
1629
- },
1630
- stateNotFoundError: {
1631
- code: "state_not_found",
1632
- desc: "State not found. Please verify that the request originated from msal."
1633
- }
1634
- };
1635
- class NodeAuthError extends msalCommon.AuthError {
1636
- constructor(errorCode, errorMessage) {
1637
- super(errorCode, errorMessage);
1638
- this.name = "NodeAuthError";
1639
- }
1640
- /**
1641
- * Creates an error thrown if loopback server address is of type string.
1642
- */
1643
- static createInvalidLoopbackAddressTypeError() {
1644
- return new NodeAuthError(NodeAuthErrorMessage.invalidLoopbackAddressType.code, `${NodeAuthErrorMessage.invalidLoopbackAddressType.desc}`);
1645
- }
1646
- /**
1647
- * Creates an error thrown if the loopback server is unable to get a url.
1648
- */
1649
- static createUnableToLoadRedirectUrlError() {
1650
- return new NodeAuthError(NodeAuthErrorMessage.unableToLoadRedirectUri.code, `${NodeAuthErrorMessage.unableToLoadRedirectUri.desc}`);
1651
- }
1652
- /**
1653
- * Creates an error thrown if the server response does not contain an auth code.
1654
- */
1655
- static createNoAuthCodeInResponseError() {
1656
- return new NodeAuthError(NodeAuthErrorMessage.noAuthCodeInResponse.code, `${NodeAuthErrorMessage.noAuthCodeInResponse.desc}`);
1657
- }
1658
- /**
1659
- * Creates an error thrown if the loopback server has not been spun up yet.
1660
- */
1661
- static createNoLoopbackServerExistsError() {
1662
- return new NodeAuthError(NodeAuthErrorMessage.noLoopbackServerExists.code, `${NodeAuthErrorMessage.noLoopbackServerExists.desc}`);
1663
- }
1664
- /**
1665
- * Creates an error thrown if a loopback server already exists when attempting to create another one.
1666
- */
1667
- static createLoopbackServerAlreadyExistsError() {
1668
- return new NodeAuthError(NodeAuthErrorMessage.loopbackServerAlreadyExists.code, `${NodeAuthErrorMessage.loopbackServerAlreadyExists.desc}`);
1669
- }
1670
- /**
1671
- * Creates an error thrown if the loopback server times out registering the auth code listener.
1672
- */
1673
- static createLoopbackServerTimeoutError() {
1674
- return new NodeAuthError(NodeAuthErrorMessage.loopbackServerTimeout.code, `${NodeAuthErrorMessage.loopbackServerTimeout.desc}`);
1675
- }
1676
- /**
1677
- * Creates an error thrown when the state is not present.
1678
- */
1679
- static createStateNotFoundError() {
1680
- return new NodeAuthError(NodeAuthErrorMessage.stateNotFoundError.code, NodeAuthErrorMessage.stateNotFoundError.desc);
1681
- }
1682
- }
1683
-
1684
- /*
1685
- * Copyright (c) Microsoft Corporation. All rights reserved.
1686
- * Licensed under the MIT License.
1687
- */
1688
- /**
1689
- * Base abstract class for all ClientApplications - public and confidential
1690
- * @public
1691
- */
1692
- class ClientApplication {
1693
- /**
1694
- * Constructor for the ClientApplication
1695
- */
1696
- constructor(configuration) {
1697
- this.config = buildAppConfiguration(configuration);
1698
- this.cryptoProvider = new CryptoProvider();
1699
- this.logger = new msalCommon.Logger(this.config.system.loggerOptions, name, version);
1700
- this.storage = new NodeStorage(this.logger, this.config.auth.clientId, this.cryptoProvider);
1701
- this.tokenCache = new TokenCache(this.storage, this.logger, this.config.cache.cachePlugin);
1702
- }
1703
- /**
1704
- * Creates the URL of the authorization request, letting the user input credentials and consent to the
1705
- * application. The URL targets the /authorize endpoint of the authority configured in the
1706
- * application object.
1707
- *
1708
- * Once the user inputs their credentials and consents, the authority will send a response to the redirect URI
1709
- * sent in the request and should contain an authorization code, which can then be used to acquire tokens via
1710
- * `acquireTokenByCode(AuthorizationCodeRequest)`.
1711
- */
1712
- async getAuthCodeUrl(request) {
1713
- this.logger.info("getAuthCodeUrl called", request.correlationId);
1714
- const validRequest = {
1715
- ...request,
1716
- ...(await this.initializeBaseRequest(request)),
1717
- responseMode: request.responseMode || msalCommon.ResponseMode.QUERY,
1718
- authenticationScheme: msalCommon.AuthenticationScheme.BEARER
1719
- };
1720
- const authClientConfig = await this.buildOauthClientConfiguration(validRequest.authority, validRequest.correlationId, undefined, undefined, request.azureCloudOptions);
1721
- const authorizationCodeClient = new msalCommon.AuthorizationCodeClient(authClientConfig);
1722
- this.logger.verbose("Auth code client created", validRequest.correlationId);
1723
- return authorizationCodeClient.getAuthCodeUrl(validRequest);
1724
- }
1725
- /**
1726
- * Acquires a token by exchanging the Authorization Code received from the first step of OAuth2.0
1727
- * Authorization Code flow.
1728
- *
1729
- * `getAuthCodeUrl(AuthorizationCodeUrlRequest)` can be used to create the URL for the first step of OAuth2.0
1730
- * Authorization Code flow. Ensure that values for redirectUri and scopes in AuthorizationCodeUrlRequest and
1731
- * AuthorizationCodeRequest are the same.
1732
- */
1733
- async acquireTokenByCode(request, authCodePayLoad) {
1734
- this.logger.info("acquireTokenByCode called");
1735
- if (request.state && authCodePayLoad) {
1736
- this.logger.info("acquireTokenByCode - validating state");
1737
- this.validateState(request.state, authCodePayLoad.state || "");
1738
- // eslint-disable-next-line no-param-reassign
1739
- authCodePayLoad = {
1740
- ...authCodePayLoad,
1741
- state: ""
1742
- };
1743
- }
1744
- const validRequest = {
1745
- ...request,
1746
- ...(await this.initializeBaseRequest(request)),
1747
- authenticationScheme: msalCommon.AuthenticationScheme.BEARER
1748
- };
1749
- const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenByCode, validRequest.correlationId);
1750
- try {
1751
- const authClientConfig = await this.buildOauthClientConfiguration(validRequest.authority, validRequest.correlationId, serverTelemetryManager, undefined, request.azureCloudOptions);
1752
- const authorizationCodeClient = new msalCommon.AuthorizationCodeClient(authClientConfig);
1753
- this.logger.verbose("Auth code client created", validRequest.correlationId);
1754
- return authorizationCodeClient.acquireToken(validRequest, authCodePayLoad);
1755
- } catch (e) {
1756
- if (e instanceof msalCommon.AuthError) {
1757
- e.setCorrelationId(validRequest.correlationId);
1758
- }
1759
- serverTelemetryManager.cacheFailedRequest(e);
1760
- throw e;
1761
- }
1762
- }
1763
- /**
1764
- * Acquires a token by exchanging the refresh token provided for a new set of tokens.
1765
- *
1766
- * This API is provided only for scenarios where you would like to migrate from ADAL to MSAL. Otherwise, it is
1767
- * recommended that you use `acquireTokenSilent()` for silent scenarios. When using `acquireTokenSilent()`, MSAL will
1768
- * handle the caching and refreshing of tokens automatically.
1769
- */
1770
- async acquireTokenByRefreshToken(request) {
1771
- this.logger.info("acquireTokenByRefreshToken called", request.correlationId);
1772
- const validRequest = {
1773
- ...request,
1774
- ...(await this.initializeBaseRequest(request)),
1775
- authenticationScheme: msalCommon.AuthenticationScheme.BEARER
1776
- };
1777
- const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenByRefreshToken, validRequest.correlationId);
1778
- try {
1779
- const refreshTokenClientConfig = await this.buildOauthClientConfiguration(validRequest.authority, validRequest.correlationId, serverTelemetryManager, undefined, request.azureCloudOptions);
1780
- const refreshTokenClient = new msalCommon.RefreshTokenClient(refreshTokenClientConfig);
1781
- this.logger.verbose("Refresh token client created", validRequest.correlationId);
1782
- return refreshTokenClient.acquireToken(validRequest);
1783
- } catch (e) {
1784
- if (e instanceof msalCommon.AuthError) {
1785
- e.setCorrelationId(validRequest.correlationId);
1786
- }
1787
- serverTelemetryManager.cacheFailedRequest(e);
1788
- throw e;
1789
- }
1790
- }
1791
- /**
1792
- * Acquires a token silently when a user specifies the account the token is requested for.
1793
- *
1794
- * This API expects the user to provide an account object and looks into the cache to retrieve the token if present.
1795
- * There is also an optional "forceRefresh" boolean the user can send to bypass the cache for access_token and id_token.
1796
- * In case the refresh_token is expired or not found, an error is thrown
1797
- * and the guidance is for the user to call any interactive token acquisition API (eg: `acquireTokenByCode()`).
1798
- */
1799
- async acquireTokenSilent(request) {
1800
- const validRequest = {
1801
- ...request,
1802
- ...(await this.initializeBaseRequest(request)),
1803
- forceRefresh: request.forceRefresh || false
1804
- };
1805
- const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenSilent, validRequest.correlationId, validRequest.forceRefresh);
1806
- try {
1807
- const silentFlowClientConfig = await this.buildOauthClientConfiguration(validRequest.authority, validRequest.correlationId, serverTelemetryManager, undefined, request.azureCloudOptions);
1808
- const silentFlowClient = new msalCommon.SilentFlowClient(silentFlowClientConfig);
1809
- this.logger.verbose("Silent flow client created", validRequest.correlationId);
1810
- return silentFlowClient.acquireToken(validRequest);
1811
- } catch (e) {
1812
- if (e instanceof msalCommon.AuthError) {
1813
- e.setCorrelationId(validRequest.correlationId);
1814
- }
1815
- serverTelemetryManager.cacheFailedRequest(e);
1816
- throw e;
1817
- }
1818
- }
1819
- /**
1820
- * Acquires tokens with password grant by exchanging client applications username and password for credentials
1821
- *
1822
- * The latest OAuth 2.0 Security Best Current Practice disallows the password grant entirely.
1823
- * More details on this recommendation at https://tools.ietf.org/html/draft-ietf-oauth-security-topics-13#section-3.4
1824
- * Microsoft's documentation and recommendations are at:
1825
- * https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-authentication-flows#usernamepassword
1826
- *
1827
- * @param request - UsenamePasswordRequest
1828
- */
1829
- async acquireTokenByUsernamePassword(request) {
1830
- this.logger.info("acquireTokenByUsernamePassword called", request.correlationId);
1831
- const validRequest = {
1832
- ...request,
1833
- ...(await this.initializeBaseRequest(request))
1834
- };
1835
- const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenByUsernamePassword, validRequest.correlationId);
1836
- try {
1837
- const usernamePasswordClientConfig = await this.buildOauthClientConfiguration(validRequest.authority, validRequest.correlationId, serverTelemetryManager, undefined, request.azureCloudOptions);
1838
- const usernamePasswordClient = new msalCommon.UsernamePasswordClient(usernamePasswordClientConfig);
1839
- this.logger.verbose("Username password client created", validRequest.correlationId);
1840
- return usernamePasswordClient.acquireToken(validRequest);
1841
- } catch (e) {
1842
- if (e instanceof msalCommon.AuthError) {
1843
- e.setCorrelationId(validRequest.correlationId);
1844
- }
1845
- serverTelemetryManager.cacheFailedRequest(e);
1846
- throw e;
1847
- }
1848
- }
1849
- /**
1850
- * Gets the token cache for the application.
1851
- */
1852
- getTokenCache() {
1853
- this.logger.info("getTokenCache called");
1854
- return this.tokenCache;
1855
- }
1856
- /**
1857
- * Validates OIDC state by comparing the user cached state with the state received from the server.
1858
- *
1859
- * This API is provided for scenarios where you would use OAuth2.0 state parameter to mitigate against
1860
- * CSRF attacks.
1861
- * For more information about state, visit https://datatracker.ietf.org/doc/html/rfc6819#section-3.6.
1862
- * @param state
1863
- * @param cachedState
1864
- */
1865
- validateState(state, cachedState) {
1866
- if (!state) {
1867
- throw NodeAuthError.createStateNotFoundError();
1868
- }
1869
- if (state !== cachedState) {
1870
- throw msalCommon.ClientAuthError.createStateMismatchError();
1871
- }
1872
- }
1873
- /**
1874
- * Returns the logger instance
1875
- */
1876
- getLogger() {
1877
- return this.logger;
1878
- }
1879
- /**
1880
- * Replaces the default logger set in configurations with new Logger with new configurations
1881
- * @param logger - Logger instance
1882
- */
1883
- setLogger(logger) {
1884
- this.logger = logger;
1885
- }
1886
- /**
1887
- * Builds the common configuration to be passed to the common component based on the platform configurarion
1888
- * @param authority - user passed authority in configuration
1889
- * @param serverTelemetryManager - initializes servertelemetry if passed
1890
- */
1891
- async buildOauthClientConfiguration(authority, requestCorrelationId, serverTelemetryManager, azureRegionConfiguration, azureCloudOptions) {
1892
- this.logger.verbose("buildOauthClientConfiguration called", requestCorrelationId);
1893
- // precedence - azureCloudInstance + tenant >> authority and request >> config
1894
- const userAzureCloudOptions = azureCloudOptions ? azureCloudOptions : this.config.auth.azureCloudOptions;
1895
- // using null assertion operator as we ensure that all config values have default values in buildConfiguration()
1896
- this.logger.verbose(`building oauth client configuration with the authority: ${authority}`, requestCorrelationId);
1897
- const discoveredAuthority = await this.createAuthority(authority, azureRegionConfiguration, requestCorrelationId, userAzureCloudOptions);
1898
- serverTelemetryManager == null ? void 0 : serverTelemetryManager.updateRegionDiscoveryMetadata(discoveredAuthority.regionDiscoveryMetadata);
1899
- const clientConfiguration = {
1900
- authOptions: {
1901
- clientId: this.config.auth.clientId,
1902
- authority: discoveredAuthority,
1903
- clientCapabilities: this.config.auth.clientCapabilities
1904
- },
1905
- loggerOptions: {
1906
- logLevel: this.config.system.loggerOptions.logLevel,
1907
- loggerCallback: this.config.system.loggerOptions.loggerCallback,
1908
- piiLoggingEnabled: this.config.system.loggerOptions.piiLoggingEnabled,
1909
- correlationId: requestCorrelationId
1910
- },
1911
- cryptoInterface: this.cryptoProvider,
1912
- networkInterface: this.config.system.networkClient,
1913
- storageInterface: this.storage,
1914
- serverTelemetryManager: serverTelemetryManager,
1915
- clientCredentials: {
1916
- clientSecret: this.clientSecret,
1917
- clientAssertion: this.clientAssertion ? this.getClientAssertion(discoveredAuthority) : undefined
1918
- },
1919
- libraryInfo: {
1920
- sku: Constants.MSAL_SKU,
1921
- version: version,
1922
- cpu: process.arch || msalCommon.Constants.EMPTY_STRING,
1923
- os: process.platform || msalCommon.Constants.EMPTY_STRING
1924
- },
1925
- telemetry: this.config.telemetry,
1926
- persistencePlugin: this.config.cache.cachePlugin,
1927
- serializableCache: this.tokenCache
1928
- };
1929
- return clientConfiguration;
1930
- }
1931
- getClientAssertion(authority) {
1932
- return {
1933
- assertion: this.clientAssertion.getJwt(this.cryptoProvider, this.config.auth.clientId, authority.tokenEndpoint),
1934
- assertionType: Constants.JWT_BEARER_ASSERTION_TYPE
1935
- };
1936
- }
1937
- /**
1938
- * Generates a request with the default scopes & generates a correlationId.
1939
- * @param authRequest - BaseAuthRequest for initialization
1940
- */
1941
- async initializeBaseRequest(authRequest) {
1942
- this.logger.verbose("initializeRequestScopes called", authRequest.correlationId);
1943
- // Default authenticationScheme to Bearer, log that POP isn't supported yet
1944
- if (authRequest.authenticationScheme && authRequest.authenticationScheme === msalCommon.AuthenticationScheme.POP) {
1945
- this.logger.verbose("Authentication Scheme 'pop' is not supported yet, setting Authentication Scheme to 'Bearer' for request", authRequest.correlationId);
1946
- }
1947
- authRequest.authenticationScheme = msalCommon.AuthenticationScheme.BEARER;
1948
- // Set requested claims hash if claims were requested
1949
- if (authRequest.claims && !msalCommon.StringUtils.isEmpty(authRequest.claims)) {
1950
- authRequest.requestedClaimsHash = await this.cryptoProvider.hashString(authRequest.claims);
1951
- }
1952
- return {
1953
- ...authRequest,
1954
- scopes: [...(authRequest && authRequest.scopes || []), ...msalCommon.OIDC_DEFAULT_SCOPES],
1955
- correlationId: authRequest && authRequest.correlationId || this.cryptoProvider.createNewGuid(),
1956
- authority: authRequest.authority || this.config.auth.authority
1957
- };
1958
- }
1959
- /**
1960
- * Initializes the server telemetry payload
1961
- * @param apiId - Id for a specific request
1962
- * @param correlationId - GUID
1963
- * @param forceRefresh - boolean to indicate network call
1964
- */
1965
- initializeServerTelemetryManager(apiId, correlationId, forceRefresh) {
1966
- const telemetryPayload = {
1967
- clientId: this.config.auth.clientId,
1968
- correlationId: correlationId,
1969
- apiId: apiId,
1970
- forceRefresh: forceRefresh || false
1971
- };
1972
- return new msalCommon.ServerTelemetryManager(telemetryPayload, this.storage);
1973
- }
1974
- /**
1975
- * Create authority instance. If authority not passed in request, default to authority set on the application
1976
- * object. If no authority set in application object, then default to common authority.
1977
- * @param authorityString - authority from user configuration
1978
- */
1979
- async createAuthority(authorityString, azureRegionConfiguration, requestCorrelationId, azureCloudOptions) {
1980
- this.logger.verbose("createAuthority called", requestCorrelationId);
1981
- // build authority string based on auth params - azureCloudInstance is prioritized if provided
1982
- const authorityUrl = msalCommon.Authority.generateAuthority(authorityString, azureCloudOptions);
1983
- const authorityOptions = {
1984
- protocolMode: this.config.auth.protocolMode,
1985
- knownAuthorities: this.config.auth.knownAuthorities,
1986
- cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
1987
- authorityMetadata: this.config.auth.authorityMetadata,
1988
- azureRegionConfiguration,
1989
- skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache
1990
- };
1991
- return await msalCommon.AuthorityFactory.createDiscoveredInstance(authorityUrl, this.config.system.networkClient, this.storage, authorityOptions, this.logger);
1992
- }
1993
- /**
1994
- * Clear the cache
1995
- */
1996
- clearCache() {
1997
- this.storage.clear();
1998
- }
1999
- }
2000
-
2001
- /*
2002
- * Copyright (c) Microsoft Corporation. All rights reserved.
2003
- * Licensed under the MIT License.
2004
- */
2005
- class LoopbackClient {
2006
- /**
2007
- * Spins up a loopback server which returns the server response when the localhost redirectUri is hit
2008
- * @param successTemplate
2009
- * @param errorTemplate
2010
- * @returns
2011
- */
2012
- async listenForAuthCode(successTemplate, errorTemplate) {
2013
- if (!!this.server) {
2014
- throw NodeAuthError.createLoopbackServerAlreadyExistsError();
2015
- }
2016
- const authCodeListener = new Promise((resolve, reject) => {
2017
- this.server = http.createServer(async (req, res) => {
2018
- const url = req.url;
2019
- if (!url) {
2020
- res.end(errorTemplate || "Error occurred loading redirectUrl");
2021
- reject(NodeAuthError.createUnableToLoadRedirectUrlError());
2022
- return;
2023
- } else if (url === msalCommon.Constants.FORWARD_SLASH) {
2024
- res.end(successTemplate || "Auth code was successfully acquired. You can close this window now.");
2025
- return;
2026
- }
2027
- const authCodeResponse = msalCommon.UrlString.getDeserializedQueryString(url);
2028
- if (authCodeResponse.code) {
2029
- const redirectUri = await this.getRedirectUri();
2030
- res.writeHead(HttpStatus.REDIRECT, {
2031
- location: redirectUri
2032
- }); // Prevent auth code from being saved in the browser history
2033
- res.end();
2034
- }
2035
- resolve(authCodeResponse);
2036
- });
2037
- this.server.listen(0); // Listen on any available port
2038
- });
2039
- // Wait for server to be listening
2040
- await new Promise(resolve => {
2041
- let ticks = 0;
2042
- const id = setInterval(() => {
2043
- if (LOOPBACK_SERVER_CONSTANTS.TIMEOUT_MS / LOOPBACK_SERVER_CONSTANTS.INTERVAL_MS < ticks) {
2044
- throw NodeAuthError.createLoopbackServerTimeoutError();
2045
- }
2046
- if (this.server.listening) {
2047
- clearInterval(id);
2048
- resolve();
2049
- }
2050
- ticks++;
2051
- }, LOOPBACK_SERVER_CONSTANTS.INTERVAL_MS);
2052
- });
2053
- return authCodeListener;
2054
- }
2055
- /**
2056
- * Get the port that the loopback server is running on
2057
- * @returns
2058
- */
2059
- getRedirectUri() {
2060
- if (!this.server) {
2061
- throw NodeAuthError.createNoLoopbackServerExistsError();
2062
- }
2063
- const address = this.server.address();
2064
- if (!address || typeof address === "string" || !address.port) {
2065
- this.closeServer();
2066
- throw NodeAuthError.createInvalidLoopbackAddressTypeError();
2067
- }
2068
- const port = address && address.port;
2069
- return `${Constants.HTTP_PROTOCOL}${Constants.LOCALHOST}:${port}`;
2070
- }
2071
- /**
2072
- * Close the loopback server
2073
- */
2074
- closeServer() {
2075
- if (!!this.server) {
2076
- this.server.close();
2077
- }
2078
- }
2079
- }
2080
-
2081
- /*
2082
- * Copyright (c) Microsoft Corporation. All rights reserved.
2083
- * Licensed under the MIT License.
2084
- */
2085
- /**
2086
- * This class is to be used to acquire tokens for public client applications (desktop, mobile). Public client applications
2087
- * are not trusted to safely store application secrets, and therefore can only request tokens in the name of an user.
2088
- * @public
2089
- */
2090
- class PublicClientApplication extends ClientApplication {
2091
- /**
2092
- * Important attributes in the Configuration object for auth are:
2093
- * - clientID: the application ID of your application. You can obtain one by registering your application with our Application registration portal.
2094
- * - authority: the authority URL for your application.
2095
- *
2096
- * AAD authorities are of the form https://login.microsoftonline.com/\{Enter_the_Tenant_Info_Here\}.
2097
- * - If your application supports Accounts in one organizational directory, replace "Enter_the_Tenant_Info_Here" value with the Tenant Id or Tenant name (for example, contoso.microsoft.com).
2098
- * - If your application supports Accounts in any organizational directory, replace "Enter_the_Tenant_Info_Here" value with organizations.
2099
- * - If your application supports Accounts in any organizational directory and personal Microsoft accounts, replace "Enter_the_Tenant_Info_Here" value with common.
2100
- * - To restrict support to Personal Microsoft accounts only, replace "Enter_the_Tenant_Info_Here" value with consumers.
2101
- *
2102
- * Azure B2C authorities are of the form https://\{instance\}/\{tenant\}/\{policy\}. Each policy is considered
2103
- * its own authority. You will have to set the all of the knownAuthorities at the time of the client application
2104
- * construction.
2105
- *
2106
- * ADFS authorities are of the form https://\{instance\}/adfs.
2107
- */
2108
- constructor(configuration) {
2109
- super(configuration);
2110
- }
2111
- /**
2112
- * Acquires a token from the authority using OAuth2.0 device code flow.
2113
- * This flow is designed for devices that do not have access to a browser or have input constraints.
2114
- * The authorization server issues a DeviceCode object with a verification code, an end-user code,
2115
- * and the end-user verification URI. The DeviceCode object is provided through a callback, and the end-user should be
2116
- * instructed to use another device to navigate to the verification URI to input credentials.
2117
- * Since the client cannot receive incoming requests, it polls the authorization server repeatedly
2118
- * until the end-user completes input of credentials.
2119
- */
2120
- async acquireTokenByDeviceCode(request) {
2121
- this.logger.info("acquireTokenByDeviceCode called", request.correlationId);
2122
- const validRequest = Object.assign(request, await this.initializeBaseRequest(request));
2123
- const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenByDeviceCode, validRequest.correlationId);
2124
- try {
2125
- const deviceCodeConfig = await this.buildOauthClientConfiguration(validRequest.authority, validRequest.correlationId, serverTelemetryManager, undefined, request.azureCloudOptions);
2126
- const deviceCodeClient = new msalCommon.DeviceCodeClient(deviceCodeConfig);
2127
- this.logger.verbose("Device code client created", validRequest.correlationId);
2128
- return deviceCodeClient.acquireToken(validRequest);
2129
- } catch (e) {
2130
- if (e instanceof msalCommon.AuthError) {
2131
- e.setCorrelationId(validRequest.correlationId);
2132
- }
2133
- serverTelemetryManager.cacheFailedRequest(e);
2134
- throw e;
2135
- }
2136
- }
2137
- /**
2138
- * Acquires a token by requesting an Authorization code then exchanging it for a token.
2139
- */
2140
- async acquireTokenInteractive(request) {
2141
- const {
2142
- verifier,
2143
- challenge
2144
- } = await this.cryptoProvider.generatePkceCodes();
2145
- const {
2146
- openBrowser,
2147
- successTemplate,
2148
- errorTemplate,
2149
- ...remainingProperties
2150
- } = request;
2151
- const loopbackClient = new LoopbackClient();
2152
- const authCodeListener = loopbackClient.listenForAuthCode(successTemplate, errorTemplate);
2153
- const redirectUri = loopbackClient.getRedirectUri();
2154
- const validRequest = {
2155
- ...remainingProperties,
2156
- scopes: request.scopes || msalCommon.OIDC_DEFAULT_SCOPES,
2157
- redirectUri: redirectUri,
2158
- responseMode: msalCommon.ResponseMode.QUERY,
2159
- codeChallenge: challenge,
2160
- codeChallengeMethod: msalCommon.CodeChallengeMethodValues.S256
2161
- };
2162
- const authCodeUrl = await this.getAuthCodeUrl(validRequest);
2163
- await openBrowser(authCodeUrl);
2164
- const authCodeResponse = await authCodeListener.finally(() => {
2165
- loopbackClient.closeServer();
2166
- });
2167
- if (authCodeResponse.error) {
2168
- throw new msalCommon.ServerError(authCodeResponse.error, authCodeResponse.error_description, authCodeResponse.suberror);
2169
- } else if (!authCodeResponse.code) {
2170
- throw NodeAuthError.createNoAuthCodeInResponseError();
2171
- }
2172
- const clientInfo = authCodeResponse.client_info;
2173
- const tokenRequest = {
2174
- code: authCodeResponse.code,
2175
- codeVerifier: verifier,
2176
- clientInfo: clientInfo || msalCommon.Constants.EMPTY_STRING,
2177
- ...validRequest
2178
- };
2179
- return this.acquireTokenByCode(tokenRequest);
2180
- }
2181
- }
2182
-
2183
- /*
2184
- * Copyright (c) Microsoft Corporation. All rights reserved.
2185
- * Licensed under the MIT License.
2186
- */
2187
- /**
2188
- * Client assertion of type jwt-bearer used in confidential client flows
2189
- * @public
2190
- */
2191
- class ClientAssertion {
2192
- /**
2193
- * Initialize the ClientAssertion class from the clientAssertion passed by the user
2194
- * @param assertion - refer https://tools.ietf.org/html/rfc7521
2195
- */
2196
- static fromAssertion(assertion) {
2197
- const clientAssertion = new ClientAssertion();
2198
- clientAssertion.jwt = assertion;
2199
- return clientAssertion;
2200
- }
2201
- /**
2202
- * Initialize the ClientAssertion class from the certificate passed by the user
2203
- * @param thumbprint - identifier of a certificate
2204
- * @param privateKey - secret key
2205
- * @param publicCertificate - electronic document provided to prove the ownership of the public key
2206
- */
2207
- static fromCertificate(thumbprint, privateKey, publicCertificate) {
2208
- const clientAssertion = new ClientAssertion();
2209
- clientAssertion.privateKey = privateKey;
2210
- clientAssertion.thumbprint = thumbprint;
2211
- if (publicCertificate) {
2212
- clientAssertion.publicCertificate = this.parseCertificate(publicCertificate);
2213
- }
2214
- return clientAssertion;
2215
- }
2216
- /**
2217
- * Update JWT for certificate based clientAssertion, if passed by the user, uses it as is
2218
- * @param cryptoProvider - library's crypto helper
2219
- * @param issuer - iss claim
2220
- * @param jwtAudience - aud claim
2221
- */
2222
- getJwt(cryptoProvider, issuer, jwtAudience) {
2223
- // if assertion was created from certificate, check if jwt is expired and create new one.
2224
- if (this.privateKey && this.thumbprint) {
2225
- if (this.jwt && !this.isExpired() && issuer === this.issuer && jwtAudience === this.jwtAudience) {
2226
- return this.jwt;
2227
- }
2228
- return this.createJwt(cryptoProvider, issuer, jwtAudience);
2229
- }
2230
- /*
2231
- * if assertion was created by caller, then we just append it. It is up to the caller to
2232
- * ensure that it contains necessary claims and that it is not expired.
2233
- */
2234
- if (this.jwt) {
2235
- return this.jwt;
2236
- }
2237
- throw msalCommon.ClientAuthError.createInvalidAssertionError();
2238
- }
2239
- /**
2240
- * JWT format and required claims specified: https://tools.ietf.org/html/rfc7523#section-3
2241
- */
2242
- createJwt(cryptoProvider, issuer, jwtAudience) {
2243
- this.issuer = issuer;
2244
- this.jwtAudience = jwtAudience;
2245
- const issuedAt = msalCommon.TimeUtils.nowSeconds();
2246
- this.expirationTime = issuedAt + 600;
2247
- const header = {
2248
- alg: JwtConstants.RSA_256,
2249
- x5t: EncodingUtils.base64EncodeUrl(this.thumbprint, "hex")
2250
- };
2251
- if (this.publicCertificate) {
2252
- Object.assign(header, {
2253
- x5c: this.publicCertificate
2254
- });
2255
- }
2256
- const payload = {
2257
- [JwtConstants.AUDIENCE]: this.jwtAudience,
2258
- [JwtConstants.EXPIRATION_TIME]: this.expirationTime,
2259
- [JwtConstants.ISSUER]: this.issuer,
2260
- [JwtConstants.SUBJECT]: this.issuer,
2261
- [JwtConstants.NOT_BEFORE]: issuedAt,
2262
- [JwtConstants.JWT_ID]: cryptoProvider.createNewGuid()
2263
- };
2264
- this.jwt = jsonwebtoken.sign(payload, this.privateKey, {
2265
- header
2266
- });
2267
- return this.jwt;
2268
- }
2269
- /**
2270
- * Utility API to check expiration
2271
- */
2272
- isExpired() {
2273
- return this.expirationTime < msalCommon.TimeUtils.nowSeconds();
2274
- }
2275
- /**
2276
- * Extracts the raw certs from a given certificate string and returns them in an array.
2277
- * @param publicCertificate - electronic document provided to prove the ownership of the public key
2278
- */
2279
- static parseCertificate(publicCertificate) {
2280
- /**
2281
- * This is regex to identify the certs in a given certificate string.
2282
- * We want to look for the contents between the BEGIN and END certificate strings, without the associated newlines.
2283
- * The information in parens "(.+?)" is the capture group to represent the cert we want isolated.
2284
- * "." means any string character, "+" means match 1 or more times, and "?" means the shortest match.
2285
- * The "g" at the end of the regex means search the string globally, and the "s" enables the "." to match newlines.
2286
- */
2287
- const regexToFindCerts = /-----BEGIN CERTIFICATE-----\r*\n(.+?)\r*\n-----END CERTIFICATE-----/gs;
2288
- const certs = [];
2289
- let matches;
2290
- while ((matches = regexToFindCerts.exec(publicCertificate)) !== null) {
2291
- // matches[1] represents the first parens capture group in the regex.
2292
- certs.push(matches[1].replace(/\r*\n/g, msalCommon.Constants.EMPTY_STRING));
2293
- }
2294
- return certs;
2295
- }
2296
- }
2297
-
2298
- /*
2299
- * Copyright (c) Microsoft Corporation. All rights reserved.
2300
- * Licensed under the MIT License.
2301
- */
2302
- /**
2303
- * This class is to be used to acquire tokens for confidential client applications (webApp, webAPI). Confidential client applications
2304
- * will configure application secrets, client certificates/assertions as applicable
2305
- * @public
2306
- */
2307
- class ConfidentialClientApplication extends ClientApplication {
2308
- /**
2309
- * Constructor for the ConfidentialClientApplication
2310
- *
2311
- * Required attributes in the Configuration object are:
2312
- * - clientID: the application ID of your application. You can obtain one by registering your application with our application registration portal
2313
- * - authority: the authority URL for your application.
2314
- * - client credential: Must set either client secret, certificate, or assertion for confidential clients. You can obtain a client secret from the application registration portal.
2315
- *
2316
- * In Azure AD, authority is a URL indicating of the form https://login.microsoftonline.com/\{Enter_the_Tenant_Info_Here\}.
2317
- * If your application supports Accounts in one organizational directory, replace "Enter_the_Tenant_Info_Here" value with the Tenant Id or Tenant name (for example, contoso.microsoft.com).
2318
- * If your application supports Accounts in any organizational directory, replace "Enter_the_Tenant_Info_Here" value with organizations.
2319
- * If your application supports Accounts in any organizational directory and personal Microsoft accounts, replace "Enter_the_Tenant_Info_Here" value with common.
2320
- * To restrict support to Personal Microsoft accounts only, replace "Enter_the_Tenant_Info_Here" value with consumers.
2321
- *
2322
- * In Azure B2C, authority is of the form https://\{instance\}/tfp/\{tenant\}/\{policyName\}/
2323
- * Full B2C functionality will be available in this library in future versions.
2324
- *
2325
- * @param Configuration - configuration object for the MSAL ConfidentialClientApplication instance
2326
- */
2327
- constructor(configuration) {
2328
- super(configuration);
2329
- this.setClientCredential(this.config);
2330
- this.appTokenProvider = undefined;
2331
- }
2332
- /**
2333
- * This extensibility point only works for the client_credential flow, i.e. acquireTokenByClientCredential and
2334
- * is meant for Azure SDK to enhance Managed Identity support.
2335
- *
2336
- * @param IAppTokenProvider - Extensibility interface, which allows the app developer to return a token from a custom source.
2337
- */
2338
- SetAppTokenProvider(provider) {
2339
- this.appTokenProvider = provider;
2340
- }
2341
- /**
2342
- * Acquires tokens from the authority for the application (not for an end user).
2343
- */
2344
- async acquireTokenByClientCredential(request) {
2345
- this.logger.info("acquireTokenByClientCredential called", request.correlationId);
2346
- // If there is a client assertion present in the request, it overrides the one present in the client configuration
2347
- let clientAssertion;
2348
- if (request.clientAssertion) {
2349
- clientAssertion = {
2350
- assertion: request.clientAssertion,
2351
- assertionType: Constants.JWT_BEARER_ASSERTION_TYPE
2352
- };
2353
- }
2354
- const baseRequest = await this.initializeBaseRequest(request);
2355
- // valid base request should not contain oidc scopes in this grant type
2356
- const validBaseRequest = {
2357
- ...baseRequest,
2358
- scopes: baseRequest.scopes.filter(scope => !msalCommon.OIDC_DEFAULT_SCOPES.includes(scope))
2359
- };
2360
- const validRequest = {
2361
- ...request,
2362
- ...validBaseRequest,
2363
- clientAssertion
2364
- };
2365
- const azureRegionConfiguration = {
2366
- azureRegion: validRequest.azureRegion,
2367
- environmentRegion: process.env[REGION_ENVIRONMENT_VARIABLE]
2368
- };
2369
- const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenByClientCredential, validRequest.correlationId, validRequest.skipCache);
2370
- try {
2371
- const clientCredentialConfig = await this.buildOauthClientConfiguration(validRequest.authority, validRequest.correlationId, serverTelemetryManager, azureRegionConfiguration, request.azureCloudOptions);
2372
- const clientCredentialClient = new msalCommon.ClientCredentialClient(clientCredentialConfig, this.appTokenProvider);
2373
- this.logger.verbose("Client credential client created", validRequest.correlationId);
2374
- return clientCredentialClient.acquireToken(validRequest);
2375
- } catch (e) {
2376
- if (e instanceof msalCommon.AuthError) {
2377
- e.setCorrelationId(validRequest.correlationId);
2378
- }
2379
- serverTelemetryManager.cacheFailedRequest(e);
2380
- throw e;
2381
- }
2382
- }
2383
- /**
2384
- * Acquires tokens from the authority for the application.
2385
- *
2386
- * Used in scenarios where the current app is a middle-tier service which was called with a token
2387
- * representing an end user. The current app can use the token (oboAssertion) to request another
2388
- * token to access downstream web API, on behalf of that user.
2389
- *
2390
- * The current middle-tier app has no user interaction to obtain consent.
2391
- * See how to gain consent upfront for your middle-tier app from this article.
2392
- * https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-on-behalf-of-flow#gaining-consent-for-the-middle-tier-application
2393
- */
2394
- async acquireTokenOnBehalfOf(request) {
2395
- this.logger.info("acquireTokenOnBehalfOf called", request.correlationId);
2396
- const validRequest = {
2397
- ...request,
2398
- ...(await this.initializeBaseRequest(request))
2399
- };
2400
- try {
2401
- const onBehalfOfConfig = await this.buildOauthClientConfiguration(validRequest.authority, validRequest.correlationId, undefined, undefined, request.azureCloudOptions);
2402
- const oboClient = new msalCommon.OnBehalfOfClient(onBehalfOfConfig);
2403
- this.logger.verbose("On behalf of client created", validRequest.correlationId);
2404
- return oboClient.acquireToken(validRequest);
2405
- } catch (e) {
2406
- if (e instanceof msalCommon.AuthError) {
2407
- e.setCorrelationId(validRequest.correlationId);
2408
- }
2409
- throw e;
2410
- }
2411
- }
2412
- setClientCredential(configuration) {
2413
- const clientSecretNotEmpty = !msalCommon.StringUtils.isEmpty(configuration.auth.clientSecret);
2414
- const clientAssertionNotEmpty = !msalCommon.StringUtils.isEmpty(configuration.auth.clientAssertion);
2415
- const certificate = configuration.auth.clientCertificate || {
2416
- thumbprint: msalCommon.Constants.EMPTY_STRING,
2417
- privateKey: msalCommon.Constants.EMPTY_STRING
2418
- };
2419
- const certificateNotEmpty = !msalCommon.StringUtils.isEmpty(certificate.thumbprint) || !msalCommon.StringUtils.isEmpty(certificate.privateKey);
2420
- /*
2421
- * If app developer configures this callback, they don't need a credential
2422
- * i.e. AzureSDK can get token from Managed Identity without a cert / secret
2423
- */
2424
- if (this.appTokenProvider) {
2425
- return;
2426
- }
2427
- // Check that at most one credential is set on the application
2428
- if (clientSecretNotEmpty && clientAssertionNotEmpty || clientAssertionNotEmpty && certificateNotEmpty || clientSecretNotEmpty && certificateNotEmpty) {
2429
- throw msalCommon.ClientAuthError.createInvalidCredentialError();
2430
- }
2431
- if (configuration.auth.clientSecret) {
2432
- this.clientSecret = configuration.auth.clientSecret;
2433
- return;
2434
- }
2435
- if (configuration.auth.clientAssertion) {
2436
- this.clientAssertion = ClientAssertion.fromAssertion(configuration.auth.clientAssertion);
2437
- return;
2438
- }
2439
- if (!certificateNotEmpty) {
2440
- throw msalCommon.ClientAuthError.createInvalidCredentialError();
2441
- } else {
2442
- var _configuration$auth$c;
2443
- this.clientAssertion = ClientAssertion.fromCertificate(certificate.thumbprint, certificate.privateKey, (_configuration$auth$c = configuration.auth.clientCertificate) == null ? void 0 : _configuration$auth$c.x5c);
2444
- }
2445
- }
2446
- }
2447
-
2448
- /*
2449
- * Copyright (c) Microsoft Corporation. All rights reserved.
2450
- * Licensed under the MIT License.
2451
- */
2452
- class DistributedCachePlugin {
2453
- constructor(client, partitionManager) {
2454
- this.client = client;
2455
- this.partitionManager = partitionManager;
2456
- }
2457
- async beforeCacheAccess(cacheContext) {
2458
- const partitionKey = await this.partitionManager.getKey();
2459
- const cacheData = await this.client.get(partitionKey);
2460
- cacheContext.tokenCache.deserialize(cacheData);
2461
- }
2462
- async afterCacheAccess(cacheContext) {
2463
- if (cacheContext.cacheHasChanged) {
2464
- const kvStore = cacheContext.tokenCache.getKVStore();
2465
- const accountEntities = Object.values(kvStore).filter(value => msalCommon.AccountEntity.isAccountEntity(value));
2466
- if (accountEntities.length > 0) {
2467
- const accountEntity = accountEntities[0];
2468
- const partitionKey = await this.partitionManager.extractKey(accountEntity);
2469
- await this.client.set(partitionKey, cacheContext.tokenCache.serialize());
2470
- }
2471
- }
2472
- }
2473
- }
2474
-
2475
- Object.defineProperty(exports, 'AuthError', {
2476
- enumerable: true,
2477
- get: function () {
2478
- return msalCommon.AuthError;
2479
- }
2480
- });
2481
- Object.defineProperty(exports, 'AuthErrorMessage', {
2482
- enumerable: true,
2483
- get: function () {
2484
- return msalCommon.AuthErrorMessage;
2485
- }
2486
- });
2487
- Object.defineProperty(exports, 'AzureCloudInstance', {
2488
- enumerable: true,
2489
- get: function () {
2490
- return msalCommon.AzureCloudInstance;
2491
- }
2492
- });
2493
- Object.defineProperty(exports, 'ClientAuthError', {
2494
- enumerable: true,
2495
- get: function () {
2496
- return msalCommon.ClientAuthError;
2497
- }
2498
- });
2499
- Object.defineProperty(exports, 'ClientAuthErrorMessage', {
2500
- enumerable: true,
2501
- get: function () {
2502
- return msalCommon.ClientAuthErrorMessage;
2503
- }
2504
- });
2505
- Object.defineProperty(exports, 'ClientConfigurationError', {
2506
- enumerable: true,
2507
- get: function () {
2508
- return msalCommon.ClientConfigurationError;
2509
- }
2510
- });
2511
- Object.defineProperty(exports, 'ClientConfigurationErrorMessage', {
2512
- enumerable: true,
2513
- get: function () {
2514
- return msalCommon.ClientConfigurationErrorMessage;
2515
- }
2516
- });
2517
- Object.defineProperty(exports, 'InteractionRequiredAuthError', {
2518
- enumerable: true,
2519
- get: function () {
2520
- return msalCommon.InteractionRequiredAuthError;
2521
- }
2522
- });
2523
- Object.defineProperty(exports, 'InteractionRequiredAuthErrorMessage', {
2524
- enumerable: true,
2525
- get: function () {
2526
- return msalCommon.InteractionRequiredAuthErrorMessage;
2527
- }
2528
- });
2529
- Object.defineProperty(exports, 'LogLevel', {
2530
- enumerable: true,
2531
- get: function () {
2532
- return msalCommon.LogLevel;
2533
- }
2534
- });
2535
- Object.defineProperty(exports, 'Logger', {
2536
- enumerable: true,
2537
- get: function () {
2538
- return msalCommon.Logger;
2539
- }
2540
- });
2541
- Object.defineProperty(exports, 'PromptValue', {
2542
- enumerable: true,
2543
- get: function () {
2544
- return msalCommon.PromptValue;
2545
- }
2546
- });
2547
- Object.defineProperty(exports, 'ProtocolMode', {
2548
- enumerable: true,
2549
- get: function () {
2550
- return msalCommon.ProtocolMode;
2551
- }
2552
- });
2553
- Object.defineProperty(exports, 'ResponseMode', {
2554
- enumerable: true,
2555
- get: function () {
2556
- return msalCommon.ResponseMode;
2557
- }
2558
- });
2559
- Object.defineProperty(exports, 'ServerError', {
2560
- enumerable: true,
2561
- get: function () {
2562
- return msalCommon.ServerError;
2563
- }
2564
- });
2565
- Object.defineProperty(exports, 'TokenCacheContext', {
2566
- enumerable: true,
2567
- get: function () {
2568
- return msalCommon.TokenCacheContext;
2569
- }
2570
- });
2571
- exports.ClientApplication = ClientApplication;
2572
- exports.ClientAssertion = ClientAssertion;
2573
- exports.ConfidentialClientApplication = ConfidentialClientApplication;
2574
- exports.CryptoProvider = CryptoProvider;
2575
- exports.DistributedCachePlugin = DistributedCachePlugin;
2576
- exports.NodeStorage = NodeStorage;
2577
- exports.PublicClientApplication = PublicClientApplication;
2578
- exports.TokenCache = TokenCache;
2579
- exports.buildAppConfiguration = buildAppConfiguration;
2580
- exports.version = version;
2581
- //# sourceMappingURL=msal-node.cjs.development.js.map