@azure/msal-common 14.0.3 → 14.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/dist/account/AccountInfo.d.ts +0 -1
  2. package/dist/account/AccountInfo.d.ts.map +1 -1
  3. package/dist/account/AuthToken.d.ts.map +1 -1
  4. package/dist/account/AuthToken.mjs +7 -6
  5. package/dist/account/AuthToken.mjs.map +1 -1
  6. package/dist/account/CcsCredential.mjs +1 -1
  7. package/dist/account/ClientInfo.d.ts.map +1 -1
  8. package/dist/account/ClientInfo.mjs +6 -5
  9. package/dist/account/ClientInfo.mjs.map +1 -1
  10. package/dist/authority/Authority.d.ts.map +1 -1
  11. package/dist/authority/Authority.mjs +28 -50
  12. package/dist/authority/Authority.mjs.map +1 -1
  13. package/dist/authority/AuthorityFactory.d.ts.map +1 -1
  14. package/dist/authority/AuthorityFactory.mjs +9 -7
  15. package/dist/authority/AuthorityFactory.mjs.map +1 -1
  16. package/dist/authority/AuthorityMetadata.mjs +1 -1
  17. package/dist/authority/AuthorityOptions.mjs +1 -1
  18. package/dist/authority/AuthorityType.mjs +1 -1
  19. package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
  20. package/dist/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
  21. package/dist/authority/OpenIdConfigResponse.mjs +1 -1
  22. package/dist/authority/ProtocolMode.mjs +1 -1
  23. package/dist/authority/RegionDiscovery.d.ts +3 -1
  24. package/dist/authority/RegionDiscovery.d.ts.map +1 -1
  25. package/dist/authority/RegionDiscovery.mjs +7 -8
  26. package/dist/authority/RegionDiscovery.mjs.map +1 -1
  27. package/dist/cache/CacheManager.d.ts +25 -7
  28. package/dist/cache/CacheManager.d.ts.map +1 -1
  29. package/dist/cache/CacheManager.mjs +98 -71
  30. package/dist/cache/CacheManager.mjs.map +1 -1
  31. package/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -1
  32. package/dist/cache/entities/AccessTokenEntity.mjs +4 -3
  33. package/dist/cache/entities/AccessTokenEntity.mjs.map +1 -1
  34. package/dist/cache/entities/AccountEntity.d.ts.map +1 -1
  35. package/dist/cache/entities/AccountEntity.mjs +4 -3
  36. package/dist/cache/entities/AccountEntity.mjs.map +1 -1
  37. package/dist/cache/entities/AppMetadataEntity.mjs +1 -1
  38. package/dist/cache/entities/AuthorityMetadataEntity.mjs +1 -1
  39. package/dist/cache/entities/CacheRecord.mjs +1 -1
  40. package/dist/cache/entities/CredentialEntity.d.ts.map +1 -1
  41. package/dist/cache/entities/CredentialEntity.mjs +4 -3
  42. package/dist/cache/entities/CredentialEntity.mjs.map +1 -1
  43. package/dist/cache/entities/IdTokenEntity.mjs +1 -1
  44. package/dist/cache/entities/RefreshTokenEntity.mjs +1 -1
  45. package/dist/cache/entities/ServerTelemetryEntity.mjs +1 -1
  46. package/dist/cache/entities/ThrottlingEntity.mjs +1 -1
  47. package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
  48. package/dist/cache/utils/CacheTypes.d.ts +3 -6
  49. package/dist/cache/utils/CacheTypes.d.ts.map +1 -1
  50. package/dist/client/AuthorizationCodeClient.d.ts.map +1 -1
  51. package/dist/client/AuthorizationCodeClient.mjs +13 -11
  52. package/dist/client/AuthorizationCodeClient.mjs.map +1 -1
  53. package/dist/client/BaseClient.d.ts.map +1 -1
  54. package/dist/client/BaseClient.mjs +5 -4
  55. package/dist/client/BaseClient.mjs.map +1 -1
  56. package/dist/client/RefreshTokenClient.d.ts.map +1 -1
  57. package/dist/client/RefreshTokenClient.mjs +33 -74
  58. package/dist/client/RefreshTokenClient.mjs.map +1 -1
  59. package/dist/client/SilentFlowClient.d.ts +2 -1
  60. package/dist/client/SilentFlowClient.d.ts.map +1 -1
  61. package/dist/client/SilentFlowClient.mjs +43 -19
  62. package/dist/client/SilentFlowClient.mjs.map +1 -1
  63. package/dist/config/ClientConfiguration.d.ts.map +1 -1
  64. package/dist/config/ClientConfiguration.mjs +5 -6
  65. package/dist/config/ClientConfiguration.mjs.map +1 -1
  66. package/dist/crypto/ICrypto.d.ts +0 -4
  67. package/dist/crypto/ICrypto.d.ts.map +1 -1
  68. package/dist/crypto/ICrypto.mjs +11 -22
  69. package/dist/crypto/ICrypto.mjs.map +1 -1
  70. package/dist/crypto/JoseHeader.d.ts.map +1 -1
  71. package/dist/crypto/JoseHeader.mjs +5 -4
  72. package/dist/crypto/JoseHeader.mjs.map +1 -1
  73. package/dist/crypto/PopTokenGenerator.d.ts +2 -1
  74. package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
  75. package/dist/crypto/PopTokenGenerator.mjs +4 -4
  76. package/dist/crypto/PopTokenGenerator.mjs.map +1 -1
  77. package/dist/error/AuthError.d.ts +8 -11
  78. package/dist/error/AuthError.d.ts.map +1 -1
  79. package/dist/error/AuthError.mjs +19 -21
  80. package/dist/error/AuthError.mjs.map +1 -1
  81. package/dist/error/AuthErrorCodes.d.ts +6 -0
  82. package/dist/error/AuthErrorCodes.d.ts.map +1 -0
  83. package/dist/error/AuthErrorCodes.mjs +14 -0
  84. package/dist/error/AuthErrorCodes.mjs.map +1 -0
  85. package/dist/error/ClientAuthError.d.ts +54 -234
  86. package/dist/error/ClientAuthError.d.ts.map +1 -1
  87. package/dist/error/ClientAuthError.mjs +149 -421
  88. package/dist/error/ClientAuthError.mjs.map +1 -1
  89. package/dist/error/ClientAuthErrorCodes.d.ts +44 -0
  90. package/dist/error/ClientAuthErrorCodes.d.ts.map +1 -0
  91. package/dist/error/ClientAuthErrorCodes.mjs +52 -0
  92. package/dist/error/ClientAuthErrorCodes.mjs.map +1 -0
  93. package/dist/error/ClientConfigurationError.d.ts +31 -125
  94. package/dist/error/ClientConfigurationError.d.ts.map +1 -1
  95. package/dist/error/ClientConfigurationError.mjs +81 -222
  96. package/dist/error/ClientConfigurationError.mjs.map +1 -1
  97. package/dist/error/ClientConfigurationErrorCodes.d.ts +23 -0
  98. package/dist/error/ClientConfigurationErrorCodes.d.ts.map +1 -0
  99. package/dist/error/ClientConfigurationErrorCodes.mjs +31 -0
  100. package/dist/error/ClientConfigurationErrorCodes.mjs.map +1 -0
  101. package/dist/error/InteractionRequiredAuthError.d.ts +14 -16
  102. package/dist/error/InteractionRequiredAuthError.d.ts.map +1 -1
  103. package/dist/error/InteractionRequiredAuthError.mjs +42 -41
  104. package/dist/error/InteractionRequiredAuthError.mjs.map +1 -1
  105. package/dist/error/InteractionRequiredAuthErrorCodes.d.ts +6 -0
  106. package/dist/error/InteractionRequiredAuthErrorCodes.d.ts.map +1 -0
  107. package/dist/error/InteractionRequiredAuthErrorCodes.mjs +16 -0
  108. package/dist/error/InteractionRequiredAuthErrorCodes.mjs.map +1 -0
  109. package/dist/error/JoseHeaderError.d.ts +7 -20
  110. package/dist/error/JoseHeaderError.d.ts.map +1 -1
  111. package/dist/error/JoseHeaderError.mjs +10 -26
  112. package/dist/error/JoseHeaderError.mjs.map +1 -1
  113. package/dist/error/JoseHeaderErrorCodes.d.ts +3 -0
  114. package/dist/error/JoseHeaderErrorCodes.d.ts.map +1 -0
  115. package/dist/error/JoseHeaderErrorCodes.mjs +11 -0
  116. package/dist/error/JoseHeaderErrorCodes.mjs.map +1 -0
  117. package/dist/error/ServerError.mjs +1 -1
  118. package/dist/index.cjs +942 -1210
  119. package/dist/index.cjs.map +1 -1
  120. package/dist/index.d.ts +5 -5
  121. package/dist/index.d.ts.map +1 -1
  122. package/dist/index.mjs +13 -5
  123. package/dist/index.mjs.map +1 -1
  124. package/dist/logger/Logger.mjs +1 -1
  125. package/dist/network/INetworkModule.d.ts.map +1 -1
  126. package/dist/network/INetworkModule.mjs +5 -6
  127. package/dist/network/INetworkModule.mjs.map +1 -1
  128. package/dist/network/NetworkManager.d.ts.map +1 -1
  129. package/dist/network/NetworkManager.mjs +4 -3
  130. package/dist/network/NetworkManager.mjs.map +1 -1
  131. package/dist/network/ThrottlingUtils.mjs +1 -1
  132. package/dist/packageMetadata.d.ts +1 -1
  133. package/dist/packageMetadata.mjs +2 -2
  134. package/dist/request/AuthenticationHeaderParser.d.ts.map +1 -1
  135. package/dist/request/AuthenticationHeaderParser.mjs +7 -6
  136. package/dist/request/AuthenticationHeaderParser.mjs.map +1 -1
  137. package/dist/request/CommonRefreshTokenRequest.d.ts +3 -0
  138. package/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -1
  139. package/dist/request/CommonSilentFlowRequest.d.ts +2 -0
  140. package/dist/request/CommonSilentFlowRequest.d.ts.map +1 -1
  141. package/dist/request/RequestParameterBuilder.d.ts.map +1 -1
  142. package/dist/request/RequestParameterBuilder.mjs +5 -4
  143. package/dist/request/RequestParameterBuilder.mjs.map +1 -1
  144. package/dist/request/RequestValidator.d.ts.map +1 -1
  145. package/dist/request/RequestValidator.mjs +8 -7
  146. package/dist/request/RequestValidator.mjs.map +1 -1
  147. package/dist/request/ScopeSet.d.ts.map +1 -1
  148. package/dist/request/ScopeSet.mjs +10 -8
  149. package/dist/request/ScopeSet.mjs.map +1 -1
  150. package/dist/response/ResponseHandler.d.ts.map +1 -1
  151. package/dist/response/ResponseHandler.mjs +15 -14
  152. package/dist/response/ResponseHandler.mjs.map +1 -1
  153. package/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -1
  154. package/dist/telemetry/performance/PerformanceClient.mjs +3 -2
  155. package/dist/telemetry/performance/PerformanceClient.mjs.map +1 -1
  156. package/dist/telemetry/performance/PerformanceEvent.d.ts +8 -0
  157. package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
  158. package/dist/telemetry/performance/PerformanceEvent.mjs +9 -1
  159. package/dist/telemetry/performance/PerformanceEvent.mjs.map +1 -1
  160. package/dist/telemetry/performance/StubPerformanceClient.mjs +1 -1
  161. package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
  162. package/dist/telemetry/server/ServerTelemetryManager.mjs +2 -2
  163. package/dist/telemetry/server/ServerTelemetryManager.mjs.map +1 -1
  164. package/dist/url/UrlString.d.ts.map +1 -1
  165. package/dist/url/UrlString.mjs +13 -11
  166. package/dist/url/UrlString.mjs.map +1 -1
  167. package/dist/utils/Constants.d.ts +6 -3
  168. package/dist/utils/Constants.d.ts.map +1 -1
  169. package/dist/utils/Constants.mjs +12 -4
  170. package/dist/utils/Constants.mjs.map +1 -1
  171. package/dist/utils/FunctionWrappers.d.ts.map +1 -1
  172. package/dist/utils/FunctionWrappers.mjs +1 -2
  173. package/dist/utils/FunctionWrappers.mjs.map +1 -1
  174. package/dist/utils/ProtocolUtils.d.ts.map +1 -1
  175. package/dist/utils/ProtocolUtils.mjs +7 -6
  176. package/dist/utils/ProtocolUtils.mjs.map +1 -1
  177. package/dist/utils/StringUtils.mjs +1 -1
  178. package/dist/utils/TimeUtils.mjs +1 -1
  179. package/package.json +1 -1
  180. package/src/account/AccountInfo.ts +0 -1
  181. package/src/account/AuthToken.ts +8 -7
  182. package/src/account/ClientInfo.ts +9 -6
  183. package/src/authority/Authority.ts +76 -94
  184. package/src/authority/AuthorityFactory.ts +21 -9
  185. package/src/authority/RegionDiscovery.ts +21 -18
  186. package/src/cache/CacheManager.ts +133 -95
  187. package/src/cache/entities/AccessTokenEntity.ts +7 -2
  188. package/src/cache/entities/AccountEntity.ts +7 -2
  189. package/src/cache/entities/CredentialEntity.ts +7 -2
  190. package/src/cache/utils/CacheTypes.ts +6 -6
  191. package/src/client/AuthorizationCodeClient.ts +35 -11
  192. package/src/client/BaseClient.ts +7 -4
  193. package/src/client/RefreshTokenClient.ts +100 -126
  194. package/src/client/SilentFlowClient.ts +72 -19
  195. package/src/config/ClientConfiguration.ts +6 -7
  196. package/src/crypto/ICrypto.ts +12 -34
  197. package/src/crypto/JoseHeader.ts +6 -3
  198. package/src/crypto/PopTokenGenerator.ts +10 -5
  199. package/src/error/AuthError.ts +24 -26
  200. package/src/error/AuthErrorCodes.ts +10 -0
  201. package/src/error/ClientAuthError.ts +227 -632
  202. package/src/error/ClientAuthErrorCodes.ts +51 -0
  203. package/src/error/ClientConfigurationError.ts +146 -332
  204. package/src/error/ClientConfigurationErrorCodes.ts +28 -0
  205. package/src/error/InteractionRequiredAuthError.ts +60 -55
  206. package/src/error/InteractionRequiredAuthErrorCodes.ts +13 -0
  207. package/src/error/JoseHeaderError.ts +11 -31
  208. package/src/error/JoseHeaderErrorCodes.ts +7 -0
  209. package/src/index.ts +13 -1
  210. package/src/network/INetworkModule.ts +10 -7
  211. package/src/network/NetworkManager.ts +5 -5
  212. package/src/packageMetadata.ts +1 -1
  213. package/src/request/AuthenticationHeaderParser.ts +11 -8
  214. package/src/request/CommonRefreshTokenRequest.ts +3 -0
  215. package/src/request/CommonSilentFlowRequest.ts +2 -0
  216. package/src/request/RequestParameterBuilder.ts +10 -3
  217. package/src/request/RequestValidator.ts +19 -6
  218. package/src/request/ScopeSet.ts +23 -7
  219. package/src/response/ResponseHandler.ts +37 -17
  220. package/src/telemetry/performance/PerformanceClient.ts +2 -1
  221. package/src/telemetry/performance/PerformanceEvent.ts +9 -0
  222. package/src/telemetry/server/ServerTelemetryManager.ts +1 -1
  223. package/src/url/UrlString.ts +26 -16
  224. package/src/utils/Constants.ts +11 -3
  225. package/src/utils/FunctionWrappers.ts +0 -1
  226. package/src/utils/ProtocolUtils.ts +8 -12
