@azure/msal-browser 3.0.0-alpha.0 → 3.0.0-alpha.1

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 (385) hide show
  1. package/dist/app/IPublicClientApplication.js +1 -1
  2. package/dist/app/PublicClientApplication.js +1 -1
  3. package/dist/broker/nativeBroker/NativeMessageHandler.js +1 -1
  4. package/dist/cache/AsyncMemoryStorage.js +1 -1
  5. package/dist/cache/BrowserCacheManager.js +1 -1
  6. package/dist/cache/BrowserStorage.js +1 -1
  7. package/dist/cache/CryptoKeyStore.js +1 -1
  8. package/dist/cache/DatabaseStorage.js +1 -1
  9. package/dist/cache/MemoryStorage.js +1 -1
  10. package/dist/cache/TokenCache.js +1 -1
  11. package/dist/config/Configuration.js +1 -1
  12. package/dist/controllers/ControllerFactory.js +1 -1
  13. package/dist/controllers/StandardController.js +1 -1
  14. package/dist/crypto/BrowserCrypto.js +1 -1
  15. package/dist/crypto/CryptoOps.js +1 -1
  16. package/dist/crypto/GuidGenerator.js +1 -1
  17. package/dist/crypto/ModernBrowserCrypto.js +1 -1
  18. package/dist/crypto/MsBrowserCrypto.js +1 -1
  19. package/dist/crypto/MsrBrowserCrypto.js +1 -1
  20. package/dist/crypto/PkceGenerator.js +1 -1
  21. package/dist/crypto/SignedHttpRequest.js +1 -1
  22. package/dist/encode/Base64Decode.js +1 -1
  23. package/dist/encode/Base64Encode.js +1 -1
  24. package/dist/error/BrowserAuthError.js +1 -1
  25. package/dist/error/BrowserConfigurationAuthError.js +1 -1
  26. package/dist/error/NativeAuthError.js +1 -1
  27. package/dist/event/EventHandler.js +1 -1
  28. package/dist/event/EventMessage.js +1 -1
  29. package/dist/event/EventType.js +1 -1
  30. package/dist/index.js +1 -1
  31. package/dist/interaction_client/BaseInteractionClient.js +1 -1
  32. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +1 -1
  33. package/dist/interaction_client/NativeInteractionClient.js +1 -1
  34. package/dist/interaction_client/PopupClient.js +1 -1
  35. package/dist/interaction_client/RedirectClient.js +1 -1
  36. package/dist/interaction_client/SilentAuthCodeClient.js +1 -1
  37. package/dist/interaction_client/SilentCacheClient.js +1 -1
  38. package/dist/interaction_client/SilentIframeClient.js +1 -1
  39. package/dist/interaction_client/SilentRefreshClient.js +1 -1
  40. package/dist/interaction_client/StandardInteractionClient.js +1 -1
  41. package/dist/interaction_handler/InteractionHandler.js +1 -1
  42. package/dist/interaction_handler/RedirectHandler.js +1 -1
  43. package/dist/interaction_handler/SilentHandler.js +1 -1
  44. package/dist/internals.js +1 -1
  45. package/dist/navigation/NavigationClient.js +1 -1
  46. package/dist/network/FetchClient.js +1 -1
  47. package/dist/network/XhrClient.js +1 -1
  48. package/dist/operatingcontext/BaseOperatingContext.js +1 -1
  49. package/dist/operatingcontext/StandardOperatingContext.js +1 -1
  50. package/dist/operatingcontext/TeamsAppOperatingContext.js +1 -1
  51. package/dist/packageMetadata.d.ts +1 -1
  52. package/dist/packageMetadata.js +2 -2
  53. package/dist/telemetry/BrowserPerformanceClient.js +1 -1
  54. package/dist/telemetry/BrowserPerformanceMeasurement.js +1 -1
  55. package/dist/utils/BrowserConstants.js +1 -1
  56. package/dist/utils/BrowserProtocolUtils.js +1 -1
  57. package/dist/utils/BrowserStringUtils.js +1 -1
  58. package/dist/utils/BrowserUtils.js +1 -1
  59. package/dist/utils/MathUtils.js +1 -1
  60. package/package.json +5 -8
  61. package/node_modules/@azure/msal-common/LICENSE +0 -21
  62. package/node_modules/@azure/msal-common/README.md +0 -62
  63. package/node_modules/@azure/msal-common/dist/account/AccountInfo.d.ts +0 -32
  64. package/node_modules/@azure/msal-common/dist/account/AccountInfo.d.ts.map +0 -1
  65. package/node_modules/@azure/msal-common/dist/account/AuthToken.d.ts +0 -21
  66. package/node_modules/@azure/msal-common/dist/account/AuthToken.d.ts.map +0 -1
  67. package/node_modules/@azure/msal-common/dist/account/AuthToken.js +0 -56
  68. package/node_modules/@azure/msal-common/dist/account/AuthToken.js.map +0 -1
  69. package/node_modules/@azure/msal-common/dist/account/CcsCredential.d.ts +0 -9
  70. package/node_modules/@azure/msal-common/dist/account/CcsCredential.d.ts.map +0 -1
  71. package/node_modules/@azure/msal-common/dist/account/CcsCredential.js +0 -14
  72. package/node_modules/@azure/msal-common/dist/account/CcsCredential.js.map +0 -1
  73. package/node_modules/@azure/msal-common/dist/account/ClientCredentials.d.ts +0 -15
  74. package/node_modules/@azure/msal-common/dist/account/ClientCredentials.d.ts.map +0 -1
  75. package/node_modules/@azure/msal-common/dist/account/ClientInfo.d.ts +0 -20
  76. package/node_modules/@azure/msal-common/dist/account/ClientInfo.d.ts.map +0 -1
  77. package/node_modules/@azure/msal-common/dist/account/ClientInfo.js +0 -46
  78. package/node_modules/@azure/msal-common/dist/account/ClientInfo.js.map +0 -1
  79. package/node_modules/@azure/msal-common/dist/account/DecodedAuthToken.d.ts +0 -9
  80. package/node_modules/@azure/msal-common/dist/account/DecodedAuthToken.d.ts.map +0 -1
  81. package/node_modules/@azure/msal-common/dist/account/TokenClaims.d.ts +0 -66
  82. package/node_modules/@azure/msal-common/dist/account/TokenClaims.d.ts.map +0 -1
  83. package/node_modules/@azure/msal-common/dist/authority/Authority.d.ts +0 -216
  84. package/node_modules/@azure/msal-common/dist/authority/Authority.d.ts.map +0 -1
  85. package/node_modules/@azure/msal-common/dist/authority/Authority.js +0 -688
  86. package/node_modules/@azure/msal-common/dist/authority/Authority.js.map +0 -1
  87. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts +0 -31
  88. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts.map +0 -1
  89. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.js +0 -58
  90. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.js.map +0 -1
  91. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts +0 -623
  92. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts.map +0 -1
  93. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.js +0 -881
  94. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.js.map +0 -1
  95. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.d.ts +0 -19
  96. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.d.ts.map +0 -1
  97. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.js +0 -24
  98. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.js.map +0 -1
  99. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.d.ts +0 -10
  100. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.d.ts.map +0 -1
  101. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.js +0 -19
  102. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.js.map +0 -1
  103. package/node_modules/@azure/msal-common/dist/authority/AzureRegion.d.ts +0 -2
  104. package/node_modules/@azure/msal-common/dist/authority/AzureRegion.d.ts.map +0 -1
  105. package/node_modules/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts +0 -6
  106. package/node_modules/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts.map +0 -1
  107. package/node_modules/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts +0 -6
  108. package/node_modules/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts.map +0 -1
  109. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +0 -14
  110. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +0 -1
  111. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.js +0 -13
  112. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.js.map +0 -1
  113. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts +0 -10
  114. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -1
  115. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js +0 -13
  116. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js.map +0 -1
  117. package/node_modules/@azure/msal-common/dist/authority/ImdsOptions.d.ts +0 -6
  118. package/node_modules/@azure/msal-common/dist/authority/ImdsOptions.d.ts.map +0 -1
  119. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts +0 -12
  120. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts.map +0 -1
  121. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.js +0 -15
  122. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.js.map +0 -1
  123. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.d.ts +0 -8
  124. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.d.ts.map +0 -1
  125. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.js +0 -17
  126. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.js.map +0 -1
  127. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts +0 -31
  128. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts.map +0 -1
  129. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.js +0 -116
  130. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.js.map +0 -1
  131. package/node_modules/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts +0 -7
  132. package/node_modules/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts.map +0 -1
  133. package/node_modules/@azure/msal-common/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +0 -16
  134. package/node_modules/@azure/msal-common/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +0 -1
  135. package/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts +0 -444
  136. package/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts.map +0 -1
  137. package/node_modules/@azure/msal-common/dist/cache/CacheManager.js +0 -1024
  138. package/node_modules/@azure/msal-common/dist/cache/CacheManager.js.map +0 -1
  139. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts +0 -57
  140. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts.map +0 -1
  141. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js +0 -123
  142. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js.map +0 -1
  143. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts +0 -100
  144. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts.map +0 -1
  145. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.js +0 -259
  146. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.js.map +0 -1
  147. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts +0 -40
  148. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts.map +0 -1
  149. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js +0 -73
  150. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js.map +0 -1
  151. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts +0 -48
  152. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -1
  153. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js +0 -85
  154. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js.map +0 -1
  155. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts +0 -14
  156. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts.map +0 -1
  157. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.js +0 -18
  158. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.js.map +0 -1
  159. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts +0 -89
  160. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts.map +0 -1
  161. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.js +0 -144
  162. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.js.map +0 -1
  163. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts +0 -35
  164. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts.map +0 -1
  165. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.js +0 -64
  166. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.js.map +0 -1
  167. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts +0 -37
  168. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts.map +0 -1
  169. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js +0 -67
  170. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js.map +0 -1
  171. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts +0 -13
  172. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts.map +0 -1
  173. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js +0 -34
  174. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js.map +0 -1
  175. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts +0 -14
  176. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts.map +0 -1
  177. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js +0 -30
  178. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js.map +0 -1
  179. package/node_modules/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts +0 -166
  180. package/node_modules/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts.map +0 -1
  181. package/node_modules/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts +0 -6
  182. package/node_modules/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts.map +0 -1
  183. package/node_modules/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts +0 -5
  184. package/node_modules/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts.map +0 -1
  185. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts +0 -24
  186. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts.map +0 -1
  187. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js +0 -30
  188. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js.map +0 -1
  189. package/node_modules/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts +0 -63
  190. package/node_modules/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts.map +0 -1
  191. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts +0 -72
  192. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts.map +0 -1
  193. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.js +0 -453
  194. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.js.map +0 -1
  195. package/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts +0 -51
  196. package/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts.map +0 -1
  197. package/node_modules/@azure/msal-common/dist/client/BaseClient.js +0 -107
  198. package/node_modules/@azure/msal-common/dist/client/BaseClient.js.map +0 -1
  199. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts +0 -35
  200. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts.map +0 -1
  201. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.js +0 -260
  202. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.js.map +0 -1
  203. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts +0 -25
  204. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts.map +0 -1
  205. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.js +0 -108
  206. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.js.map +0 -1
  207. package/node_modules/@azure/msal-common/dist/config/AppTokenProvider.d.ts +0 -39
  208. package/node_modules/@azure/msal-common/dist/config/AppTokenProvider.d.ts.map +0 -1
  209. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.d.ts +0 -134
  210. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.d.ts.map +0 -1
  211. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.js +0 -101
  212. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.js.map +0 -1
  213. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.d.ts +0 -63
  214. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.d.ts.map +0 -1
  215. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.js +0 -49
  216. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.js.map +0 -1
  217. package/node_modules/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts +0 -5
  218. package/node_modules/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts.map +0 -1
  219. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.d.ts +0 -22
  220. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.d.ts.map +0 -1
  221. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.js +0 -44
  222. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.js.map +0 -1
  223. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts +0 -58
  224. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts.map +0 -1
  225. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.js +0 -92
  226. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.js.map +0 -1
  227. package/node_modules/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts +0 -12
  228. package/node_modules/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts.map +0 -1
  229. package/node_modules/@azure/msal-common/dist/error/AuthError.d.ts +0 -48
  230. package/node_modules/@azure/msal-common/dist/error/AuthError.d.ts.map +0 -1
  231. package/node_modules/@azure/msal-common/dist/error/AuthError.js +0 -58
  232. package/node_modules/@azure/msal-common/dist/error/AuthError.js.map +0 -1
  233. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.d.ts +0 -413
  234. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.d.ts.map +0 -1
  235. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.js +0 -526
  236. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.js.map +0 -1
  237. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.d.ts +0 -199
  238. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.d.ts.map +0 -1
  239. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.js +0 -256
  240. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.js.map +0 -1
  241. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts +0 -60
  242. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts.map +0 -1
  243. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.js +0 -86
  244. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.js.map +0 -1
  245. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.d.ts +0 -29
  246. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.d.ts.map +0 -1
  247. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.js +0 -46
  248. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.js.map +0 -1
  249. package/node_modules/@azure/msal-common/dist/error/ServerError.d.ts +0 -8
  250. package/node_modules/@azure/msal-common/dist/error/ServerError.d.ts.map +0 -1
  251. package/node_modules/@azure/msal-common/dist/error/ServerError.js +0 -21
  252. package/node_modules/@azure/msal-common/dist/error/ServerError.js.map +0 -1
  253. package/node_modules/@azure/msal-common/dist/index.cjs.js +0 -8975
  254. package/node_modules/@azure/msal-common/dist/index.cjs.js.map +0 -1
  255. package/node_modules/@azure/msal-common/dist/index.d.ts +0 -94
  256. package/node_modules/@azure/msal-common/dist/index.d.ts.map +0 -1
  257. package/node_modules/@azure/msal-common/dist/index.js +0 -54
  258. package/node_modules/@azure/msal-common/dist/index.js.map +0 -1
  259. package/node_modules/@azure/msal-common/dist/logger/Logger.d.ts +0 -96
  260. package/node_modules/@azure/msal-common/dist/logger/Logger.d.ts.map +0 -1
  261. package/node_modules/@azure/msal-common/dist/logger/Logger.js +0 -205
  262. package/node_modules/@azure/msal-common/dist/logger/Logger.js.map +0 -1
  263. package/node_modules/@azure/msal-common/dist/network/INetworkModule.d.ts +0 -30
  264. package/node_modules/@azure/msal-common/dist/network/INetworkModule.d.ts.map +0 -1
  265. package/node_modules/@azure/msal-common/dist/network/INetworkModule.js +0 -21
  266. package/node_modules/@azure/msal-common/dist/network/INetworkModule.js.map +0 -1
  267. package/node_modules/@azure/msal-common/dist/network/NetworkManager.d.ts +0 -33
  268. package/node_modules/@azure/msal-common/dist/network/NetworkManager.d.ts.map +0 -1
  269. package/node_modules/@azure/msal-common/dist/network/NetworkManager.js +0 -42
  270. package/node_modules/@azure/msal-common/dist/network/NetworkManager.js.map +0 -1
  271. package/node_modules/@azure/msal-common/dist/network/RequestThumbprint.d.ts +0 -17
  272. package/node_modules/@azure/msal-common/dist/network/RequestThumbprint.d.ts.map +0 -1
  273. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.d.ts +0 -42
  274. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.d.ts.map +0 -1
  275. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.js +0 -102
  276. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.js.map +0 -1
  277. package/node_modules/@azure/msal-common/dist/packageMetadata.d.ts +0 -3
  278. package/node_modules/@azure/msal-common/dist/packageMetadata.d.ts.map +0 -1
  279. package/node_modules/@azure/msal-common/dist/packageMetadata.js +0 -8
  280. package/node_modules/@azure/msal-common/dist/packageMetadata.js.map +0 -1
  281. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts +0 -20
  282. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts.map +0 -1
  283. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.js +0 -63
  284. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.js.map +0 -1
  285. package/node_modules/@azure/msal-common/dist/request/BaseAuthRequest.d.ts +0 -38
  286. package/node_modules/@azure/msal-common/dist/request/BaseAuthRequest.d.ts.map +0 -1
  287. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts +0 -28
  288. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts.map +0 -1
  289. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts +0 -51
  290. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts.map +0 -1
  291. package/node_modules/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts +0 -18
  292. package/node_modules/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts.map +0 -1
  293. package/node_modules/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts +0 -22
  294. package/node_modules/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts.map +0 -1
  295. package/node_modules/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts +0 -22
  296. package/node_modules/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts.map +0 -1
  297. package/node_modules/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts +0 -14
  298. package/node_modules/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts.map +0 -1
  299. package/node_modules/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts +0 -20
  300. package/node_modules/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts.map +0 -1
  301. package/node_modules/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts +0 -19
  302. package/node_modules/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts.map +0 -1
  303. package/node_modules/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts +0 -18
  304. package/node_modules/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts.map +0 -1
  305. package/node_modules/@azure/msal-common/dist/request/NativeRequest.d.ts +0 -20
  306. package/node_modules/@azure/msal-common/dist/request/NativeRequest.d.ts.map +0 -1
  307. package/node_modules/@azure/msal-common/dist/request/NativeSignOutRequest.d.ts +0 -6
  308. package/node_modules/@azure/msal-common/dist/request/NativeSignOutRequest.d.ts.map +0 -1
  309. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts +0 -217
  310. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts.map +0 -1
  311. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.js +0 -385
  312. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.js.map +0 -1
  313. package/node_modules/@azure/msal-common/dist/request/RequestValidator.d.ts +0 -34
  314. package/node_modules/@azure/msal-common/dist/request/RequestValidator.d.ts.map +0 -1
  315. package/node_modules/@azure/msal-common/dist/request/RequestValidator.js +0 -92
  316. package/node_modules/@azure/msal-common/dist/request/RequestValidator.js.map +0 -1
  317. package/node_modules/@azure/msal-common/dist/request/ScopeSet.d.ts +0 -89
  318. package/node_modules/@azure/msal-common/dist/request/ScopeSet.d.ts.map +0 -1
  319. package/node_modules/@azure/msal-common/dist/request/ScopeSet.js +0 -207
  320. package/node_modules/@azure/msal-common/dist/request/ScopeSet.js.map +0 -1
  321. package/node_modules/@azure/msal-common/dist/response/AuthenticationResult.d.ts +0 -40
  322. package/node_modules/@azure/msal-common/dist/response/AuthenticationResult.d.ts.map +0 -1
  323. package/node_modules/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts +0 -14
  324. package/node_modules/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts.map +0 -1
  325. package/node_modules/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts +0 -26
  326. package/node_modules/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts.map +0 -1
  327. package/node_modules/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts +0 -16
  328. package/node_modules/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts.map +0 -1
  329. package/node_modules/@azure/msal-common/dist/response/IMDSBadResponse.d.ts +0 -5
  330. package/node_modules/@azure/msal-common/dist/response/IMDSBadResponse.d.ts.map +0 -1
  331. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts +0 -73
  332. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts.map +0 -1
  333. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.js +0 -325
  334. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.js.map +0 -1
  335. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts +0 -26
  336. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts.map +0 -1
  337. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts +0 -45
  338. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts.map +0 -1
  339. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts +0 -43
  340. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts.map +0 -1
  341. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts +0 -6
  342. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -1
  343. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts +0 -190
  344. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts.map +0 -1
  345. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js +0 -413
  346. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js.map +0 -1
  347. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts +0 -440
  348. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts.map +0 -1
  349. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js +0 -232
  350. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js.map +0 -1
  351. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts +0 -20
  352. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts.map +0 -1
  353. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js +0 -43
  354. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js.map +0 -1
  355. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts +0 -66
  356. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts.map +0 -1
  357. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js +0 -206
  358. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js.map +0 -1
  359. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts +0 -9
  360. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -1
  361. package/node_modules/@azure/msal-common/dist/url/IUri.d.ts +0 -13
  362. package/node_modules/@azure/msal-common/dist/url/IUri.d.ts.map +0 -1
  363. package/node_modules/@azure/msal-common/dist/url/UrlString.d.ts +0 -71
  364. package/node_modules/@azure/msal-common/dist/url/UrlString.d.ts.map +0 -1
  365. package/node_modules/@azure/msal-common/dist/url/UrlString.js +0 -252
  366. package/node_modules/@azure/msal-common/dist/url/UrlString.js.map +0 -1
  367. package/node_modules/@azure/msal-common/dist/utils/Constants.d.ts +0 -332
  368. package/node_modules/@azure/msal-common/dist/utils/Constants.d.ts.map +0 -1
  369. package/node_modules/@azure/msal-common/dist/utils/Constants.js +0 -378
  370. package/node_modules/@azure/msal-common/dist/utils/Constants.js.map +0 -1
  371. package/node_modules/@azure/msal-common/dist/utils/MsalTypes.d.ts +0 -7
  372. package/node_modules/@azure/msal-common/dist/utils/MsalTypes.d.ts.map +0 -1
  373. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.d.ts +0 -43
  374. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.d.ts.map +0 -1
  375. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.js +0 -80
  376. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.js.map +0 -1
  377. package/node_modules/@azure/msal-common/dist/utils/StringUtils.d.ts +0 -54
  378. package/node_modules/@azure/msal-common/dist/utils/StringUtils.d.ts.map +0 -1
  379. package/node_modules/@azure/msal-common/dist/utils/StringUtils.js +0 -131
  380. package/node_modules/@azure/msal-common/dist/utils/StringUtils.js.map +0 -1
  381. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.d.ts +0 -28
  382. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.d.ts.map +0 -1
  383. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.js +0 -50
  384. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.js.map +0 -1
  385. package/node_modules/@azure/msal-common/package.json +0 -79
