@azure/msal-common 13.0.0 → 14.0.0-alpha.2

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 (333) hide show
  1. package/dist/account/AccountInfo.d.ts +31 -31
  2. package/dist/account/AccountInfo.d.ts.map +1 -1
  3. package/dist/account/AuthToken.d.ts +20 -20
  4. package/dist/account/AuthToken.d.ts.map +1 -1
  5. package/dist/account/AuthToken.js +49 -50
  6. package/dist/account/AuthToken.js.map +1 -1
  7. package/dist/account/CcsCredential.d.ts +8 -8
  8. package/dist/account/CcsCredential.d.ts.map +1 -1
  9. package/dist/account/CcsCredential.js +9 -9
  10. package/dist/account/CcsCredential.js.map +1 -1
  11. package/dist/account/ClientCredentials.d.ts +14 -14
  12. package/dist/account/ClientCredentials.d.ts.map +1 -1
  13. package/dist/account/ClientInfo.d.ts +19 -19
  14. package/dist/account/ClientInfo.d.ts.map +1 -1
  15. package/dist/account/ClientInfo.js +37 -35
  16. package/dist/account/ClientInfo.js.map +1 -1
  17. package/dist/account/DecodedAuthToken.d.ts +8 -8
  18. package/dist/account/DecodedAuthToken.d.ts.map +1 -1
  19. package/dist/account/TokenClaims.d.ts +65 -65
  20. package/dist/account/TokenClaims.d.ts.map +1 -1
  21. package/dist/authority/Authority.d.ts +228 -215
  22. package/dist/authority/Authority.d.ts.map +1 -1
  23. package/dist/authority/Authority.js +717 -765
  24. package/dist/authority/Authority.js.map +1 -1
  25. package/dist/authority/AuthorityFactory.d.ts +30 -30
  26. package/dist/authority/AuthorityFactory.d.ts.map +1 -1
  27. package/dist/authority/AuthorityFactory.js +48 -63
  28. package/dist/authority/AuthorityFactory.js.map +1 -1
  29. package/dist/authority/AuthorityMetadata.d.ts +622 -622
  30. package/dist/authority/AuthorityMetadata.d.ts.map +1 -1
  31. package/dist/authority/AuthorityMetadata.js +877 -8
  32. package/dist/authority/AuthorityMetadata.js.map +1 -1
  33. package/dist/authority/AuthorityOptions.d.ts +18 -18
  34. package/dist/authority/AuthorityOptions.d.ts.map +1 -1
  35. package/dist/authority/AuthorityOptions.js +19 -19
  36. package/dist/authority/AuthorityOptions.js.map +1 -1
  37. package/dist/authority/AuthorityType.d.ts +9 -9
  38. package/dist/authority/AuthorityType.js +14 -14
  39. package/dist/authority/AuthorityType.js.map +1 -1
  40. package/dist/authority/AzureRegion.d.ts +1 -1
  41. package/dist/authority/AzureRegion.d.ts.map +1 -1
  42. package/dist/authority/AzureRegionConfiguration.d.ts +5 -5
  43. package/dist/authority/AzureRegionConfiguration.d.ts.map +1 -1
  44. package/dist/authority/CloudDiscoveryMetadata.d.ts +5 -5
  45. package/dist/authority/CloudDiscoveryMetadata.d.ts.map +1 -1
  46. package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +13 -13
  47. package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +1 -1
  48. package/dist/authority/CloudInstanceDiscoveryErrorResponse.js +8 -8
  49. package/dist/authority/CloudInstanceDiscoveryErrorResponse.js.map +1 -1
  50. package/dist/authority/CloudInstanceDiscoveryResponse.d.ts +9 -9
  51. package/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -1
  52. package/dist/authority/CloudInstanceDiscoveryResponse.js +8 -8
  53. package/dist/authority/CloudInstanceDiscoveryResponse.js.map +1 -1
  54. package/dist/authority/ImdsOptions.d.ts +5 -5
  55. package/dist/authority/ImdsOptions.d.ts.map +1 -1
  56. package/dist/authority/OpenIdConfigResponse.d.ts +11 -11
  57. package/dist/authority/OpenIdConfigResponse.d.ts.map +1 -1
  58. package/dist/authority/OpenIdConfigResponse.js +10 -10
  59. package/dist/authority/OpenIdConfigResponse.js.map +1 -1
  60. package/dist/authority/ProtocolMode.d.ts +7 -7
  61. package/dist/authority/ProtocolMode.js +12 -12
  62. package/dist/authority/ProtocolMode.js.map +1 -1
  63. package/dist/authority/RegionDiscovery.d.ts +30 -30
  64. package/dist/authority/RegionDiscovery.d.ts.map +1 -1
  65. package/dist/authority/RegionDiscovery.js +110 -132
  66. package/dist/authority/RegionDiscovery.js.map +1 -1
  67. package/dist/authority/RegionDiscoveryMetadata.d.ts +6 -6
  68. package/dist/authority/RegionDiscoveryMetadata.d.ts.map +1 -1
  69. package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +15 -15
  70. package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +1 -1
  71. package/dist/cache/CacheManager.d.ts +443 -443
  72. package/dist/cache/CacheManager.d.ts.map +1 -1
  73. package/dist/cache/CacheManager.js +1012 -1047
  74. package/dist/cache/CacheManager.js.map +1 -1
  75. package/dist/cache/entities/AccessTokenEntity.d.ts +56 -56
  76. package/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -1
  77. package/dist/cache/entities/AccessTokenEntity.js +112 -113
  78. package/dist/cache/entities/AccessTokenEntity.js.map +1 -1
  79. package/dist/cache/entities/AccountEntity.d.ts +99 -99
  80. package/dist/cache/entities/AccountEntity.d.ts.map +1 -1
  81. package/dist/cache/entities/AccountEntity.js +249 -237
  82. package/dist/cache/entities/AccountEntity.js.map +1 -1
  83. package/dist/cache/entities/AppMetadataEntity.d.ts +39 -39
  84. package/dist/cache/entities/AppMetadataEntity.d.ts.map +1 -1
  85. package/dist/cache/entities/AppMetadataEntity.js +67 -68
  86. package/dist/cache/entities/AppMetadataEntity.js.map +1 -1
  87. package/dist/cache/entities/AuthorityMetadataEntity.d.ts +47 -47
  88. package/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -1
  89. package/dist/cache/entities/AuthorityMetadataEntity.js +78 -75
  90. package/dist/cache/entities/AuthorityMetadataEntity.js.map +1 -1
  91. package/dist/cache/entities/CacheRecord.d.ts +13 -13
  92. package/dist/cache/entities/CacheRecord.d.ts.map +1 -1
  93. package/dist/cache/entities/CacheRecord.js +14 -15
  94. package/dist/cache/entities/CacheRecord.js.map +1 -1
  95. package/dist/cache/entities/CredentialEntity.d.ts +88 -88
  96. package/dist/cache/entities/CredentialEntity.d.ts.map +1 -1
  97. package/dist/cache/entities/CredentialEntity.js +137 -136
  98. package/dist/cache/entities/CredentialEntity.js.map +1 -1
  99. package/dist/cache/entities/IdTokenEntity.d.ts +34 -34
  100. package/dist/cache/entities/IdTokenEntity.d.ts.map +1 -1
  101. package/dist/cache/entities/IdTokenEntity.js +57 -63
  102. package/dist/cache/entities/IdTokenEntity.js.map +1 -1
  103. package/dist/cache/entities/RefreshTokenEntity.d.ts +36 -36
  104. package/dist/cache/entities/RefreshTokenEntity.d.ts.map +1 -1
  105. package/dist/cache/entities/RefreshTokenEntity.js +60 -66
  106. package/dist/cache/entities/RefreshTokenEntity.js.map +1 -1
  107. package/dist/cache/entities/ServerTelemetryEntity.d.ts +12 -12
  108. package/dist/cache/entities/ServerTelemetryEntity.d.ts.map +1 -1
  109. package/dist/cache/entities/ServerTelemetryEntity.js +28 -29
  110. package/dist/cache/entities/ServerTelemetryEntity.js.map +1 -1
  111. package/dist/cache/entities/ThrottlingEntity.d.ts +13 -13
  112. package/dist/cache/entities/ThrottlingEntity.js +24 -26
  113. package/dist/cache/entities/ThrottlingEntity.js.map +1 -1
  114. package/dist/cache/interface/ICacheManager.d.ts +165 -165
  115. package/dist/cache/interface/ICacheManager.d.ts.map +1 -1
  116. package/dist/cache/interface/ICachePlugin.d.ts +5 -5
  117. package/dist/cache/interface/ISerializableTokenCache.d.ts +4 -4
  118. package/dist/cache/persistence/TokenCacheContext.d.ts +23 -23
  119. package/dist/cache/persistence/TokenCacheContext.d.ts.map +1 -1
  120. package/dist/cache/persistence/TokenCacheContext.js +26 -35
  121. package/dist/cache/persistence/TokenCacheContext.js.map +1 -1
  122. package/dist/cache/utils/CacheTypes.d.ts +62 -62
  123. package/dist/cache/utils/CacheTypes.d.ts.map +1 -1
  124. package/dist/client/AuthorizationCodeClient.d.ts +71 -71
  125. package/dist/client/AuthorizationCodeClient.d.ts.map +1 -1
  126. package/dist/client/AuthorizationCodeClient.js +435 -478
  127. package/dist/client/AuthorizationCodeClient.js.map +1 -1
  128. package/dist/client/BaseClient.d.ts +50 -50
  129. package/dist/client/BaseClient.d.ts.map +1 -1
  130. package/dist/client/BaseClient.js +93 -101
  131. package/dist/client/BaseClient.js.map +1 -1
  132. package/dist/client/RefreshTokenClient.d.ts +34 -34
  133. package/dist/client/RefreshTokenClient.d.ts.map +1 -1
  134. package/dist/client/RefreshTokenClient.js +241 -274
  135. package/dist/client/RefreshTokenClient.js.map +1 -1
  136. package/dist/client/SilentFlowClient.d.ts +24 -24
  137. package/dist/client/SilentFlowClient.d.ts.map +1 -1
  138. package/dist/client/SilentFlowClient.js +95 -123
  139. package/dist/client/SilentFlowClient.js.map +1 -1
  140. package/dist/config/AppTokenProvider.d.ts +38 -38
  141. package/dist/config/AppTokenProvider.d.ts.map +1 -1
  142. package/dist/config/ClientConfiguration.d.ts +133 -133
  143. package/dist/config/ClientConfiguration.d.ts.map +1 -1
  144. package/dist/config/ClientConfiguration.js +88 -91
  145. package/dist/config/ClientConfiguration.js.map +1 -1
  146. package/dist/crypto/ICrypto.d.ts +62 -62
  147. package/dist/crypto/ICrypto.d.ts.map +1 -1
  148. package/dist/crypto/ICrypto.js +42 -73
  149. package/dist/crypto/ICrypto.js.map +1 -1
  150. package/dist/crypto/IGuidGenerator.d.ts +4 -4
  151. package/dist/crypto/JoseHeader.d.ts +21 -21
  152. package/dist/crypto/JoseHeader.d.ts.map +1 -1
  153. package/dist/crypto/JoseHeader.js +37 -38
  154. package/dist/crypto/JoseHeader.js.map +1 -1
  155. package/dist/crypto/PopTokenGenerator.d.ts +57 -57
  156. package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
  157. package/dist/crypto/PopTokenGenerator.js +84 -108
  158. package/dist/crypto/PopTokenGenerator.js.map +1 -1
  159. package/dist/crypto/SignedHttpRequest.d.ts +11 -11
  160. package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
  161. package/dist/error/AuthError.d.ts +47 -47
  162. package/dist/error/AuthError.d.ts.map +1 -1
  163. package/dist/error/AuthError.js +52 -55
  164. package/dist/error/AuthError.js.map +1 -1
  165. package/dist/error/ClientAuthError.d.ts +412 -404
  166. package/dist/error/ClientAuthError.d.ts.map +1 -1
  167. package/dist/error/ClientAuthError.js +520 -514
  168. package/dist/error/ClientAuthError.js.map +1 -1
  169. package/dist/error/ClientConfigurationError.d.ts +198 -198
  170. package/dist/error/ClientConfigurationError.d.ts.map +1 -1
  171. package/dist/error/ClientConfigurationError.js +250 -254
  172. package/dist/error/ClientConfigurationError.js.map +1 -1
  173. package/dist/error/InteractionRequiredAuthError.d.ts +59 -59
  174. package/dist/error/InteractionRequiredAuthError.d.ts.map +1 -1
  175. package/dist/error/InteractionRequiredAuthError.js +79 -78
  176. package/dist/error/InteractionRequiredAuthError.js.map +1 -1
  177. package/dist/error/JoseHeaderError.d.ts +28 -28
  178. package/dist/error/JoseHeaderError.d.ts.map +1 -1
  179. package/dist/error/JoseHeaderError.js +40 -44
  180. package/dist/error/JoseHeaderError.js.map +1 -1
  181. package/dist/error/ServerError.d.ts +7 -7
  182. package/dist/error/ServerError.d.ts.map +1 -1
  183. package/dist/error/ServerError.js +15 -19
  184. package/dist/error/ServerError.js.map +1 -1
  185. package/dist/index.cjs.js +8890 -9111
  186. package/dist/index.cjs.js.map +1 -1
  187. package/dist/index.d.ts +93 -94
  188. package/dist/index.d.ts.map +1 -1
  189. package/dist/index.js +5 -6
  190. package/dist/index.js.map +1 -1
  191. package/dist/logger/Logger.d.ts +95 -95
  192. package/dist/logger/Logger.d.ts.map +1 -1
  193. package/dist/logger/Logger.js +198 -188
  194. package/dist/logger/Logger.js.map +1 -1
  195. package/dist/network/INetworkModule.d.ts +29 -29
  196. package/dist/network/INetworkModule.d.ts.map +1 -1
  197. package/dist/network/INetworkModule.js +14 -14
  198. package/dist/network/INetworkModule.js.map +1 -1
  199. package/dist/network/NetworkManager.d.ts +32 -31
  200. package/dist/network/NetworkManager.d.ts.map +1 -1
  201. package/dist/network/NetworkManager.js +34 -48
  202. package/dist/network/NetworkManager.js.map +1 -1
  203. package/dist/network/RequestThumbprint.d.ts +16 -16
  204. package/dist/network/RequestThumbprint.d.ts.map +1 -1
  205. package/dist/network/ThrottlingUtils.d.ts +41 -41
  206. package/dist/network/ThrottlingUtils.d.ts.map +1 -1
  207. package/dist/network/ThrottlingUtils.js +95 -94
  208. package/dist/network/ThrottlingUtils.js.map +1 -1
  209. package/dist/packageMetadata.d.ts +2 -2
  210. package/dist/packageMetadata.d.ts.map +1 -1
  211. package/dist/packageMetadata.js +4 -4
  212. package/dist/packageMetadata.js.map +1 -1
  213. package/dist/request/AuthenticationHeaderParser.d.ts +19 -19
  214. package/dist/request/AuthenticationHeaderParser.d.ts.map +1 -1
  215. package/dist/request/AuthenticationHeaderParser.js +56 -57
  216. package/dist/request/AuthenticationHeaderParser.js.map +1 -1
  217. package/dist/request/BaseAuthRequest.d.ts +37 -37
  218. package/dist/request/BaseAuthRequest.d.ts.map +1 -1
  219. package/dist/request/CommonAuthorizationCodeRequest.d.ts +27 -27
  220. package/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -1
  221. package/dist/request/CommonAuthorizationUrlRequest.d.ts +50 -50
  222. package/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -1
  223. package/dist/request/CommonClientCredentialRequest.d.ts +17 -17
  224. package/dist/request/CommonClientCredentialRequest.d.ts.map +1 -1
  225. package/dist/request/CommonDeviceCodeRequest.d.ts +21 -21
  226. package/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -1
  227. package/dist/request/CommonEndSessionRequest.d.ts +21 -21
  228. package/dist/request/CommonEndSessionRequest.d.ts.map +1 -1
  229. package/dist/request/CommonOnBehalfOfRequest.d.ts +13 -13
  230. package/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -1
  231. package/dist/request/CommonRefreshTokenRequest.d.ts +19 -19
  232. package/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -1
  233. package/dist/request/CommonSilentFlowRequest.d.ts +18 -18
  234. package/dist/request/CommonSilentFlowRequest.d.ts.map +1 -1
  235. package/dist/request/CommonUsernamePasswordRequest.d.ts +17 -17
  236. package/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -1
  237. package/dist/request/NativeRequest.d.ts +19 -19
  238. package/dist/request/NativeRequest.d.ts.map +1 -1
  239. package/dist/request/NativeSignOutRequest.d.ts +5 -5
  240. package/dist/request/NativeSignOutRequest.d.ts.map +1 -1
  241. package/dist/request/RequestParameterBuilder.d.ts +216 -216
  242. package/dist/request/RequestParameterBuilder.d.ts.map +1 -1
  243. package/dist/request/RequestParameterBuilder.js +376 -378
  244. package/dist/request/RequestParameterBuilder.js.map +1 -1
  245. package/dist/request/RequestValidator.d.ts +33 -33
  246. package/dist/request/RequestValidator.d.ts.map +1 -1
  247. package/dist/request/RequestValidator.js +84 -89
  248. package/dist/request/RequestValidator.js.map +1 -1
  249. package/dist/request/ScopeSet.d.ts +88 -88
  250. package/dist/request/ScopeSet.d.ts.map +1 -1
  251. package/dist/request/ScopeSet.js +198 -198
  252. package/dist/request/ScopeSet.js.map +1 -1
  253. package/dist/response/AuthenticationResult.d.ts +39 -39
  254. package/dist/response/AuthenticationResult.d.ts.map +1 -1
  255. package/dist/response/AuthorizationCodePayload.d.ts +13 -13
  256. package/dist/response/AuthorizationCodePayload.d.ts.map +1 -1
  257. package/dist/response/DeviceCodeResponse.d.ts +25 -25
  258. package/dist/response/DeviceCodeResponse.d.ts.map +1 -1
  259. package/dist/response/ExternalTokenResponse.d.ts +15 -15
  260. package/dist/response/ExternalTokenResponse.d.ts.map +1 -1
  261. package/dist/response/IMDSBadResponse.d.ts +4 -4
  262. package/dist/response/IMDSBadResponse.d.ts.map +1 -1
  263. package/dist/response/ResponseHandler.d.ts +72 -72
  264. package/dist/response/ResponseHandler.d.ts.map +1 -1
  265. package/dist/response/ResponseHandler.js +301 -286
  266. package/dist/response/ResponseHandler.js.map +1 -1
  267. package/dist/response/ServerAuthorizationCodeResponse.d.ts +25 -25
  268. package/dist/response/ServerAuthorizationCodeResponse.d.ts.map +1 -1
  269. package/dist/response/ServerAuthorizationTokenResponse.d.ts +44 -44
  270. package/dist/response/ServerAuthorizationTokenResponse.d.ts.map +1 -1
  271. package/dist/telemetry/performance/IPerformanceClient.d.ts +42 -43
  272. package/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -1
  273. package/dist/telemetry/performance/IPerformanceMeasurement.d.ts +5 -5
  274. package/dist/telemetry/performance/PerformanceClient.d.ts +189 -197
  275. package/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -1
  276. package/dist/telemetry/performance/PerformanceClient.js +407 -402
  277. package/dist/telemetry/performance/PerformanceClient.js.map +1 -1
  278. package/dist/telemetry/performance/PerformanceEvent.d.ts +439 -439
  279. package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
  280. package/dist/telemetry/performance/PerformanceEvent.js +227 -227
  281. package/dist/telemetry/performance/PerformanceEvent.js.map +1 -1
  282. package/dist/telemetry/performance/StubPerformanceClient.d.ts +19 -17
  283. package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
  284. package/dist/telemetry/performance/StubPerformanceClient.js +37 -46
  285. package/dist/telemetry/performance/StubPerformanceClient.js.map +1 -1
  286. package/dist/telemetry/server/ServerTelemetryManager.d.ts +65 -66
  287. package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
  288. package/dist/telemetry/server/ServerTelemetryManager.js +199 -161
  289. package/dist/telemetry/server/ServerTelemetryManager.js.map +1 -1
  290. package/dist/telemetry/server/ServerTelemetryRequest.d.ts +8 -8
  291. package/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +1 -1
  292. package/dist/url/IUri.d.ts +12 -12
  293. package/dist/url/UrlString.d.ts +70 -70
  294. package/dist/url/UrlString.d.ts.map +1 -1
  295. package/dist/url/UrlString.js +243 -232
  296. package/dist/url/UrlString.js.map +1 -1
  297. package/dist/utils/Constants.d.ts +331 -331
  298. package/dist/utils/Constants.d.ts.map +1 -1
  299. package/dist/utils/Constants.js +374 -373
  300. package/dist/utils/Constants.js.map +1 -1
  301. package/dist/utils/MsalTypes.d.ts +6 -6
  302. package/dist/utils/MsalTypes.d.ts.map +1 -1
  303. package/dist/utils/ProtocolUtils.d.ts +42 -42
  304. package/dist/utils/ProtocolUtils.d.ts.map +1 -1
  305. package/dist/utils/ProtocolUtils.js +72 -69
  306. package/dist/utils/ProtocolUtils.js.map +1 -1
  307. package/dist/utils/StringUtils.d.ts +53 -53
  308. package/dist/utils/StringUtils.d.ts.map +1 -1
  309. package/dist/utils/StringUtils.js +125 -123
  310. package/dist/utils/StringUtils.js.map +1 -1
  311. package/dist/utils/TimeUtils.d.ts +27 -27
  312. package/dist/utils/TimeUtils.d.ts.map +1 -1
  313. package/dist/utils/TimeUtils.js +46 -49
  314. package/dist/utils/TimeUtils.js.map +1 -1
  315. package/package.json +10 -7
  316. package/dist/_virtual/_tslib.js +0 -90
  317. package/dist/_virtual/_tslib.js.map +0 -1
  318. package/dist/client/ClientCredentialClient.d.ts +0 -38
  319. package/dist/client/ClientCredentialClient.d.ts.map +0 -1
  320. package/dist/client/ClientCredentialClient.js +0 -203
  321. package/dist/client/ClientCredentialClient.js.map +0 -1
  322. package/dist/client/DeviceCodeClient.d.ts +0 -57
  323. package/dist/client/DeviceCodeClient.d.ts.map +0 -1
  324. package/dist/client/DeviceCodeClient.js +0 -250
  325. package/dist/client/DeviceCodeClient.js.map +0 -1
  326. package/dist/client/OnBehalfOfClient.d.ts +0 -51
  327. package/dist/client/OnBehalfOfClient.d.ts.map +0 -1
  328. package/dist/client/OnBehalfOfClient.js +0 -248
  329. package/dist/client/OnBehalfOfClient.js.map +0 -1
  330. package/dist/client/UsernamePasswordClient.d.ts +0 -29
  331. package/dist/client/UsernamePasswordClient.d.ts.map +0 -1
  332. package/dist/client/UsernamePasswordClient.js +0 -129
  333. package/dist/client/UsernamePasswordClient.js.map +0 -1