@@ -1 +1 @@
1
- {"version":3,"file":"ClientAuthError.mjs","sources":["../../src/error/ClientAuthError.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAKA;AAEA;;AAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAmND,IAAA,EAAA,eAAA;AAEF,QAAA,IAAA,EAAA,yBAAA;;AAEG,IAAA,oBAAA,EAAA;AACH,QAAa,IAAA,EAAA;AACG,QAAA,I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EAAA,CAAA,EAAA,sBAAA,CAAA,uBAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA;KACG;AAON;;AAEG;IACH,OAAO,8BAA8B,GAAe;AAOpD,QAAA,OAAA,IAAA,eAAA,CAAA,sBAAA,CAAA,0BAAA,CAAA,IAAA,EAAA,CAAA,EAAA,sBAAA,CAAA,0BAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA;;AAEG;;;AAkBH,IAAA,OAAA,4BAAA,GAAA;;AAEG,KAAA;;;AAeH;;AAEG,QAAA,OAAA,IAAA,eAAA,CAAA,sBAAA,CAAA,sBAAA,CAAA,IAAA,EAAA,CAAA,EAAA,sBAAA,CAAA,sBAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA;KACG;AAON;;AAEG;IACH,OAAO,mCAA0C,GAAA;AAOjD,QAAA,OAAA,IAAA,eAAA,CAAA,sBAAA,CAAA,wBAAA,CAAA,IAAA,EAAA,CAAA,EAAA,sBAAA,CAAA,wBAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA;;AAEG;;AAQH;;AAEG,QAAA,OAAA,IAAA,eAAA,CAAA,sBAAA,CAAA,kBAAA,CAAA,IAAA,EAAA,sBAAA,CAAA,kBAAA,CAAA,IAAA,CAAA,CAAA;KACG;AAON;;AAEG;IACH,OAAO,kCAA6C,GAAA;AAMvD,QAAA,OAAA,IAAA,eAAA,CAAA,sBAAA,CAAA,uBAAA,CAAA,IAAA,EAAA,sBAAA,CAAA,uBAAA,CAAA,IAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ClientAuthError.mjs","sources":["../../src/error/ClientAuthError.ts"],"sourcesContent":[null],"names":["ClientAuthErrorCodes.bindingKeyNotRemoved","ClientAuthErrorCodes.endSessionEndpointNotSupported","ClientAuthErrorCodes.userCanceled","ClientAuthErrorCodes.missingTenantIdError"],"mappings":";;;;;;;AAKA;AACA;AACA;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkFE,CAAAA,oBAAA,GAAA,6DAAA;AAEF,IAAA,CAAAC,8BAAA,GAAA,gDAAA;;;AAGG,IAAA,CAAAC,YAAA,GAAA,0BAAA;AACH,IAAA,CAAAC,oBAAmC,GAAA,mHAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAmNjC,IAAA,EAAAD,YAAA;AAEF,QAAA,IAAA,EAAA,uBAAA,CAAAA,YAAA,CAAA;;AAEG,IAAA,oBAAA,EAAA;AACH,QAAa,IAAA,EAAAC,oBAAiC;AAC9B,QAAA,IAAA,EAAA,uBAAoC,CAAAA,oBAAS,CAAA;AAW5D,KAAA;AAED,EAAA;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,44 @@
1
+ export declare const clientInfoDecodingError = "client_info_decoding_error";
2
+ export declare const clientInfoEmptyError = "client_info_empty_error";
3
+ export declare const tokenParsingError = "token_parsing_error";
4
+ export declare const nullOrEmptyToken = "null_or_empty_token";
5
+ export declare const endpointResolutionError = "endpoints_resolution_error";
6
+ export declare const networkError = "network_error";
7
+ export declare const openIdConfigError = "openid_config_error";
8
+ export declare const hashNotDeserialized = "hash_not_deserialized";
9
+ export declare const invalidState = "invalid_state";
10
+ export declare const stateMismatch = "state_mismatch";
11
+ export declare const stateNotFound = "state_not_found";
12
+ export declare const nonceMismatch = "nonce_mismatch";
13
+ export declare const authTimeNotFound = "auth_time_not_found";
14
+ export declare const maxAgeTranspired = "max_age_transpired";
15
+ export declare const multipleMatchingTokens = "multiple_matching_tokens";
16
+ export declare const multipleMatchingAccounts = "multiple_matching_accounts";
17
+ export declare const multipleMatchingAppMetadata = "multiple_matching_appMetadata";
18
+ export declare const requestCannotBeMade = "request_cannot_be_made";
19
+ export declare const cannotRemoveEmptyScope = "cannot_remove_empty_scope";
20
+ export declare const cannotAppendScopeSet = "cannot_append_scopeset";
21
+ export declare const emptyInputScopeSet = "empty_input_scopeset";
22
+ export declare const deviceCodePollingCancelled = "device_code_polling_cancelled";
23
+ export declare const deviceCodeExpired = "device_code_expired";
24
+ export declare const deviceCodeUnknownError = "device_code_unknown_error";
25
+ export declare const noAccountInSilentRequest = "no_account_in_silent_request";
26
+ export declare const invalidCacheRecord = "invalid_cache_record";
27
+ export declare const invalidCacheEnvironment = "invalid_cache_environment";
28
+ export declare const noAccountFound = "no_account_found";
29
+ export declare const noCryptoObject = "no_crypto_object";
30
+ export declare const unexpectedCredentialType = "unexpected_credential_type";
31
+ export declare const invalidAssertion = "invalid_assertion";
32
+ export declare const invalidClientCredential = "invalid_client_credential";
33
+ export declare const tokenRefreshRequired = "token_refresh_required";
34
+ export declare const userTimeoutReached = "user_timeout_reached";
35
+ export declare const tokenClaimsCnfRequiredForSignedJwt = "token_claims_cnf_required_for_signedjwt";
36
+ export declare const authorizationCodeMissingFromServerResponse = "authorization_code_missing_from_server_response";
37
+ export declare const bindingKeyNotRemoved = "binding_key_not_removed";
38
+ export declare const endSessionEndpointNotSupported = "end_session_endpoint_not_supported";
39
+ export declare const keyIdMissing = "key_id_missing";
40
+ export declare const noNetworkConnectivity = "no_network_connectivity";
41
+ export declare const userCanceled = "user_canceled";
42
+ export declare const missingTenantIdError = "missing_tenant_id_error";
43
+ export declare const methodNotImplemented = "method_not_implemented";
44
+ //# sourceMappingURL=ClientAuthErrorCodes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientAuthErrorCodes.d.ts","sourceRoot":"","sources":["../../src/error/ClientAuthErrorCodes.ts"],"names":[],"mappings":"AAKA,eAAO,MA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gB,sBAAsB,CAAC;AACpD,eAAO,MAAM,uBAAuB,8BAA8B,CAAC;AACnE,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,kBAAkB,yBAAyB,CAAC;AACzD,eAAO,MAAM,kCAAkC,4CACF,CAAC;AAC9C,eAAO,MAAM,0CAA0C,oDACF,CAAC;AACtD,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,eAAO,MAAM,8BAA8B,uCACH,CAAC;AACzC,eAAO,MAAM,YAAY,mBAAmB,CAAC;AAC7C,eAAO,MAAM,qBAAqB,4BAA4B,CAAC;AAC/D,eAAO,MAAM,YAAY,kBAAkB,CAAC;AAC5C,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,eAAO,MAAM,oBAAoB,2BAA2B,CAAC"}
@@ -0,0 +1,52 @@
1
+ /*! @azure/msal-common v14.1.0 2023-10-05 */
2
+ 'use strict';
3
+ /*
4
+ * Copyright (c) Microsoft Corporation. All rights reserved.
5
+ * Licensed under the MIT License.
6
+ */
7
+ const clientInfoDecodingError = "client_info_decoding_error";
8
+ const clientInfoEmptyError = "client_info_empty_error";
9
+ const tokenParsingError = "token_parsing_error";
10
+ const nullOrEmptyToken = "null_or_empty_token";
11
+ const endpointResolutionError = "endpoints_resolution_error";
12
+ const networkError = "network_error";
13
+ const openIdConfigError = "openid_config_error";
14
+ const hashNotDeserialized = "hash_not_deserialized";
15
+ const invalidState = "invalid_state";
16
+ const stateMismatch = "state_mismatch";
17
+ const stateNotFound = "state_not_found";
18
+ const nonceMismatch = "nonce_mismatch";
19
+ const authTimeNotFound = "auth_time_not_found";
20
+ const maxAgeTranspired = "max_age_transpired";
21
+ const multipleMatchingTokens = "multiple_matching_tokens";
22
+ const multipleMatchingAccounts = "multiple_matching_accounts";
23
+ const multipleMatchingAppMetadata = "multiple_matching_appMetadata";
24
+ const requestCannotBeMade = "request_cannot_be_made";
25
+ const cannotRemoveEmptyScope = "cannot_remove_empty_scope";
26
+ const cannotAppendScopeSet = "cannot_append_scopeset";
27
+ const emptyInputScopeSet = "empty_input_scopeset";
28
+ const deviceCodePollingCancelled = "device_code_polling_cancelled";
29
+ const deviceCodeExpired = "device_code_expired";
30
+ const deviceCodeUnknownError = "device_code_unknown_error";
31
+ const noAccountInSilentRequest = "no_account_in_silent_request";
32
+ const invalidCacheRecord = "invalid_cache_record";
33
+ const invalidCacheEnvironment = "invalid_cache_environment";
34
+ const noAccountFound = "no_account_found";
35
+ const noCryptoObject = "no_crypto_object";
36
+ const unexpectedCredentialType = "unexpected_credential_type";
37
+ const invalidAssertion = "invalid_assertion";
38
+ const invalidClientCredential = "invalid_client_credential";
39
+ const tokenRefreshRequired = "token_refresh_required";
40
+ const userTimeoutReached = "user_timeout_reached";
41
+ const tokenClaimsCnfRequiredForSignedJwt = "token_claims_cnf_required_for_signedjwt";
42
+ const authorizationCodeMissingFromServerResponse = "authorization_code_missing_from_server_response";
43
+ const bindingKeyNotRemoved = "binding_key_not_removed";
44
+ const endSessionEndpointNotSupported = "end_session_endpoint_not_supported";
45
+ const keyIdMissing = "key_id_missing";
46
+ const noNetworkConnectivity = "no_network_connectivity";
47
+ const userCanceled = "user_canceled";
48
+ const missingTenantIdError = "missing_tenant_id_error";
49
+ const methodNotImplemented = "method_not_implemented";
50
+
51
+ export { authTimeNotFound, authorizationCodeMissingFromServerResponse, bindingKeyNotRemoved, cannotAppendScopeSet, cannotRemoveEmptyScope, clientInfoDecodingError, clientInfoEmptyError, deviceCodeExpired, deviceCodePollingCancelled, deviceCodeUnknownError, emptyInputScopeSet, endSessionEndpointNotSupported, endpointResolutionError, hashNotDeserialized, invalidAssertion, invalidCacheEnvironment, invalidCacheRecord, invalidClientCredential, invalidState, keyIdMissing, maxAgeTranspired, methodNotImplemented, missingTenantIdError, multipleMatchingAccounts, multipleMatchingAppMetadata, multipleMatchingTokens, networkError, noAccountFound, noAccountInSilentRequest, noCryptoObject, noNetworkConnectivity, nonceMismatch, nullOrEmptyToken, openIdConfigError, requestCannotBeMade, stateMismatch, stateNotFound, tokenClaimsCnfRequiredForSignedJwt, tokenParsingError, tokenRefreshRequired, unexpectedCredentialType, userCanceled, userTimeoutReached };
52
+ //# sourceMappingURL=ClientAuthErrorCodes.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientAuthErrorCodes.mjs","sources":["../../src/error/ClientAuthErrorCodes.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAKA;AACA;AACA;AACA;AACO,MAAA,uBAA6B,GAAA,6BAAA;AAC7B,MAAA,oBAAkB,GAAA,0BAAmB;AACrC,MAAA,iBAAuB,GAAA,sBAAA;AACvB,MAAA,gBAAyB,GAAA,sBAAA;AACzB,MAAA,uBAAkB,GAAA,6BAAmB;AACrC,MAAA,YAAmB,GAAA,gBAAA;AACnB,MAAA,iBAAmB,GAAA,sBAAqB;AACxC,MAAA,mBAAmB,GAAA,wBAAoB;AACvC,MAAA,YAAsB,GAAA,gBAAA;AACtB,MAAA,aAAsB,GAAA,iBAAA;AACtB,MAAA,aAA4B,GAAA,kBAAA;AAC5B,MAAA,aAA8B,GAAA,iBAAA;AAC9B,MAAA,gBAAiC,GAAA,sBAAA;AACjC,MAAA,gBAAyB,GAAA,qBAAA;AACzB,MAAA,sBAA4B,GAAA,2BAAA;AAC5B,MAAA,wBAA0B,GAAA,6BAA4B;AACtD,MAAA,2BAAwB,GAAA,gCAA0B;AAClD,MAAA,mBAAgC,GAAA,yBAAA;AAChC,MAAA,sBAAuB,GAAA,4BAAyB;AAChD,MAAA,oBAA4B,GAAA,yBAAA;AAC5B,MAAA,kBAA8B,GAAA,uBAAA;AAC9B,MAAA,0BAAwB,GAAA,gCAA0B;AAClD,MAAA,iBAA6B,GAAA,sBAAA;AAC7B,MAAA,sBAAoB,GAAA,4BAAsB;AAC1C,MAAA,wBAAoB,GAAA,+BAAsB;AAC1C,MAAA,kBAA8B,GAAA,uBAAA;AAC9B,MAAA,uBAAsB,GAAA,4BAAuB;AAC7C,MAAA,cAA6B,GAAA,mBAAA;AAC7B,MAAA,cAA0B,GAAA,mBAAA;AAC1B,MAAA,wBAAwB,GAAA,6BAA0B;AAClD,MAAA,gBAAwC,GAAA,oBAAA;AAExC,MAAA,uBAAgD,GAAA,4BAAA;AAEhD,MAAA,oBAA0B,GAAA,yBAAA;AAC1B,MAAA,kBAAoC,GAAA,uBAAA;AAEpC,MAAA,kCAAkB,GAAA,0CAAoB;AACtC,MAAA,0CAA2B,GAAA,kDAA6B;AACxD,MAAA,oBAAkB,GAAA,0BAAmB;AACrC,MAAA,8BAA0B,GAAA,qCAA6B;AACvD,MAAA,YAA0B,GAAA,iBAAA;;;;;;;;"}
@@ -1,16 +1,39 @@
1
- import { ClientAuthError } from "./ClientAuthError";
1
+ import { AuthError } from "./AuthError";
2
+ import * as ClientConfigurationErrorCodes from "./ClientConfigurationErrorCodes";
3
+ export { ClientConfigurationErrorCodes };
4
+ export declare const ClientConfigurationErrorMessages: {
5
+ redirect_uri_empty: string;
6
+ claims_request_parsing_error: string;
7
+ authority_uri_insecure: string;
8
+ url_parse_error: string;
9
+ empty_url_error: string;
10
+ empty_input_scopes_error: string;
11
+ invalid_prompt_value: string;
12
+ invalid_claims: string;
13
+ token_request_empty: string;
14
+ logout_request_empty: string;
15
+ invalid_code_challenge_method: string;
16
+ pkce_params_missing: string;
17
+ invalid_cloud_discovery_metadata: string;
18
+ invalid_authority_metadata: string;
19
+ untrusted_authority: string;
20
+ missing_ssh_jwk: string;
21
+ missing_ssh_kid: string;
22
+ missing_nonce_authentication_header: string;
23
+ invalid_authentication_header: string;
24
+ cannot_set_OIDCOptions: string;
25
+ cannot_allow_native_broker: string;
26
+ authority_mismatch: string;
27
+ };
2
28
  /**
3
29
  * ClientConfigurationErrorMessage class containing string constants used by error codes and messages.
30
+ * @deprecated Use ClientConfigurationErrorCodes instead
4
31
  */
5
32
  export declare const ClientConfigurationErrorMessage: {
6
33
  redirectUriNotSet: {
7
34
  code: string;
8
35
  desc: string;
9
36
  };
10
- postLogoutUriNotSet: {
11
- code: string;
12
- desc: string;
13
- };
14
37
  claimsRequestParsingError: {
15
38
  code: string;
16
39
  desc: string;
@@ -31,14 +54,6 @@ export declare const ClientConfigurationErrorMessage: {
31
54
  code: string;
32
55
  desc: string;
33
56
  };
34
- nonArrayScopesError: {
35
- code: string;
36
- desc: string;
37
- };
38
- clientIdSingleScopeError: {
39
- code: string;
40
- desc: string;
41
- };
42
57
  invalidPrompt: {
43
58
  code: string;
44
59
  desc: string;
@@ -75,10 +90,6 @@ export declare const ClientConfigurationErrorMessage: {
75
90
  code: string;
76
91
  desc: string;
77
92
  };
78
- invalidAzureCloudInstance: {
79
- code: string;
80
- desc: string;
81
- };
82
93
  missingSshJwk: {
83
94
  code: string;
84
95
  desc: string;
@@ -111,113 +122,8 @@ export declare const ClientConfigurationErrorMessage: {
111
122
  /**
112
123
  * Error thrown when there is an error in configuration of the MSAL.js library.
113
124
  */
114
- export declare class ClientConfigurationError extends ClientAuthError {
115
- constructor(errorCode: string, errorMessage?: string);
116
- /**
117
- * Creates an error thrown when the redirect uri is empty (not set by caller)
118
- */
119
- static createRedirectUriEmptyError(): ClientConfigurationError;
120
- /**
121
- * Creates an error thrown when the post-logout redirect uri is empty (not set by caller)
122
- */
123
- static createPostLogoutRedirectUriEmptyError(): ClientConfigurationError;
124
- /**
125
- * Creates an error thrown when the claims request could not be successfully parsed
126
- */
127
- static createClaimsRequestParsingError(claimsRequestParseError: string): ClientConfigurationError;
128
- /**
129
- * Creates an error thrown if authority uri is given an insecure protocol.
130
- * @param urlString
131
- */
132
- static createInsecureAuthorityUriError(urlString: string): ClientConfigurationError;
133
- /**
134
- * Creates an error thrown if URL string does not parse into separate segments.
135
- * @param urlString
136
- */
137
- static createUrlParseError(urlParseError: string): ClientConfigurationError;
138
- /**
139
- * Creates an error thrown if URL string is empty or null.
140
- * @param urlString
141
- */
142
- static createUrlEmptyError(): ClientConfigurationError;
143
- /**
144
- * Error thrown when scopes are empty.
145
- * @param scopesValue
146
- */
147
- static createEmptyScopesArrayError(): ClientConfigurationError;
148
- /**
149
- * Error thrown when client id scope is not provided as single scope.
150
- * @param inputScopes
151
- */
152
- static createClientIdSingleScopeError(inputScopes: Array<string>): ClientConfigurationError;
153
- /**
154
- * Error thrown when prompt is not an allowed type.
155
- * @param promptValue
156
- */
157
- static createInvalidPromptError(promptValue: string): ClientConfigurationError;
158
- /**
159
- * Creates error thrown when claims parameter is not a stringified JSON object
160
- */
161
- static createInvalidClaimsRequestError(): ClientConfigurationError;
162
- /**
163
- * Throws error when token request is empty and nothing cached in storage.
164
- */
165
- static createEmptyLogoutRequestError(): ClientConfigurationError;
166
- /**
167
- * Throws error when token request is empty and nothing cached in storage.
168
- */
169
- static createEmptyTokenRequestError(): ClientConfigurationError;
170
- /**
171
- * Throws error when an invalid code_challenge_method is passed by the user
172
- */
173
- static createInvalidCodeChallengeMethodError(): ClientConfigurationError;
174
- /**
175
- * Throws error when both params: code_challenge and code_challenge_method are not passed together
176
- */
177
- static createInvalidCodeChallengeParamsError(): ClientConfigurationError;
178
- /**
179
- * Throws an error when the user passes invalid cloudDiscoveryMetadata
180
- */
181
- static createInvalidCloudDiscoveryMetadataError(): ClientConfigurationError;
182
- /**
183
- * Throws an error when the user passes invalid cloudDiscoveryMetadata
184
- */
185
- static createInvalidAuthorityMetadataError(): ClientConfigurationError;
186
- /**
187
- * Throws error when provided authority is not a member of the trusted host list
188
- */
189
- static createUntrustedAuthorityError(): ClientConfigurationError;
190
- /**
191
- * Throws error when the AzureCloudInstance is set to an invalid value
192
- */
193
- static createInvalidAzureCloudInstanceError(): ClientConfigurationError;
194
- /**
195
- * Throws an error when the authentication scheme is set to SSH but the SSH public key is omitted from the request
196
- */
197
- static createMissingSshJwkError(): ClientConfigurationError;
198
- /**
199
- * Throws an error when the authentication scheme is set to SSH but the SSH public key ID is omitted from the request
200
- */
201
- static createMissingSshKidError(): ClientConfigurationError;
202
- /**
203
- * Throws error when provided headers don't contain a header that a server nonce can be extracted from
204
- */
205
- static createMissingNonceAuthenticationHeadersError(): ClientConfigurationError;
206
- /**
207
- * Throws error when a provided header is invalid in any way
208
- */
209
- static createInvalidAuthenticationHeaderError(invalidHeaderName: string, details: string): ClientConfigurationError;
210
- /**
211
- * Throws error when provided non-default OIDCOptions when not in OIDC protocol mode
212
- */
213
- static createCannotSetOIDCOptionsError(): ClientConfigurationError;
214
- /**
215
- * Throws error when allowNativeBroker is set to true when not in AAD protocol mode
216
- */
217
- static createCannotAllowNativeBrokerError(): ClientConfigurationError;
218
- /**
219
- * Create an error when the authority provided in request does not match authority provided in account or MSAL.js configuration.
220
- */
221
- static createAuthorityMismatchError(): ClientConfigurationError;
125
+ export declare class ClientConfigurationError extends AuthError {
126
+ constructor(errorCode: string);
222
127
  }
128
+ export declare function createClientConfigurationError(errorCode: string): ClientConfigurationError;
223
129
  //# sourceMappingURL=ClientConfigurationError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClientConfigurationError.d.ts","sourceRoot":"","sources":["../../src/error/ClientConfigurationError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyG3C,CAAC;AAEF;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,eAAe;gBAC7C,SAAS,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM;IAMpD;;OAEG;IACH,MAAM,CAAC,2BAA2B,IAAI,wBAAwB;IAO9D;;OAEG;IACH,MAAM,CAAC,qCAAqC,IAAI,wBAAwB;IAOxE;;OAEG;IACH,MAAM,CAAC,+BAA+B,CAClC,uBAAuB,EAAE,MAAM,GAChC,wBAAwB;IAO3B;;;OAGG;IACH,MAAM,CAAC,+BAA+B,C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