@@ -1,6 +0,0 @@
1
- export type NativeSignOutRequest = {
2
- clientId: string;
3
- accountId: string;
4
- correlationId: string;
5
- };
6
- //# sourceMappingURL=NativeSignOutRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NativeSignOutRequest.d.ts","sourceRoot":"","sources":["../../src/request/NativeSignOutRequest.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,oBAAoB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACzB,CAAC"}
@@ -1,217 +0,0 @@
1
- import { ResponseMode } from "../utils/Constants";
2
- import { StringDict } from "../utils/MsalTypes";
3
- import { ApplicationTelemetry, LibraryInfo } from "../config/ClientConfiguration";
4
- import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager";
5
- import { ClientInfo } from "../account/ClientInfo";
6
- export declare class RequestParameterBuilder {
7
- private parameters;
8
- constructor();
9
- /**
10
- * add response_type = code
11
- */
12
- addResponseTypeCode(): void;
13
- /**
14
- * add response_type = token id_token
15
- */
16
- addResponseTypeForTokenAndIdToken(): void;
17
- /**
18
- * add response_mode. defaults to query.
19
- * @param responseMode
20
- */
21
- addResponseMode(responseMode?: ResponseMode): void;
22
- /**
23
- * Add flag to indicate STS should attempt to use WAM if available
24
- */
25
- addNativeBroker(): void;
26
- /**
27
- * add scopes. set addOidcScopes to false to prevent default scopes in non-user scenarios
28
- * @param scopeSet
29
- * @param addOidcScopes
30
- */
31
- addScopes(scopes: string[], addOidcScopes?: boolean): void;
32
- /**
33
- * add clientId
34
- * @param clientId
35
- */
36
- addClientId(clientId: string): void;
37
- /**
38
- * add redirect_uri
39
- * @param redirectUri
40
- */
41
- addRedirectUri(redirectUri: string): void;
42
- /**
43
- * add post logout redirectUri
44
- * @param redirectUri
45
- */
46
- addPostLogoutRedirectUri(redirectUri: string): void;
47
- /**
48
- * add id_token_hint to logout request
49
- * @param idTokenHint
50
- */
51
- addIdTokenHint(idTokenHint: string): void;
52
- /**
53
- * add domain_hint
54
- * @param domainHint
55
- */
56
- addDomainHint(domainHint: string): void;
57
- /**
58
- * add login_hint
59
- * @param loginHint
60
- */
61
- addLoginHint(loginHint: string): void;
62
- /**
63
- * Adds the CCS (Cache Credential Service) query parameter for login_hint
64
- * @param loginHint
65
- */
66
- addCcsUpn(loginHint: string): void;
67
- /**
68
- * Adds the CCS (Cache Credential Service) query parameter for account object
69
- * @param loginHint
70
- */
71
- addCcsOid(clientInfo: ClientInfo): void;
72
- /**
73
- * add sid
74
- * @param sid
75
- */
76
- addSid(sid: string): void;
77
- /**
78
- * add claims
79
- * @param claims
80
- */
81
- addClaims(claims?: string, clientCapabilities?: Array<string>): void;
82
- /**
83
- * add correlationId
84
- * @param correlationId
85
- */
86
- addCorrelationId(correlationId: string): void;
87
- /**
88
- * add library info query params
89
- * @param libraryInfo
90
- */
91
- addLibraryInfo(libraryInfo: LibraryInfo): void;
92
- /**
93
- * Add client telemetry parameters
94
- * @param appTelemetry
95
- */
96
- addApplicationTelemetry(appTelemetry: ApplicationTelemetry): void;
97
- /**
98
- * add prompt
99
- * @param prompt
100
- */
101
- addPrompt(prompt: string): void;
102
- /**
103
- * add state
104
- * @param state
105
- */
106
- addState(state: string): void;
107
- /**
108
- * add nonce
109
- * @param nonce
110
- */
111
- addNonce(nonce: string): void;
112
- /**
113
- * add code_challenge and code_challenge_method
114
- * - throw if either of them are not passed
115
- * @param codeChallenge
116
- * @param codeChallengeMethod
117
- */
118
- addCodeChallengeParams(codeChallenge: string, codeChallengeMethod: string): void;
119
- /**
120
- * add the `authorization_code` passed by the user to exchange for a token
121
- * @param code
122
- */
123
- addAuthorizationCode(code: string): void;
124
- /**
125
- * add the `authorization_code` passed by the user to exchange for a token
126
- * @param code
127
- */
128
- addDeviceCode(code: string): void;
129
- /**
130
- * add the `refreshToken` passed by the user
131
- * @param refreshToken
132
- */
133
- addRefreshToken(refreshToken: string): void;
134
- /**
135
- * add the `code_verifier` passed by the user to exchange for a token
136
- * @param codeVerifier
137
- */
138
- addCodeVerifier(codeVerifier: string): void;
139
- /**
140
- * add client_secret
141
- * @param clientSecret
142
- */
143
- addClientSecret(clientSecret: string): void;
144
- /**
145
- * add clientAssertion for confidential client flows
146
- * @param clientAssertion
147
- */
148
- addClientAssertion(clientAssertion: string): void;
149
- /**
150
- * add clientAssertionType for confidential client flows
151
- * @param clientAssertionType
152
- */
153
- addClientAssertionType(clientAssertionType: string): void;
154
- /**
155
- * add OBO assertion for confidential client flows
156
- * @param clientAssertion
157
- */
158
- addOboAssertion(oboAssertion: string): void;
159
- /**
160
- * add grant type
161
- * @param grantType
162
- */
163
- addRequestTokenUse(tokenUse: string): void;
164
- /**
165
- * add grant type
166
- * @param grantType
167
- */
168
- addGrantType(grantType: string): void;
169
- /**
170
- * add client info
171
- *
172
- */
173
- addClientInfo(): void;
174
- /**
175
- * add extraQueryParams
176
- * @param eQParams
177
- */
178
- addExtraQueryParameters(eQParams: StringDict): void;
179
- addClientCapabilitiesToClaims(claims?: string, clientCapabilities?: Array<string>): string;
180
- /**
181
- * adds `username` for Password Grant flow
182
- * @param username
183
- */
184
- addUsername(username: string): void;
185
- /**
186
- * adds `password` for Password Grant flow
187
- * @param password
188
- */
189
- addPassword(password: string): void;
190
- /**
191
- * add pop_jwk to query params
192
- * @param cnfString
193
- */
194
- addPopToken(cnfString: string): void;
195
- /**
196
- * add SSH JWK and key ID to query params
197
- */
198
- addSshJwk(sshJwkString: string): void;
199
- /**
200
- * add server telemetry fields
201
- * @param serverTelemetryManager
202
- */
203
- addServerTelemetry(serverTelemetryManager: ServerTelemetryManager): void;
204
- /**
205
- * Adds parameter that indicates to the server that throttling is supported
206
- */
207
- addThrottling(): void;
208
- /**
209
- * Adds logout_hint parameter for "silent" logout which prevent server account picker
210
- */
211
- addLogoutHint(logoutHint: string): void;
212
- /**
213
- * Utility to create a URL from the params map
214
- */
215
- createQueryString(): string;
216
- }
217
- //# sourceMappingURL=RequestParameterBuilder.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RequestParameterBuilder.d.ts","sourceRoot":"","sources":["../../src/request/RequestParameterBuilder.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,YAAY,EASf,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EACH,oBAAoB,EACpB,WAAW,EACd,MA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nC,MAAM;IA+BT;;;OAGG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAOnC;;;OAGG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAOnC;;;OAGG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAapC;;OAEG;IACH,SAAS,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI;IAarC;;;OAGG;IACH,kBAAkB,CAAC,sBAAsB,EAAE,sBAAsB,GAAG,IAAI;IAWxE;;OAEG;IACH,aAAa,IAAI,IAAI;IAOrB;;OAEG;IACH,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAOvC;;OAEG;IACH,iBAAiB,IAAI,MAAM;CAS9B"}
@@ -1,385 +0,0 @@
1
- /*! @azure/msal-common v14.0.0 2023-05-03 */
2
- 'use strict';
3
- import { AADServerParamKeys, Constants, ResponseMode, SSOTypes, HeaderNames, CLIENT_INFO, ClaimsRequestKeys, PasswordGrantConstants, AuthenticationScheme, ThrottlingConstants, OIDC_DEFAULT_SCOPES } from '../utils/Constants.js';
4
- import { ScopeSet } from './ScopeSet.js';
5
- import { ClientConfigurationError } from '../error/ClientConfigurationError.js';
6
- import { RequestValidator } from './RequestValidator.js';
7
- import { StringUtils } from '../utils/StringUtils.js';
8
-
9
- /*
10
- * Copyright (c) Microsoft Corporation. All rights reserved.
11
- * Licensed under the MIT License.
12
- */
13
- class RequestParameterBuilder {
14
- constructor() {
15
- this.parameters = new Map();
16
- }
17
- /**
18
- * add response_type = code
19
- */
20
- addResponseTypeCode() {
21
- this.parameters.set(AADServerParamKeys.RESPONSE_TYPE, encodeURIComponent(Constants.CODE_RESPONSE_TYPE));
22
- }
23
- /**
24
- * add response_type = token id_token
25
- */
26
- addResponseTypeForTokenAndIdToken() {
27
- this.parameters.set(AADServerParamKeys.RESPONSE_TYPE, encodeURIComponent(`${Constants.TOKEN_RESPONSE_TYPE} ${Constants.ID_TOKEN_RESPONSE_TYPE}`));
28
- }
29
- /**
30
- * add response_mode. defaults to query.
31
- * @param responseMode
32
- */
33
- addResponseMode(responseMode) {
34
- this.parameters.set(AADServerParamKeys.RESPONSE_MODE, encodeURIComponent(responseMode ? responseMode : ResponseMode.QUERY));
35
- }
36
- /**
37
- * Add flag to indicate STS should attempt to use WAM if available
38
- */
39
- addNativeBroker() {
40
- this.parameters.set(AADServerParamKeys.NATIVE_BROKER, encodeURIComponent("1"));
41
- }
42
- /**
43
- * add scopes. set addOidcScopes to false to prevent default scopes in non-user scenarios
44
- * @param scopeSet
45
- * @param addOidcScopes
46
- */
47
- addScopes(scopes, addOidcScopes = true) {
48
- const requestScopes = addOidcScopes
49
- ? [...(scopes || []), ...OIDC_DEFAULT_SCOPES]
50
- : scopes || [];
51
- const scopeSet = new ScopeSet(requestScopes);
52
- this.parameters.set(AADServerParamKeys.SCOPE, encodeURIComponent(scopeSet.printScopes()));
53
- }
54
- /**
55
- * add clientId
56
- * @param clientId
57
- */
58
- addClientId(clientId) {
59
- this.parameters.set(AADServerParamKeys.CLIENT_ID, encodeURIComponent(clientId));
60
- }
61
- /**
62
- * add redirect_uri
63
- * @param redirectUri
64
- */
65
- addRedirectUri(redirectUri) {
66
- RequestValidator.validateRedirectUri(redirectUri);
67
- this.parameters.set(AADServerParamKeys.REDIRECT_URI, encodeURIComponent(redirectUri));
68
- }
69
- /**
70
- * add post logout redirectUri
71
- * @param redirectUri
72
- */
73
- addPostLogoutRedirectUri(redirectUri) {
74
- RequestValidator.validateRedirectUri(redirectUri);
75
- this.parameters.set(AADServerParamKeys.POST_LOGOUT_URI, encodeURIComponent(redirectUri));
76
- }
77
- /**
78
- * add id_token_hint to logout request
79
- * @param idTokenHint
80
- */
81
- addIdTokenHint(idTokenHint) {
82
- this.parameters.set(AADServerParamKeys.ID_TOKEN_HINT, encodeURIComponent(idTokenHint));
83
- }
84
- /**
85
- * add domain_hint
86
- * @param domainHint
87
- */
88
- addDomainHint(domainHint) {
89
- this.parameters.set(SSOTypes.DOMAIN_HINT, encodeURIComponent(domainHint));
90
- }
91
- /**
92
- * add login_hint
93
- * @param loginHint
94
- */
95
- addLoginHint(loginHint) {
96
- this.parameters.set(SSOTypes.LOGIN_HINT, encodeURIComponent(loginHint));
97
- }
98
- /**
99
- * Adds the CCS (Cache Credential Service) query parameter for login_hint
100
- * @param loginHint
101
- */
102
- addCcsUpn(loginHint) {
103
- this.parameters.set(HeaderNames.CCS_HEADER, encodeURIComponent(`UPN:${loginHint}`));
104
- }
105
- /**
106
- * Adds the CCS (Cache Credential Service) query parameter for account object
107
- * @param loginHint
108
- */
109
- addCcsOid(clientInfo) {
110
- this.parameters.set(HeaderNames.CCS_HEADER, encodeURIComponent(`Oid:${clientInfo.uid}@${clientInfo.utid}`));
111
- }
112
- /**
113
- * add sid
114
- * @param sid
115
- */
116
- addSid(sid) {
117
- this.parameters.set(SSOTypes.SID, encodeURIComponent(sid));
118
- }
119
- /**
120
- * add claims
121
- * @param claims
122
- */
123
- addClaims(claims, clientCapabilities) {
124
- const mergedClaims = this.addClientCapabilitiesToClaims(claims, clientCapabilities);
125
- RequestValidator.validateClaims(mergedClaims);
126
- this.parameters.set(AADServerParamKeys.CLAIMS, encodeURIComponent(mergedClaims));
127
- }
128
- /**
129
- * add correlationId
130
- * @param correlationId
131
- */
132
- addCorrelationId(correlationId) {
133
- this.parameters.set(AADServerParamKeys.CLIENT_REQUEST_ID, encodeURIComponent(correlationId));
134
- }
135
- /**
136
- * add library info query params
137
- * @param libraryInfo
138
- */
139
- addLibraryInfo(libraryInfo) {
140
- // Telemetry Info
141
- this.parameters.set(AADServerParamKeys.X_CLIENT_SKU, libraryInfo.sku);
142
- this.parameters.set(AADServerParamKeys.X_CLIENT_VER, libraryInfo.version);
143
- if (libraryInfo.os) {
144
- this.parameters.set(AADServerParamKeys.X_CLIENT_OS, libraryInfo.os);
145
- }
146
- if (libraryInfo.cpu) {
147
- this.parameters.set(AADServerParamKeys.X_CLIENT_CPU, libraryInfo.cpu);
148
- }
149
- }
150
- /**
151
- * Add client telemetry parameters
152
- * @param appTelemetry
153
- */
154
- addApplicationTelemetry(appTelemetry) {
155
- if (appTelemetry?.appName) {
156
- this.parameters.set(AADServerParamKeys.X_APP_NAME, appTelemetry.appName);
157
- }
158
- if (appTelemetry?.appVersion) {
159
- this.parameters.set(AADServerParamKeys.X_APP_VER, appTelemetry.appVersion);
160
- }
161
- }
162
- /**
163
- * add prompt
164
- * @param prompt
165
- */
166
- addPrompt(prompt) {
167
- RequestValidator.validatePrompt(prompt);
168
- this.parameters.set(`${AADServerParamKeys.PROMPT}`, encodeURIComponent(prompt));
169
- }
170
- /**
171
- * add state
172
- * @param state
173
- */
174
- addState(state) {
175
- if (!StringUtils.isEmpty(state)) {
176
- this.parameters.set(AADServerParamKeys.STATE, encodeURIComponent(state));
177
- }
178
- }
179
- /**
180
- * add nonce
181
- * @param nonce
182
- */
183
- addNonce(nonce) {
184
- this.parameters.set(AADServerParamKeys.NONCE, encodeURIComponent(nonce));
185
- }
186
- /**
187
- * add code_challenge and code_challenge_method
188
- * - throw if either of them are not passed
189
- * @param codeChallenge
190
- * @param codeChallengeMethod
191
- */
192
- addCodeChallengeParams(codeChallenge, codeChallengeMethod) {
193
- RequestValidator.validateCodeChallengeParams(codeChallenge, codeChallengeMethod);
194
- if (codeChallenge && codeChallengeMethod) {
195
- this.parameters.set(AADServerParamKeys.CODE_CHALLENGE, encodeURIComponent(codeChallenge));
196
- this.parameters.set(AADServerParamKeys.CODE_CHALLENGE_METHOD, encodeURIComponent(codeChallengeMethod));
197
- }
198
- else {
199
- throw ClientConfigurationError.createInvalidCodeChallengeParamsError();
200
- }
201
- }
202
- /**
203
- * add the `authorization_code` passed by the user to exchange for a token
204
- * @param code
205
- */
206
- addAuthorizationCode(code) {
207
- this.parameters.set(AADServerParamKeys.CODE, encodeURIComponent(code));
208
- }
209
- /**
210
- * add the `authorization_code` passed by the user to exchange for a token
211
- * @param code
212
- */
213
- addDeviceCode(code) {
214
- this.parameters.set(AADServerParamKeys.DEVICE_CODE, encodeURIComponent(code));
215
- }
216
- /**
217
- * add the `refreshToken` passed by the user
218
- * @param refreshToken
219
- */
220
- addRefreshToken(refreshToken) {
221
- this.parameters.set(AADServerParamKeys.REFRESH_TOKEN, encodeURIComponent(refreshToken));
222
- }
223
- /**
224
- * add the `code_verifier` passed by the user to exchange for a token
225
- * @param codeVerifier
226
- */
227
- addCodeVerifier(codeVerifier) {
228
- this.parameters.set(AADServerParamKeys.CODE_VERIFIER, encodeURIComponent(codeVerifier));
229
- }
230
- /**
231
- * add client_secret
232
- * @param clientSecret
233
- */
234
- addClientSecret(clientSecret) {
235
- this.parameters.set(AADServerParamKeys.CLIENT_SECRET, encodeURIComponent(clientSecret));
236
- }
237
- /**
238
- * add clientAssertion for confidential client flows
239
- * @param clientAssertion
240
- */
241
- addClientAssertion(clientAssertion) {
242
- if (!StringUtils.isEmpty(clientAssertion)) {
243
- this.parameters.set(AADServerParamKeys.CLIENT_ASSERTION, encodeURIComponent(clientAssertion));
244
- }
245
- }
246
- /**
247
- * add clientAssertionType for confidential client flows
248
- * @param clientAssertionType
249
- */
250
- addClientAssertionType(clientAssertionType) {
251
- if (!StringUtils.isEmpty(clientAssertionType)) {
252
- this.parameters.set(AADServerParamKeys.CLIENT_ASSERTION_TYPE, encodeURIComponent(clientAssertionType));
253
- }
254
- }
255
- /**
256
- * add OBO assertion for confidential client flows
257
- * @param clientAssertion
258
- */
259
- addOboAssertion(oboAssertion) {
260
- this.parameters.set(AADServerParamKeys.OBO_ASSERTION, encodeURIComponent(oboAssertion));
261
- }
262
- /**
263
- * add grant type
264
- * @param grantType
265
- */
266
- addRequestTokenUse(tokenUse) {
267
- this.parameters.set(AADServerParamKeys.REQUESTED_TOKEN_USE, encodeURIComponent(tokenUse));
268
- }
269
- /**
270
- * add grant type
271
- * @param grantType
272
- */
273
- addGrantType(grantType) {
274
- this.parameters.set(AADServerParamKeys.GRANT_TYPE, encodeURIComponent(grantType));
275
- }
276
- /**
277
- * add client info
278
- *
279
- */
280
- addClientInfo() {
281
- this.parameters.set(CLIENT_INFO, "1");
282
- }
283
- /**
284
- * add extraQueryParams
285
- * @param eQParams
286
- */
287
- addExtraQueryParameters(eQParams) {
288
- const sanitizedEQParams = RequestValidator.sanitizeEQParams(eQParams, this.parameters);
289
- Object.keys(sanitizedEQParams).forEach((key) => {
290
- this.parameters.set(key, eQParams[key]);
291
- });
292
- }
293
- addClientCapabilitiesToClaims(claims, clientCapabilities) {
294
- let mergedClaims;
295
- // Parse provided claims into JSON object or initialize empty object
296
- if (!claims) {
297
- mergedClaims = {};
298
- }
299
- else {
300
- try {
301
- mergedClaims = JSON.parse(claims);
302
- }
303
- catch (e) {
304
- throw ClientConfigurationError.createInvalidClaimsRequestError();
305
- }
306
- }
307
- if (clientCapabilities && clientCapabilities.length > 0) {
308
- if (!mergedClaims.hasOwnProperty(ClaimsRequestKeys.ACCESS_TOKEN)) {
309
- // Add access_token key to claims object
310
- mergedClaims[ClaimsRequestKeys.ACCESS_TOKEN] = {};
311
- }
312
- // Add xms_cc claim with provided clientCapabilities to access_token key
313
- mergedClaims[ClaimsRequestKeys.ACCESS_TOKEN][ClaimsRequestKeys.XMS_CC] = {
314
- values: clientCapabilities,
315
- };
316
- }
317
- return JSON.stringify(mergedClaims);
318
- }
319
- /**
320
- * adds `username` for Password Grant flow
321
- * @param username
322
- */
323
- addUsername(username) {
324
- this.parameters.set(PasswordGrantConstants.username, encodeURIComponent(username));
325
- }
326
- /**
327
- * adds `password` for Password Grant flow
328
- * @param password
329
- */
330
- addPassword(password) {
331
- this.parameters.set(PasswordGrantConstants.password, encodeURIComponent(password));
332
- }
333
- /**
334
- * add pop_jwk to query params
335
- * @param cnfString
336
- */
337
- addPopToken(cnfString) {
338
- if (!StringUtils.isEmpty(cnfString)) {
339
- this.parameters.set(AADServerParamKeys.TOKEN_TYPE, AuthenticationScheme.POP);
340
- this.parameters.set(AADServerParamKeys.REQ_CNF, encodeURIComponent(cnfString));
341
- }
342
- }
343
- /**
344
- * add SSH JWK and key ID to query params
345
- */
346
- addSshJwk(sshJwkString) {
347
- if (!StringUtils.isEmpty(sshJwkString)) {
348
- this.parameters.set(AADServerParamKeys.TOKEN_TYPE, AuthenticationScheme.SSH);
349
- this.parameters.set(AADServerParamKeys.REQ_CNF, encodeURIComponent(sshJwkString));
350
- }
351
- }
352
- /**
353
- * add server telemetry fields
354
- * @param serverTelemetryManager
355
- */
356
- addServerTelemetry(serverTelemetryManager) {
357
- this.parameters.set(AADServerParamKeys.X_CLIENT_CURR_TELEM, serverTelemetryManager.generateCurrentRequestHeaderValue());
358
- this.parameters.set(AADServerParamKeys.X_CLIENT_LAST_TELEM, serverTelemetryManager.generateLastRequestHeaderValue());
359
- }
360
- /**
361
- * Adds parameter that indicates to the server that throttling is supported
362
- */
363
- addThrottling() {
364
- this.parameters.set(AADServerParamKeys.X_MS_LIB_CAPABILITY, ThrottlingConstants.X_MS_LIB_CAPABILITY_VALUE);
365
- }
366
- /**
367
- * Adds logout_hint parameter for "silent" logout which prevent server account picker
368
- */
369
- addLogoutHint(logoutHint) {
370
- this.parameters.set(AADServerParamKeys.LOGOUT_HINT, encodeURIComponent(logoutHint));
371
- }
372
- /**
373
- * Utility to create a URL from the params map
374
- */
375
- createQueryString() {
376
- const queryParameterArray = new Array();
377
- this.parameters.forEach((value, key) => {
378
- queryParameterArray.push(`${key}=${value}`);
379
- });
380
- return queryParameterArray.join("&");
381
- }
382
- }
383
-
384
- export { RequestParameterBuilder };
385
- //# sourceMappingURL=RequestParameterBuilder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RequestParameterBuilder.js","sources":["../../src/request/RequestParameterBuilder.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;AAAA;;;AAGG;MA2BU,uBAAuB,CAAA;AAGhC,IAAA,WAAA,GAAA;AACI,QAAA,IAAI,CAAC,UAAU,GAAG,IAAI,GAAG,EAAkB,CAAC;KAC/C;AAED;;AAE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KACL;AAED;;AAEG;IACH,aAAa,GAAA;AACT,QAAA,IAAI,CAAC,UAAU,CAAC,GAAG,CACf,kBAAkB,CAAC,mBAAmB,EACtC,mBAAmB,CAAC,yBAAyB,CAChD,CAAC;KACL;AAED;;AAEG;AACH,IAAA,aAAa,CAAC,UAAkB,EAAA;AAC5B,QAAA,IAAI,CAAC,UAAU,CAAC,GAAG,CACf,kBAAkB,CAAC,WAAW,EAC9B,kBAAkB,CAAC,UAAU,CAAC,CACjC,CAAC;KACL;AAED;;AAEG;IACH,iBAAiB,GAAA;AACb,QAAA,MAAM,mBAAmB,GAAkB,IAAI,KAAK,EAAU,CAAC;QAE/D,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,GAAG,KAAI;YACnC,mBAAmB,CAAC,IAAI,CAAC,CAAA,EAAG,GAAG,CAAI,CAAA,EAAA,KAAK,CAAE,CAAA,CAAC,CAAC;AAChD,SAAC,CAAC,CAAC;AAEH,QAAA,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KACxC;AACJ;;;;"}
@@ -1,34 +0,0 @@
1
- import { StringDict } from "../utils/MsalTypes";
2
- /**
3
- * Validates server consumable params from the "request" objects
4
- */
5
- export declare class RequestValidator {
6
- /**
7
- * Utility to check if the `redirectUri` in the request is a non-null value
8
- * @param redirectUri
9
- */
10
- static validateRedirectUri(redirectUri: string): void;
11
- /**
12
- * Utility to validate prompt sent by the user in the request
13
- * @param prompt
14
- */
15
- static validatePrompt(prompt: string): void;
16
- static validateClaims(claims: string): void;
17
- /**
18
- * Utility to validate code_challenge and code_challenge_method
19
- * @param codeChallenge
20
- * @param codeChallengeMethod
21
- */
22
- static validateCodeChallengeParams(codeChallenge: string, codeChallengeMethod: string): void;
23
- /**
24
- * Utility to validate code_challenge_method
25
- * @param codeChallengeMethod
26
- */
27
- static validateCodeChallengeMethod(codeChallengeMethod: string): void;
28
- /**
29
- * Removes unnecessary, duplicate, and empty string query parameters from extraQueryParameters
30
- * @param request
31
- */
32
- static sanitizeEQParams(eQParams: StringDict, queryParams: Map<string, string>): StringDict;
33
- }
34
- //# sourceMappingURL=RequestValidator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RequestValidator.d.ts","sourceRoot":"","sources":["../../src/request/RequestValidator.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;GAEG;AACH,qBAAa,gBAAgB;IACzB;;;OAGG;IACH,MAAM,CAAC,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAMrD;;;OAGG;IACH,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAY3C,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAQ3C;;;;OAIG;IACH,MAAM,CAAC,2BAA2B,CAC9B,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,MAAM,GAC5B,IAAI;IAWP;;;OAGG;IACH,MAAM,CAAC,2BAA2B,CAAC,mBAAmB,EAAE,MAAM,GAAG,IAAI;IAWrE;;;OAGG;IACH,MAAM,CAAC,gBAAgB,CACnB,QAAQ,EAAE,UAAU,EACpB,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACjC,UAAU;CAiBhB"}