@@ -1,405 +1,413 @@
1
- import { AuthError } from "./AuthError";
2
- /**
3
- * ClientAuthErrorMessage class containing string constants used by error codes and messages.
4
- */
5
- export declare const ClientAuthErrorMessage: {
6
- clientInfoDecodingError: {
7
- code: string;
8
- desc: string;
9
- };
10
- clientInfoEmptyError: {
11
- code: string;
12
- desc: string;
13
- };
14
- tokenParsingError: {
15
- code: string;
16
- desc: string;
17
- };
18
- nullOrEmptyToken: {
19
- code: string;
20
- desc: string;
21
- };
22
- endpointResolutionError: {
23
- code: string;
24
- desc: string;
25
- };
26
- networkError: {
27
- code: string;
28
- desc: string;
29
- };
30
- unableToGetOpenidConfigError: {
31
- code: string;
32
- desc: string;
33
- };
34
- hashNotDeserialized: {
35
- code: string;
36
- desc: string;
37
- };
38
- blankGuidGenerated: {
39
- code: string;
40
- desc: string;
41
- };
42
- invalidStateError: {
43
- code: string;
44
- desc: string;
45
- };
46
- stateMismatchError: {
47
- code: string;
48
- desc: string;
49
- };
50
- stateNotFoundError: {
51
- code: string;
52
- desc: string;
53
- };
54
- nonceMismatchError: {
55
- code: string;
56
- desc: string;
57
- };
58
- nonceNotFoundError: {
59
- code: string;
60
- desc: string;
61
- };
62
- authTimeNotFoundError: {
63
- code: string;
64
- desc: string;
65
- };
66
- maxAgeTranspiredError: {
67
- code: string;
68
- desc: string;
69
- };
70
- noTokensFoundError: {
71
- code: string;
72
- desc: string;
73
- };
74
- multipleMatchingTokens: {
75
- code: string;
76
- desc: string;
77
- };
78
- multipleMatchingAccounts: {
79
- code: string;
80
- desc: string;
81
- };
82
- multipleMatchingAppMetadata: {
83
- code: string;
84
- desc: string;
85
- };
86
- tokenRequestCannotBeMade: {
87
- code: string;
88
- desc: string;
89
- };
90
- appendEmptyScopeError: {
91
- code: string;
92
- desc: string;
93
- };
94
- removeEmptyScopeError: {
95
- code: string;
96
- desc: string;
97
- };
98
- appendScopeSetError: {
99
- code: string;
100
- desc: string;
101
- };
102
- emptyInputScopeSetError: {
103
- code: string;
104
- desc: string;
105
- };
106
- DeviceCodePollingCancelled: {
107
- code: string;
108
- desc: string;
109
- };
110
- DeviceCodeExpired: {
111
- code: string;
112
- desc: string;
113
- };
114
- DeviceCodeUnknownError: {
115
- code: string;
116
- desc: string;
117
- };
118
- NoAccountInSilentRequest: {
119
- code: string;
120
- desc: string;
121
- };
122
- invalidCacheRecord: {
123
- code: string;
124
- desc: string;
125
- };
126
- invalidCacheEnvironment: {
127
- code: string;
128
- desc: string;
129
- };
130
- noAccountFound: {
131
- code: string;
132
- desc: string;
133
- };
134
- CachePluginError: {
135
- code: string;
136
- desc: string;
137
- };
138
- noCryptoObj: {
139
- code: string;
140
- desc: string;
141
- };
142
- invalidCacheType: {
143
- code: string;
144
- desc: string;
145
- };
146
- unexpectedAccountType: {
147
- code: string;
148
- desc: string;
149
- };
150
- unexpectedCredentialType: {
151
- code: string;
152
- desc: string;
153
- };
154
- invalidAssertion: {
155
- code: string;
156
- desc: string;
157
- };
158
- invalidClientCredential: {
159
- code: string;
160
- desc: string;
161
- };
162
- tokenRefreshRequired: {
163
- code: string;
164
- desc: string;
165
- };
166
- userTimeoutReached: {
167
- code: string;
168
- desc: string;
169
- };
170
- tokenClaimsRequired: {
171
- code: string;
172
- desc: string;
173
- };
174
- noAuthorizationCodeFromServer: {
175
- code: string;
176
- desc: string;
177
- };
178
- noAzureRegionDetected: {
179
- code: string;
180
- desc: string;
181
- };
182
- accessTokenEntityNullError: {
183
- code: string;
184
- desc: string;
185
- };
186
- bindingKeyNotRemovedError: {
187
- code: string;
188
- desc: string;
189
- };
190
- logoutNotSupported: {
191
- code: string;
192
- desc: string;
193
- };
194
- keyIdMissing: {
195
- code: string;
196
- desc: string;
197
- };
198
- noNetworkConnectivity: {
199
- code: string;
200
- desc: string;
201
- };
202
- userCanceledError: {
203
- code: string;
204
- desc: string;
205
- };
206
- };
207
- /**
208
- * Error thrown when there is an error in the client code running on the browser.
209
- */
210
- export declare class ClientAuthError extends AuthError {
211
- constructor(errorCode: string, errorMessage?: string);
212
- /**
213
- * Creates an error thrown when client info object doesn't decode correctly.
214
- * @param caughtError
215
- */
216
- static createClientInfoDecodingError(caughtError: string): ClientAuthError;
217
- /**
218
- * Creates an error thrown if the client info is empty.
219
- * @param rawClientInfo
220
- */
221
- static createClientInfoEmptyError(): ClientAuthError;
222
- /**
223
- * Creates an error thrown when the id token extraction errors out.
224
- * @param err
225
- */
226
- static createTokenParsingError(caughtExtractionError: string): ClientAuthError;
227
- /**
228
- * Creates an error thrown when the id token string is null or empty.
229
- * @param invalidRawTokenString
230
- */
231
- static createTokenNullOrEmptyError(invalidRawTokenString: string): ClientAuthError;
232
- /**
233
- * Creates an error thrown when the endpoint discovery doesn't complete correctly.
234
- */
235
- static createEndpointDiscoveryIncompleteError(errDetail: string): ClientAuthError;
236
- /**
237
- * Creates an error thrown when the fetch client throws
238
- */
239
- static createNetworkError(endpoint: string, errDetail: string): ClientAuthError;
240
- /**
241
- * Creates an error thrown when the openid-configuration endpoint cannot be reached or does not contain the required data
242
- */
243
- static createUnableToGetOpenidConfigError(errDetail: string): ClientAuthError;
244
- /**
245
- * Creates an error thrown when the hash cannot be deserialized.
246
- * @param hashParamObj
247
- */
248
- static createHashNotDeserializedError(hashParamObj: string): ClientAuthError;
249
- /**
250
- * Creates an error thrown when the state cannot be parsed.
251
- * @param invalidState
252
- */
253
- static createInvalidStateError(invalidState: string, errorString?: string): ClientAuthError;
254
- /**
255
- * Creates an error thrown when two states do not match.
256
- */
257
- static createStateMismatchError(): ClientAuthError;
258
- /**
259
- * Creates an error thrown when the state is not present
260
- * @param missingState
261
- */
262
- static createStateNotFoundError(missingState: string): ClientAuthError;
263
- /**
264
- * Creates an error thrown when the nonce does not match.
265
- */
266
- static createNonceMismatchError(): ClientAuthError;
267
- /**
268
- * Creates an error thrown when max_age was provided in the request, but auth_time is not in the token claims
269
- * @param missingNonce
270
- */
271
- static createAuthTimeNotFoundError(): ClientAuthError;
272
- /**
273
- * Creates an error thrown when too much time has elapsed since the last end-user authentication
274
- */
275
- static createMaxAgeTranspiredError(): ClientAuthError;
276
- /**
277
- * Creates an error thrown when the mnonce is not present
278
- * @param missingNonce
279
- */
280
- static createNonceNotFoundError(missingNonce: string): ClientAuthError;
281
- /**
282
- * Throws error when multiple tokens are in cache.
283
- */
284
- static createMultipleMatchingTokensInCacheError(): ClientAuthError;
285
- /**
286
- * Throws error when multiple accounts are in cache for the given params
287
- */
288
- static createMultipleMatchingAccountsInCacheError(): ClientAuthError;
289
- /**
290
- * Throws error when multiple appMetada are in cache for the given clientId.
291
- */
292
- static createMultipleMatchingAppMetadataInCacheError(): ClientAuthError;
293
- /**
294
- * Throws error when no auth code or refresh token is given to ServerTokenRequestParameters.
295
- */
296
- static createTokenRequestCannotBeMadeError(): ClientAuthError;
297
- /**
298
- * Throws error when attempting to append a null, undefined or empty scope to a set
299
- * @param givenScope
300
- */
301
- static createAppendEmptyScopeToSetError(givenScope: string): ClientAuthError;
302
- /**
303
- * Throws error when attempting to append a null, undefined or empty scope to a set
304
- * @param givenScope
305
- */
306
- static createRemoveEmptyScopeFromSetError(givenScope: string): ClientAuthError;
307
- /**
308
- * Throws error when attempting to append null or empty ScopeSet.
309
- * @param appendError
310
- */
311
- static createAppendScopeSetError(appendError: string): ClientAuthError;
312
- /**
313
- * Throws error if ScopeSet is null or undefined.
314
- * @param givenScopeSet
315
- */
316
- static createEmptyInputScopeSetError(): ClientAuthError;
317
- /**
318
- * Throws error if user sets CancellationToken.cancel = true during polling of token endpoint during device code flow
319
- */
320
- static createDeviceCodeCancelledError(): ClientAuthError;
321
- /**
322
- * Throws error if device code is expired
323
- */
324
- static createDeviceCodeExpiredError(): ClientAuthError;
325
- /**
326
- * Throws error if device code is expired
327
- */
328
- static createDeviceCodeUnknownError(): ClientAuthError;
329
- /**
330
- * Throws error when silent requests are made without an account object
331
- */
332
- static createNoAccountInSilentRequestError(): ClientAuthError;
333
- /**
334
- * Throws error when cache record is null or undefined.
335
- */
336
- static createNullOrUndefinedCacheRecord(): ClientAuthError;
337
- /**
338
- * Throws error when provided environment is not part of the CloudDiscoveryMetadata object
339
- */
340
- static createInvalidCacheEnvironmentError(): ClientAuthError;
341
- /**
342
- * Throws error when account is not found in cache.
343
- */
344
- static createNoAccountFoundError(): ClientAuthError;
345
- /**
346
- * Throws error if ICachePlugin not set on CacheManager.
347
- */
348
- static createCachePluginError(): ClientAuthError;
349
- /**
350
- * Throws error if crypto object not found.
351
- * @param operationName
352
- */
353
- static createNoCryptoObjectError(operationName: string): ClientAuthError;
354
- /**
355
- * Throws error if cache type is invalid.
356
- */
357
- static createInvalidCacheTypeError(): ClientAuthError;
358
- /**
359
- * Throws error if unexpected account type.
360
- */
361
- static createUnexpectedAccountTypeError(): ClientAuthError;
362
- /**
363
- * Throws error if unexpected credential type.
364
- */
365
- static createUnexpectedCredentialTypeError(): ClientAuthError;
366
- /**
367
- * Throws error if client assertion is not valid.
368
- */
369
- static createInvalidAssertionError(): ClientAuthError;
370
- /**
371
- * Throws error if client assertion is not valid.
372
- */
373
- static createInvalidCredentialError(): ClientAuthError;
374
- /**
375
- * Throws error if token cannot be retrieved from cache due to refresh being required.
376
- */
377
- static createRefreshRequiredError(): ClientAuthError;
378
- /**
379
- * Throws error if the user defined timeout is reached.
380
- */
381
- static createUserTimeoutReachedError(): ClientAuthError;
382
- static createTokenClaimsRequiredError(): ClientAuthError;
383
- /**
384
- * Throws error when the authorization code is missing from the server response
385
- */
386
- static createNoAuthCodeInServerResponseError(): ClientAuthError;
387
- static createBindingKeyNotRemovedError(): ClientAuthError;
388
- /**
389
- * Thrown when logout is attempted for an authority that doesnt have an end_session_endpoint
390
- */
391
- static createLogoutNotSupportedError(): ClientAuthError;
392
- /**
393
- * Create an error when kid attribute is missing from a PoP token's cache record
394
- */
395
- static createKeyIdMissingError(): ClientAuthError;
396
- /**
397
- * Create an error when the client does not have network connectivity
398
- */
399
- static createNoNetworkConnectivityError(): ClientAuthError;
400
- /**
401
- * Create an error when the user cancels the flow
402
- */
403
- static createUserCanceledError(): ClientAuthError;
404
- }
1
+ import { AuthError } from "./AuthError";
2
+ /**
3
+ * ClientAuthErrorMessage class containing string constants used by error codes and messages.
4
+ */
5
+ export declare const ClientAuthErrorMessage: {
6
+ clientInfoDecodingError: {
7
+ code: string;
8
+ desc: string;
9
+ };
10
+ clientInfoEmptyError: {
11
+ code: string;
12
+ desc: string;
13
+ };
14
+ tokenParsingError: {
15
+ code: string;
16
+ desc: string;
17
+ };
18
+ nullOrEmptyToken: {
19
+ code: string;
20
+ desc: string;
21
+ };
22
+ endpointResolutionError: {
23
+ code: string;
24
+ desc: string;
25
+ };
26
+ networkError: {
27
+ code: string;
28
+ desc: string;
29
+ };
30
+ unableToGetOpenidConfigError: {
31
+ code: string;
32
+ desc: string;
33
+ };
34
+ hashNotDeserialized: {
35
+ code: string;
36
+ desc: string;
37
+ };
38
+ blankGuidGenerated: {
39
+ code: string;
40
+ desc: string;
41
+ };
42
+ invalidStateError: {
43
+ code: string;
44
+ desc: string;
45
+ };
46
+ stateMismatchError: {
47
+ code: string;
48
+ desc: string;
49
+ };
50
+ stateNotFoundError: {
51
+ code: string;
52
+ desc: string;
53
+ };
54
+ nonceMismatchError: {
55
+ code: string;
56
+ desc: string;
57
+ };
58
+ nonceNotFoundError: {
59
+ code: string;
60
+ desc: string;
61
+ };
62
+ authTimeNotFoundError: {
63
+ code: string;
64
+ desc: string;
65
+ };
66
+ maxAgeTranspiredError: {
67
+ code: string;
68
+ desc: string;
69
+ };
70
+ noTokensFoundError: {
71
+ code: string;
72
+ desc: string;
73
+ };
74
+ multipleMatchingTokens: {
75
+ code: string;
76
+ desc: string;
77
+ };
78
+ multipleMatchingAccounts: {
79
+ code: string;
80
+ desc: string;
81
+ };
82
+ multipleMatchingAppMetadata: {
83
+ code: string;
84
+ desc: string;
85
+ };
86
+ tokenRequestCannotBeMade: {
87
+ code: string;
88
+ desc: string;
89
+ };
90
+ appendEmptyScopeError: {
91
+ code: string;
92
+ desc: string;
93
+ };
94
+ removeEmptyScopeError: {
95
+ code: string;
96
+ desc: string;
97
+ };
98
+ appendScopeSetError: {
99
+ code: string;
100
+ desc: string;
101
+ };
102
+ emptyInputScopeSetError: {
103
+ code: string;
104
+ desc: string;
105
+ };
106
+ DeviceCodePollingCancelled: {
107
+ code: string;
108
+ desc: string;
109
+ };
110
+ DeviceCodeExpired: {
111
+ code: string;
112
+ desc: string;
113
+ };
114
+ DeviceCodeUnknownError: {
115
+ code: string;
116
+ desc: string;
117
+ };
118
+ NoAccountInSilentRequest: {
119
+ code: string;
120
+ desc: string;
121
+ };
122
+ invalidCacheRecord: {
123
+ code: string;
124
+ desc: string;
125
+ };
126
+ invalidCacheEnvironment: {
127
+ code: string;
128
+ desc: string;
129
+ };
130
+ noAccountFound: {
131
+ code: string;
132
+ desc: string;
133
+ };
134
+ CachePluginError: {
135
+ code: string;
136
+ desc: string;
137
+ };
138
+ noCryptoObj: {
139
+ code: string;
140
+ desc: string;
141
+ };
142
+ invalidCacheType: {
143
+ code: string;
144
+ desc: string;
145
+ };
146
+ unexpectedAccountType: {
147
+ code: string;
148
+ desc: string;
149
+ };
150
+ unexpectedCredentialType: {
151
+ code: string;
152
+ desc: string;
153
+ };
154
+ invalidAssertion: {
155
+ code: string;
156
+ desc: string;
157
+ };
158
+ invalidClientCredential: {
159
+ code: string;
160
+ desc: string;
161
+ };
162
+ tokenRefreshRequired: {
163
+ code: string;
164
+ desc: string;
165
+ };
166
+ userTimeoutReached: {
167
+ code: string;
168
+ desc: string;
169
+ };
170
+ tokenClaimsRequired: {
171
+ code: string;
172
+ desc: string;
173
+ };
174
+ noAuthorizationCodeFromServer: {
175
+ code: string;
176
+ desc: string;
177
+ };
178
+ noAzureRegionDetected: {
179
+ code: string;
180
+ desc: string;
181
+ };
182
+ accessTokenEntityNullError: {
183
+ code: string;
184
+ desc: string;
185
+ };
186
+ bindingKeyNotRemovedError: {
187
+ code: string;
188
+ desc: string;
189
+ };
190
+ logoutNotSupported: {
191
+ code: string;
192
+ desc: string;
193
+ };
194
+ keyIdMissing: {
195
+ code: string;
196
+ desc: string;
197
+ };
198
+ noNetworkConnectivity: {
199
+ code: string;
200
+ desc: string;
201
+ };
202
+ userCanceledError: {
203
+ code: string;
204
+ desc: string;
205
+ };
206
+ missingTenantIdError: {
207
+ code: string;
208
+ desc: string;
209
+ };
210
+ };
211
+ /**
212
+ * Error thrown when there is an error in the client code running on the browser.
213
+ */
214
+ export declare class ClientAuthError extends AuthError {
215
+ constructor(errorCode: string, errorMessage?: string);
216
+ /**
217
+ * Creates an error thrown when client info object doesn't decode correctly.
218
+ * @param caughtError
219
+ */
220
+ static createClientInfoDecodingError(caughtError: string): ClientAuthError;
221
+ /**
222
+ * Creates an error thrown if the client info is empty.
223
+ * @param rawClientInfo
224
+ */
225
+ static createClientInfoEmptyError(): ClientAuthError;
226
+ /**
227
+ * Creates an error thrown when the id token extraction errors out.
228
+ * @param err
229
+ */
230
+ static createTokenParsingError(caughtExtractionError: string): ClientAuthError;
231
+ /**
232
+ * Creates an error thrown when the id token string is null or empty.
233
+ * @param invalidRawTokenString
234
+ */
235
+ static createTokenNullOrEmptyError(invalidRawTokenString: string): ClientAuthError;
236
+ /**
237
+ * Creates an error thrown when the endpoint discovery doesn't complete correctly.
238
+ */
239
+ static createEndpointDiscoveryIncompleteError(errDetail: string): ClientAuthError;
240
+ /**
241
+ * Creates an error thrown when the fetch client throws
242
+ */
243
+ static createNetworkError(endpoint: string, errDetail: string): ClientAuthError;
244
+ /**
245
+ * Creates an error thrown when the openid-configuration endpoint cannot be reached or does not contain the required data
246
+ */
247
+ static createUnableToGetOpenidConfigError(errDetail: string): ClientAuthError;
248
+ /**
249
+ * Creates an error thrown when the hash cannot be deserialized.
250
+ * @param hashParamObj
251
+ */
252
+ static createHashNotDeserializedError(hashParamObj: string): ClientAuthError;
253
+ /**
254
+ * Creates an error thrown when the state cannot be parsed.
255
+ * @param invalidState
256
+ */
257
+ static createInvalidStateError(invalidState: string, errorString?: string): ClientAuthError;
258
+ /**
259
+ * Creates an error thrown when two states do not match.
260
+ */
261
+ static createStateMismatchError(): ClientAuthError;
262
+ /**
263
+ * Creates an error thrown when the state is not present
264
+ * @param missingState
265
+ */
266
+ static createStateNotFoundError(missingState: string): ClientAuthError;
267
+ /**
268
+ * Creates an error thrown when the nonce does not match.
269
+ */
270
+ static createNonceMismatchError(): ClientAuthError;
271
+ /**
272
+ * Creates an error thrown when max_age was provided in the request, but auth_time is not in the token claims
273
+ * @param missingNonce
274
+ */
275
+ static createAuthTimeNotFoundError(): ClientAuthError;
276
+ /**
277
+ * Creates an error thrown when too much time has elapsed since the last end-user authentication
278
+ */
279
+ static createMaxAgeTranspiredError(): ClientAuthError;
280
+ /**
281
+ * Creates an error thrown when the mnonce is not present
282
+ * @param missingNonce
283
+ */
284
+ static createNonceNotFoundError(missingNonce: string): ClientAuthError;
285
+ /**
286
+ * Throws error when multiple tokens are in cache.
287
+ */
288
+ static createMultipleMatchingTokensInCacheError(): ClientAuthError;
289
+ /**
290
+ * Throws error when multiple accounts are in cache for the given params
291
+ */
292
+ static createMultipleMatchingAccountsInCacheError(): ClientAuthError;
293
+ /**
294
+ * Throws error when multiple appMetada are in cache for the given clientId.
295
+ */
296
+ static createMultipleMatchingAppMetadataInCacheError(): ClientAuthError;
297
+ /**
298
+ * Throws error when no auth code or refresh token is given to ServerTokenRequestParameters.
299
+ */
300
+ static createTokenRequestCannotBeMadeError(): ClientAuthError;
301
+ /**
302
+ * Throws error when attempting to append a null, undefined or empty scope to a set
303
+ * @param givenScope
304
+ */
305
+ static createAppendEmptyScopeToSetError(givenScope: string): ClientAuthError;
306
+ /**
307
+ * Throws error when attempting to append a null, undefined or empty scope to a set
308
+ * @param givenScope
309
+ */
310
+ static createRemoveEmptyScopeFromSetError(givenScope: string): ClientAuthError;
311
+ /**
312
+ * Throws error when attempting to append null or empty ScopeSet.
313
+ * @param appendError
314
+ */
315
+ static createAppendScopeSetError(appendError: string): ClientAuthError;
316
+ /**
317
+ * Throws error if ScopeSet is null or undefined.
318
+ * @param givenScopeSet
319
+ */
320
+ static createEmptyInputScopeSetError(): ClientAuthError;
321
+ /**
322
+ * Throws error if user sets CancellationToken.cancel = true during polling of token endpoint during device code flow
323
+ */
324
+ static createDeviceCodeCancelledError(): ClientAuthError;
325
+ /**
326
+ * Throws error if device code is expired
327
+ */
328
+ static createDeviceCodeExpiredError(): ClientAuthError;
329
+ /**
330
+ * Throws error if device code is expired
331
+ */
332
+ static createDeviceCodeUnknownError(): ClientAuthError;
333
+ /**
334
+ * Throws error when silent requests are made without an account object
335
+ */
336
+ static createNoAccountInSilentRequestError(): ClientAuthError;
337
+ /**
338
+ * Throws error when cache record is null or undefined.
339
+ */
340
+ static createNullOrUndefinedCacheRecord(): ClientAuthError;
341
+ /**
342
+ * Throws error when provided environment is not part of the CloudDiscoveryMetadata object
343
+ */
344
+ static createInvalidCacheEnvironmentError(): ClientAuthError;
345
+ /**
346
+ * Throws error when account is not found in cache.
347
+ */
348
+ static createNoAccountFoundError(): ClientAuthError;
349
+ /**
350
+ * Throws error if ICachePlugin not set on CacheManager.
351
+ */
352
+ static createCachePluginError(): ClientAuthError;
353
+ /**
354
+ * Throws error if crypto object not found.
355
+ * @param operationName
356
+ */
357
+ static createNoCryptoObjectError(operationName: string): ClientAuthError;
358
+ /**
359
+ * Throws error if cache type is invalid.
360
+ */
361
+ static createInvalidCacheTypeError(): ClientAuthError;
362
+ /**
363
+ * Throws error if unexpected account type.
364
+ */
365
+ static createUnexpectedAccountTypeError(): ClientAuthError;
366
+ /**
367
+ * Throws error if unexpected credential type.
368
+ */
369
+ static createUnexpectedCredentialTypeError(): ClientAuthError;
370
+ /**
371
+ * Throws error if client assertion is not valid.
372
+ */
373
+ static createInvalidAssertionError(): ClientAuthError;
374
+ /**
375
+ * Throws error if client assertion is not valid.
376
+ */
377
+ static createInvalidCredentialError(): ClientAuthError;
378
+ /**
379
+ * Throws error if token cannot be retrieved from cache due to refresh being required.
380
+ */
381
+ static createRefreshRequiredError(): ClientAuthError;
382
+ /**
383
+ * Throws error if the user defined timeout is reached.
384
+ */
385
+ static createUserTimeoutReachedError(): ClientAuthError;
386
+ static createTokenClaimsRequiredError(): ClientAuthError;
387
+ /**
388
+ * Throws error when the authorization code is missing from the server response
389
+ */
390
+ static createNoAuthCodeInServerResponseError(): ClientAuthError;
391
+ static createBindingKeyNotRemovedError(): ClientAuthError;
392
+ /**
393
+ * Thrown when logout is attempted for an authority that doesnt have an end_session_endpoint
394
+ */
395
+ static createLogoutNotSupportedError(): ClientAuthError;
396
+ /**
397
+ * Create an error when kid attribute is missing from a PoP token's cache record
398
+ */
399
+ static createKeyIdMissingError(): ClientAuthError;
400
+ /**
401
+ * Create an error when the client does not have network connectivity
402
+ */
403
+ static createNoNetworkConnectivityError(): ClientAuthError;
404
+ /**
405
+ * Create an error when the user cancels the flow
406
+ */
407
+ static createUserCanceledError(): ClientAuthError;
408
+ /**
409
+ * Creates an error for during acquireTokenByClientCredential when TenantId is set to "common" or "organizations"
410
+ */
411
+ static createMissingTenantIdError(): ClientAuthError;
412
+ }
405
413
  //# sourceMappingURL=ClientAuthError.d.ts.map