@azure/msal-common 14.6.0-alpha.0 → 14.6.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 (203) hide show
  1. package/dist/account/AccountInfo.d.ts +58 -58
  2. package/dist/account/AccountInfo.mjs +59 -59
  3. package/dist/account/AuthToken.d.ts +17 -17
  4. package/dist/account/AuthToken.mjs +58 -58
  5. package/dist/account/CcsCredential.d.ts +9 -9
  6. package/dist/account/CcsCredential.mjs +8 -8
  7. package/dist/account/ClientCredentials.d.ts +14 -14
  8. package/dist/account/ClientInfo.d.ts +18 -18
  9. package/dist/account/ClientInfo.mjs +37 -37
  10. package/dist/account/TokenClaims.d.ts +83 -83
  11. package/dist/account/TokenClaims.mjs +20 -20
  12. package/dist/authority/Authority.d.ts +253 -254
  13. package/dist/authority/Authority.d.ts.map +1 -1
  14. package/dist/authority/Authority.mjs +827 -816
  15. package/dist/authority/Authority.mjs.map +1 -1
  16. package/dist/authority/AuthorityFactory.d.ts +31 -31
  17. package/dist/authority/AuthorityFactory.mjs +47 -47
  18. package/dist/authority/AuthorityMetadata.d.ts +503 -503
  19. package/dist/authority/AuthorityMetadata.mjs +603 -603
  20. package/dist/authority/AuthorityOptions.d.ts +27 -27
  21. package/dist/authority/AuthorityOptions.mjs +18 -18
  22. package/dist/authority/AuthorityType.d.ts +10 -10
  23. package/dist/authority/AuthorityType.mjs +13 -13
  24. package/dist/authority/AzureRegion.d.ts +1 -1
  25. package/dist/authority/AzureRegionConfiguration.d.ts +5 -5
  26. package/dist/authority/CloudDiscoveryMetadata.d.ts +5 -5
  27. package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +13 -13
  28. package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +8 -8
  29. package/dist/authority/CloudInstanceDiscoveryResponse.d.ts +9 -9
  30. package/dist/authority/CloudInstanceDiscoveryResponse.mjs +8 -8
  31. package/dist/authority/ImdsOptions.d.ts +5 -5
  32. package/dist/authority/OIDCOptions.d.ts +8 -8
  33. package/dist/authority/OpenIdConfigResponse.d.ts +11 -11
  34. package/dist/authority/OpenIdConfigResponse.mjs +10 -10
  35. package/dist/authority/ProtocolMode.d.ts +8 -8
  36. package/dist/authority/ProtocolMode.mjs +11 -11
  37. package/dist/authority/RegionDiscovery.d.ts +32 -32
  38. package/dist/authority/RegionDiscovery.mjs +106 -106
  39. package/dist/authority/RegionDiscoveryMetadata.d.ts +6 -6
  40. package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +15 -15
  41. package/dist/cache/CacheManager.d.ts +508 -508
  42. package/dist/cache/CacheManager.mjs +1237 -1237
  43. package/dist/cache/entities/AccessTokenEntity.d.ts +25 -25
  44. package/dist/cache/entities/AccountEntity.d.ts +106 -106
  45. package/dist/cache/entities/AccountEntity.mjs +244 -244
  46. package/dist/cache/entities/AppMetadataEntity.d.ts +11 -39
  47. package/dist/cache/entities/AppMetadataEntity.d.ts.map +1 -1
  48. package/dist/cache/entities/AuthorityMetadataEntity.d.ts +15 -48
  49. package/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -1
  50. package/dist/cache/entities/CacheRecord.d.ts +14 -14
  51. package/dist/cache/entities/CacheRecord.mjs +14 -14
  52. package/dist/cache/entities/CredentialEntity.d.ts +30 -30
  53. package/dist/cache/entities/IdTokenEntity.d.ts +8 -8
  54. package/dist/cache/entities/RefreshTokenEntity.d.ts +7 -7
  55. package/dist/cache/entities/ServerTelemetryEntity.d.ts +5 -5
  56. package/dist/cache/entities/ThrottlingEntity.d.ts +7 -7
  57. package/dist/cache/interface/ICacheManager.d.ts +166 -166
  58. package/dist/cache/interface/ICachePlugin.d.ts +5 -5
  59. package/dist/cache/interface/ISerializableTokenCache.d.ts +4 -4
  60. package/dist/cache/persistence/TokenCacheContext.d.ts +23 -23
  61. package/dist/cache/persistence/TokenCacheContext.mjs +25 -25
  62. package/dist/cache/utils/CacheHelpers.d.ts +94 -70
  63. package/dist/cache/utils/CacheHelpers.d.ts.map +1 -1
  64. package/dist/cache/utils/CacheHelpers.mjs +326 -252
  65. package/dist/cache/utils/CacheHelpers.mjs.map +1 -1
  66. package/dist/cache/utils/CacheTypes.d.ts +69 -69
  67. package/dist/client/AuthorizationCodeClient.d.ts +74 -74
  68. package/dist/client/AuthorizationCodeClient.mjs +402 -402
  69. package/dist/client/BaseClient.d.ts +51 -51
  70. package/dist/client/BaseClient.mjs +100 -100
  71. package/dist/client/RefreshTokenClient.d.ts +35 -35
  72. package/dist/client/RefreshTokenClient.mjs +204 -204
  73. package/dist/client/SilentFlowClient.d.ts +27 -27
  74. package/dist/client/SilentFlowClient.mjs +128 -128
  75. package/dist/config/AppTokenProvider.d.ts +38 -38
  76. package/dist/config/ClientConfiguration.d.ts +150 -150
  77. package/dist/config/ClientConfiguration.d.ts.map +1 -1
  78. package/dist/config/ClientConfiguration.mjs +98 -96
  79. package/dist/config/ClientConfiguration.mjs.map +1 -1
  80. package/dist/constants/AADServerParamKeys.d.ts +52 -52
  81. package/dist/constants/AADServerParamKeys.mjs +56 -56
  82. package/dist/crypto/ICrypto.d.ts +58 -58
  83. package/dist/crypto/ICrypto.mjs +30 -30
  84. package/dist/crypto/IGuidGenerator.d.ts +4 -4
  85. package/dist/crypto/JoseHeader.d.ts +22 -22
  86. package/dist/crypto/JoseHeader.mjs +37 -37
  87. package/dist/crypto/PopTokenGenerator.d.ts +60 -60
  88. package/dist/crypto/PopTokenGenerator.mjs +82 -82
  89. package/dist/crypto/SignedHttpRequest.d.ts +15 -15
  90. package/dist/error/AuthError.d.ts +44 -44
  91. package/dist/error/AuthError.mjs +46 -46
  92. package/dist/error/AuthErrorCodes.d.ts +5 -5
  93. package/dist/error/AuthErrorCodes.mjs +9 -9
  94. package/dist/error/ClientAuthError.d.ts +237 -237
  95. package/dist/error/ClientAuthError.mjs +249 -249
  96. package/dist/error/ClientAuthErrorCodes.d.ts +44 -44
  97. package/dist/error/ClientAuthErrorCodes.mjs +48 -48
  98. package/dist/error/ClientConfigurationError.d.ts +128 -128
  99. package/dist/error/ClientConfigurationError.mjs +135 -135
  100. package/dist/error/ClientConfigurationErrorCodes.d.ts +22 -22
  101. package/dist/error/ClientConfigurationErrorCodes.mjs +26 -26
  102. package/dist/error/InteractionRequiredAuthError.d.ts +61 -61
  103. package/dist/error/InteractionRequiredAuthError.mjs +84 -84
  104. package/dist/error/InteractionRequiredAuthErrorCodes.d.ts +7 -7
  105. package/dist/error/InteractionRequiredAuthErrorCodes.mjs +13 -13
  106. package/dist/error/JoseHeaderError.d.ts +15 -15
  107. package/dist/error/JoseHeaderError.mjs +22 -22
  108. package/dist/error/JoseHeaderErrorCodes.d.ts +2 -2
  109. package/dist/error/JoseHeaderErrorCodes.mjs +6 -6
  110. package/dist/error/ServerError.d.ts +7 -7
  111. package/dist/error/ServerError.mjs +14 -14
  112. package/dist/index.cjs +8557 -8611
  113. package/dist/index.cjs.map +1 -1
  114. package/dist/index.d.ts +99 -99
  115. package/dist/index.d.ts.map +1 -1
  116. package/dist/index.mjs +2 -4
  117. package/dist/index.mjs.map +1 -1
  118. package/dist/logger/Logger.d.ts +95 -95
  119. package/dist/logger/Logger.mjs +188 -188
  120. package/dist/network/INetworkModule.d.ts +29 -29
  121. package/dist/network/INetworkModule.mjs +12 -12
  122. package/dist/network/NetworkManager.d.ts +33 -33
  123. package/dist/network/NetworkManager.mjs +34 -34
  124. package/dist/network/RequestThumbprint.d.ts +18 -18
  125. package/dist/network/ThrottlingUtils.d.ts +42 -42
  126. package/dist/network/ThrottlingUtils.mjs +95 -95
  127. package/dist/packageMetadata.d.ts +2 -2
  128. package/dist/packageMetadata.d.ts.map +1 -1
  129. package/dist/packageMetadata.mjs +4 -4
  130. package/dist/request/AuthenticationHeaderParser.d.ts +19 -19
  131. package/dist/request/AuthenticationHeaderParser.mjs +55 -55
  132. package/dist/request/BaseAuthRequest.d.ts +43 -43
  133. package/dist/request/CommonAuthorizationCodeRequest.d.ts +27 -27
  134. package/dist/request/CommonAuthorizationUrlRequest.d.ts +50 -50
  135. package/dist/request/CommonClientCredentialRequest.d.ts +17 -17
  136. package/dist/request/CommonDeviceCodeRequest.d.ts +21 -21
  137. package/dist/request/CommonEndSessionRequest.d.ts +21 -21
  138. package/dist/request/CommonOnBehalfOfRequest.d.ts +13 -13
  139. package/dist/request/CommonRefreshTokenRequest.d.ts +22 -22
  140. package/dist/request/CommonSilentFlowRequest.d.ts +27 -27
  141. package/dist/request/CommonUsernamePasswordRequest.d.ts +17 -17
  142. package/dist/request/NativeRequest.d.ts +19 -19
  143. package/dist/request/NativeSignOutRequest.d.ts +5 -5
  144. package/dist/request/RequestParameterBuilder.d.ts +217 -217
  145. package/dist/request/RequestParameterBuilder.mjs +381 -381
  146. package/dist/request/RequestValidator.d.ts +33 -33
  147. package/dist/request/RequestValidator.mjs +81 -81
  148. package/dist/request/ScopeSet.d.ts +88 -88
  149. package/dist/request/ScopeSet.mjs +197 -197
  150. package/dist/request/StoreInCache.d.ts +8 -8
  151. package/dist/response/AuthenticationResult.d.ts +41 -41
  152. package/dist/response/AuthorizationCodePayload.d.ts +13 -13
  153. package/dist/response/DeviceCodeResponse.d.ts +25 -25
  154. package/dist/response/ExternalTokenResponse.d.ts +15 -15
  155. package/dist/response/IMDSBadResponse.d.ts +4 -4
  156. package/dist/response/ResponseHandler.d.ts +69 -69
  157. package/dist/response/ResponseHandler.mjs +350 -347
  158. package/dist/response/ResponseHandler.mjs.map +1 -1
  159. package/dist/response/ServerAuthorizationCodeResponse.d.ts +25 -25
  160. package/dist/response/ServerAuthorizationTokenResponse.d.ts +47 -47
  161. package/dist/telemetry/performance/IPerformanceClient.d.ts +57 -57
  162. package/dist/telemetry/performance/IPerformanceMeasurement.d.ts +5 -5
  163. package/dist/telemetry/performance/PerformanceClient.d.ts +198 -198
  164. package/dist/telemetry/performance/PerformanceClient.mjs +412 -412
  165. package/dist/telemetry/performance/PerformanceEvent.d.ts +464 -464
  166. package/dist/telemetry/performance/PerformanceEvent.mjs +253 -253
  167. package/dist/telemetry/performance/StubPerformanceClient.d.ts +24 -24
  168. package/dist/telemetry/performance/StubPerformanceClient.mjs +76 -76
  169. package/dist/telemetry/server/ServerTelemetryManager.d.ts +66 -66
  170. package/dist/telemetry/server/ServerTelemetryManager.mjs +201 -201
  171. package/dist/telemetry/server/ServerTelemetryRequest.d.ts +8 -8
  172. package/dist/url/IUri.d.ts +12 -12
  173. package/dist/url/UrlString.d.ts +48 -48
  174. package/dist/url/UrlString.mjs +161 -161
  175. package/dist/utils/Constants.d.ts +296 -298
  176. package/dist/utils/Constants.d.ts.map +1 -1
  177. package/dist/utils/Constants.mjs +310 -313
  178. package/dist/utils/Constants.mjs.map +1 -1
  179. package/dist/utils/FunctionWrappers.d.ts +27 -27
  180. package/dist/utils/FunctionWrappers.mjs +84 -84
  181. package/dist/utils/MsalTypes.d.ts +6 -6
  182. package/dist/utils/ProtocolUtils.d.ts +42 -42
  183. package/dist/utils/ProtocolUtils.mjs +69 -69
  184. package/dist/utils/StringUtils.d.ts +40 -40
  185. package/dist/utils/StringUtils.mjs +95 -95
  186. package/dist/utils/TimeUtils.d.ts +27 -27
  187. package/dist/utils/TimeUtils.mjs +45 -45
  188. package/dist/utils/UrlUtils.d.ts +10 -10
  189. package/dist/utils/UrlUtils.mjs +44 -44
  190. package/package.json +1 -1
  191. package/src/authority/Authority.ts +58 -25
  192. package/src/cache/entities/AppMetadataEntity.ts +6 -81
  193. package/src/cache/entities/AuthorityMetadataEntity.ts +2 -94
  194. package/src/cache/utils/CacheHelpers.ts +111 -0
  195. package/src/config/ClientConfiguration.ts +4 -4
  196. package/src/index.ts +0 -1
  197. package/src/packageMetadata.ts +1 -1
  198. package/src/response/ResponseHandler.ts +5 -5
  199. package/src/utils/Constants.ts +0 -4
  200. package/dist/cache/entities/AppMetadataEntity.mjs +0 -73
  201. package/dist/cache/entities/AppMetadataEntity.mjs.map +0 -1
  202. package/dist/cache/entities/AuthorityMetadataEntity.mjs +0 -86
  203. package/dist/cache/entities/AuthorityMetadataEntity.mjs.map +0 -1
@@ -1,299 +1,297 @@
1
- export declare const Constants: {
2
- LIBRARY_NAME: string;
3
- SKU: string;
4
- CACHE_PREFIX: string;
5
- DEFAULT_AUTHORITY: string;
6
- DEFAULT_AUTHORITY_HOST: string;
7
- DEFAULT_COMMON_TENANT: string;
8
- ADFS: string;
9
- DSTS: string;
10
- AAD_INSTANCE_DISCOVERY_ENDPT: string;
11
- CIAM_AUTH_URL: string;
12
- AAD_TENANT_DOMAIN_SUFFIX: string;
13
- RESOURCE_DELIM: string;
14
- NO_ACCOUNT: string;
15
- CLAIMS: string;
16
- CONSUMER_UTID: string;
17
- OPENID_SCOPE: string;
18
- PROFILE_SCOPE: string;
19
- OFFLINE_ACCESS_SCOPE: string;
20
- EMAIL_SCOPE: string;
21
- CODE_RESPONSE_TYPE: string;
22
- CODE_GRANT_TYPE: string;
23
- RT_GRANT_TYPE: string;
24
- FRAGMENT_RESPONSE_MODE: string;
25
- S256_CODE_CHALLENGE_METHOD: string;
26
- URL_FORM_CONTENT_TYPE: string;
27
- AUTHORIZATION_PENDING: string;
28
- NOT_DEFINED: string;
29
- EMPTY_STRING: string;
30
- NOT_APPLICABLE: string;
31
- FORWARD_SLASH: string;
32
- IMDS_ENDPOINT: string;
33
- IMDS_VERSION: string;
34
- IMDS_TIMEOUT: number;
35
- AZURE_REGION_AUTO_DISCOVER_FLAG: string;
36
- REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX: string;
37
- KNOWN_PUBLIC_CLOUDS: string[];
38
- TOKEN_RESPONSE_TYPE: string;
39
- ID_TOKEN_RESPONSE_TYPE: string;
40
- SHR_NONCE_VALIDITY: number;
41
- INVALID_INSTANCE: string;
42
- };
43
- export declare const HttpStatus: {
44
- readonly SUCCESS_RANGE_START: 200;
45
- readonly SUCCESS_RANGE_END: 299;
46
- readonly REDIRECT: 302;
47
- readonly CLIENT_ERROR_RANGE_START: 400;
48
- readonly UNAUTHORIZED: 401;
49
- readonly CLIENT_ERROR_RANGE_END: 499;
50
- readonly SERVER_ERROR_RANGE_START: 500;
51
- readonly SERVER_ERROR_RANGE_END: 599;
52
- };
53
- export type HttpStatus = (typeof HttpStatus)[keyof typeof HttpStatus];
54
- export declare const OIDC_DEFAULT_SCOPES: string[];
55
- export declare const OIDC_SCOPES: string[];
56
- /**
57
- * Request header names
58
- */
59
- export declare const HeaderNames: {
60
- readonly CONTENT_TYPE: "Content-Type";
61
- readonly RETRY_AFTER: "Retry-After";
62
- readonly CCS_HEADER: "X-AnchorMailbox";
63
- readonly WWWAuthenticate: "WWW-Authenticate";
64
- readonly AuthenticationInfo: "Authentication-Info";
65
- readonly X_MS_REQUEST_ID: "x-ms-request-id";
66
- readonly X_MS_HTTP_VERSION: "x-ms-httpver";
67
- };
68
- export type HeaderNames = (typeof HeaderNames)[keyof typeof HeaderNames];
69
- /**
70
- * Persistent cache keys MSAL which stay while user is logged in.
71
- */
72
- export declare const PersistentCacheKeys: {
73
- readonly ID_TOKEN: "idtoken";
74
- readonly CLIENT_INFO: "client.info";
75
- readonly ADAL_ID_TOKEN: "adal.idtoken";
76
- readonly ERROR: "error";
77
- readonly ERROR_DESC: "error.description";
78
- readonly ACTIVE_ACCOUNT: "active-account";
79
- readonly ACTIVE_ACCOUNT_FILTERS: "active-account-filters";
80
- };
81
- export type PersistentCacheKeys = (typeof PersistentCacheKeys)[keyof typeof PersistentCacheKeys];
82
- /**
83
- * String constants related to AAD Authority
84
- */
85
- export declare const AADAuthorityConstants: {
86
- readonly COMMON: "common";
87
- readonly ORGANIZATIONS: "organizations";
88
- readonly CONSUMERS: "consumers";
89
- };
90
- export type AADAuthorityConstants = (typeof AADAuthorityConstants)[keyof typeof AADAuthorityConstants];
91
- /**
92
- * Claims request keys
93
- */
94
- export declare const ClaimsRequestKeys: {
95
- readonly ACCESS_TOKEN: "access_token";
96
- readonly XMS_CC: "xms_cc";
97
- };
98
- export type ClaimsRequestKeys = (typeof ClaimsRequestKeys)[keyof typeof ClaimsRequestKeys];
99
- /**
100
- * we considered making this "enum" in the request instead of string, however it looks like the allowed list of
101
- * prompt values kept changing over past couple of years. There are some undocumented prompt values for some
102
- * internal partners too, hence the choice of generic "string" type instead of the "enum"
103
- */
104
- export declare const PromptValue: {
105
- LOGIN: string;
106
- SELECT_ACCOUNT: string;
107
- CONSENT: string;
108
- NONE: string;
109
- CREATE: string;
110
- NO_SESSION: string;
111
- };
112
- /**
113
- * allowed values for codeVerifier
114
- */
115
- export declare const CodeChallengeMethodValues: {
116
- PLAIN: string;
117
- S256: string;
118
- };
119
- /**
120
- * allowed values for server response type
121
- */
122
- export declare const ServerResponseType: {
123
- readonly QUERY: "query";
124
- readonly FRAGMENT: "fragment";
125
- };
126
- export type ServerResponseType = (typeof ServerResponseType)[keyof typeof ServerResponseType];
127
- /**
128
- * allowed values for response_mode
129
- */
130
- export declare const ResponseMode: {
131
- readonly FORM_POST: "form_post";
132
- readonly QUERY: "query";
133
- readonly FRAGMENT: "fragment";
134
- };
135
- export type ResponseMode = (typeof ResponseMode)[keyof typeof ResponseMode];
136
- /**
137
- * allowed grant_type
138
- */
139
- export declare const GrantType: {
140
- readonly IMPLICIT_GRANT: "implicit";
141
- readonly AUTHORIZATION_CODE_GRANT: "authorization_code";
142
- readonly CLIENT_CREDENTIALS_GRANT: "client_credentials";
143
- readonly RESOURCE_OWNER_PASSWORD_GRANT: "password";
144
- readonly REFRESH_TOKEN_GRANT: "refresh_token";
145
- readonly DEVICE_CODE_GRANT: "device_code";
146
- readonly JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer";
147
- };
148
- export type GrantType = (typeof GrantType)[keyof typeof GrantType];
149
- /**
150
- * Account types in Cache
151
- */
152
- export declare const CacheAccountType: {
153
- readonly MSSTS_ACCOUNT_TYPE: "MSSTS";
154
- readonly ADFS_ACCOUNT_TYPE: "ADFS";
155
- readonly MSAV1_ACCOUNT_TYPE: "MSA";
156
- readonly GENERIC_ACCOUNT_TYPE: "Generic";
157
- };
158
- export type CacheAccountType = (typeof CacheAccountType)[keyof typeof CacheAccountType];
159
- /**
160
- * Separators used in cache
161
- */
162
- export declare const Separators: {
163
- readonly CACHE_KEY_SEPARATOR: "-";
164
- readonly CLIENT_INFO_SEPARATOR: ".";
165
- };
166
- export type Separators = (typeof Separators)[keyof typeof Separators];
167
- /**
168
- * Credential Type stored in the cache
169
- */
170
- export declare const CredentialType: {
171
- readonly ID_TOKEN: "IdToken";
172
- readonly ACCESS_TOKEN: "AccessToken";
173
- readonly ACCESS_TOKEN_WITH_AUTH_SCHEME: "AccessToken_With_AuthScheme";
174
- readonly REFRESH_TOKEN: "RefreshToken";
175
- };
176
- export type CredentialType = (typeof CredentialType)[keyof typeof CredentialType];
177
- /**
178
- * Combine all cache types
179
- */
180
- export declare const CacheType: {
181
- readonly ADFS: 1001;
182
- readonly MSA: 1002;
183
- readonly MSSTS: 1003;
184
- readonly GENERIC: 1004;
185
- readonly ACCESS_TOKEN: 2001;
186
- readonly REFRESH_TOKEN: 2002;
187
- readonly ID_TOKEN: 2003;
188
- readonly APP_METADATA: 3001;
189
- readonly UNDEFINED: 9999;
190
- };
191
- export type CacheType = (typeof CacheType)[keyof typeof CacheType];
192
- /**
193
- * More Cache related constants
194
- */
195
- export declare const APP_METADATA = "appmetadata";
196
- export declare const CLIENT_INFO = "client_info";
197
- export declare const THE_FAMILY_ID = "1";
198
- export declare const AUTHORITY_METADATA_CONSTANTS: {
199
- CACHE_KEY: string;
200
- REFRESH_TIME_SECONDS: number;
201
- };
202
- export declare const AuthorityMetadataSource: {
203
- readonly CONFIG: "config";
204
- readonly CACHE: "cache";
205
- readonly NETWORK: "network";
206
- readonly HARDCODED_VALUES: "hardcoded_values";
207
- };
208
- export type AuthorityMetadataSource = (typeof AuthorityMetadataSource)[keyof typeof AuthorityMetadataSource];
209
- export declare const SERVER_TELEM_CONSTANTS: {
210
- SCHEMA_VERSION: number;
211
- MAX_CUR_HEADER_BYTES: number;
212
- MAX_LAST_HEADER_BYTES: number;
213
- MAX_CACHED_ERRORS: number;
214
- CACHE_KEY: string;
215
- CATEGORY_SEPARATOR: string;
216
- VALUE_SEPARATOR: string;
217
- OVERFLOW_TRUE: string;
218
- OVERFLOW_FALSE: string;
219
- UNKNOWN_ERROR: string;
220
- };
221
- /**
222
- * Type of the authentication request
223
- */
224
- export declare const AuthenticationScheme: {
225
- readonly BEARER: "Bearer";
226
- readonly POP: "pop";
227
- readonly SSH: "ssh-cert";
228
- };
229
- export type AuthenticationScheme = (typeof AuthenticationScheme)[keyof typeof AuthenticationScheme];
230
- /**
231
- * Constants related to throttling
232
- */
233
- export declare const ThrottlingConstants: {
234
- DEFAULT_THROTTLE_TIME_SECONDS: number;
235
- DEFAULT_MAX_THROTTLE_TIME_SECONDS: number;
236
- THROTTLING_PREFIX: string;
237
- X_MS_LIB_CAPABILITY_VALUE: string;
238
- };
239
- export declare const Errors: {
240
- INVALID_GRANT_ERROR: string;
241
- CLIENT_MISMATCH_ERROR: string;
242
- };
243
- /**
244
- * Password grant parameters
245
- */
246
- export declare const PasswordGrantConstants: {
247
- readonly username: "username";
248
- readonly password: "password";
249
- };
250
- export type PasswordGrantConstants = (typeof PasswordGrantConstants)[keyof typeof PasswordGrantConstants];
251
- /**
252
- * Response codes
253
- */
254
- export declare const ResponseCodes: {
255
- readonly httpSuccess: 200;
256
- readonly httpBadRequest: 400;
257
- };
258
- export type ResponseCodes = (typeof ResponseCodes)[keyof typeof ResponseCodes];
259
- /**
260
- * Region Discovery Sources
261
- */
262
- export declare const RegionDiscoverySources: {
263
- readonly FAILED_AUTO_DETECTION: "1";
264
- readonly INTERNAL_CACHE: "2";
265
- readonly ENVIRONMENT_VARIABLE: "3";
266
- readonly IMDS: "4";
267
- };
268
- export type RegionDiscoverySources = (typeof RegionDiscoverySources)[keyof typeof RegionDiscoverySources];
269
- /**
270
- * Region Discovery Outcomes
271
- */
272
- export declare const RegionDiscoveryOutcomes: {
273
- readonly CONFIGURED_MATCHES_DETECTED: "1";
274
- readonly CONFIGURED_NO_AUTO_DETECTION: "2";
275
- readonly CONFIGURED_NOT_DETECTED: "3";
276
- readonly AUTO_DETECTION_REQUESTED_SUCCESSFUL: "4";
277
- readonly AUTO_DETECTION_REQUESTED_FAILED: "5";
278
- };
279
- export type RegionDiscoveryOutcomes = (typeof RegionDiscoveryOutcomes)[keyof typeof RegionDiscoveryOutcomes];
280
- /**
281
- * Specifies the reason for fetching the access token from the identity provider
282
- */
283
- export declare const CacheOutcome: {
284
- readonly NOT_APPLICABLE: "0";
285
- readonly FORCE_REFRESH_OR_CLAIMS: "1";
286
- readonly NO_CACHED_ACCESS_TOKEN: "2";
287
- readonly CACHED_ACCESS_TOKEN_EXPIRED: "3";
288
- readonly PROACTIVELY_REFRESHED: "4";
289
- };
290
- export type CacheOutcome = (typeof CacheOutcome)[keyof typeof CacheOutcome];
291
- export declare const JsonWebTokenTypes: {
292
- readonly Jwt: "JWT";
293
- readonly Jwk: "JWK";
294
- readonly Pop: "pop";
295
- };
296
- export type JsonWebTokenTypes = (typeof JsonWebTokenTypes)[keyof typeof JsonWebTokenTypes];
297
- export declare const ONE_DAY_IN_MS = 86400000;
298
- export declare const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
1
+ export declare const Constants: {
2
+ LIBRARY_NAME: string;
3
+ SKU: string;
4
+ CACHE_PREFIX: string;
5
+ DEFAULT_AUTHORITY: string;
6
+ DEFAULT_AUTHORITY_HOST: string;
7
+ DEFAULT_COMMON_TENANT: string;
8
+ ADFS: string;
9
+ DSTS: string;
10
+ AAD_INSTANCE_DISCOVERY_ENDPT: string;
11
+ CIAM_AUTH_URL: string;
12
+ AAD_TENANT_DOMAIN_SUFFIX: string;
13
+ RESOURCE_DELIM: string;
14
+ NO_ACCOUNT: string;
15
+ CLAIMS: string;
16
+ CONSUMER_UTID: string;
17
+ OPENID_SCOPE: string;
18
+ PROFILE_SCOPE: string;
19
+ OFFLINE_ACCESS_SCOPE: string;
20
+ EMAIL_SCOPE: string;
21
+ CODE_RESPONSE_TYPE: string;
22
+ CODE_GRANT_TYPE: string;
23
+ RT_GRANT_TYPE: string;
24
+ FRAGMENT_RESPONSE_MODE: string;
25
+ S256_CODE_CHALLENGE_METHOD: string;
26
+ URL_FORM_CONTENT_TYPE: string;
27
+ AUTHORIZATION_PENDING: string;
28
+ NOT_DEFINED: string;
29
+ EMPTY_STRING: string;
30
+ NOT_APPLICABLE: string;
31
+ FORWARD_SLASH: string;
32
+ IMDS_ENDPOINT: string;
33
+ IMDS_VERSION: string;
34
+ IMDS_TIMEOUT: number;
35
+ AZURE_REGION_AUTO_DISCOVER_FLAG: string;
36
+ REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX: string;
37
+ KNOWN_PUBLIC_CLOUDS: string[];
38
+ TOKEN_RESPONSE_TYPE: string;
39
+ ID_TOKEN_RESPONSE_TYPE: string;
40
+ SHR_NONCE_VALIDITY: number;
41
+ INVALID_INSTANCE: string;
42
+ };
43
+ export declare const HttpStatus: {
44
+ readonly SUCCESS_RANGE_START: 200;
45
+ readonly SUCCESS_RANGE_END: 299;
46
+ readonly REDIRECT: 302;
47
+ readonly CLIENT_ERROR_RANGE_START: 400;
48
+ readonly CLIENT_ERROR_RANGE_END: 499;
49
+ readonly SERVER_ERROR_RANGE_START: 500;
50
+ readonly SERVER_ERROR_RANGE_END: 599;
51
+ };
52
+ export type HttpStatus = (typeof HttpStatus)[keyof typeof HttpStatus];
53
+ export declare const OIDC_DEFAULT_SCOPES: string[];
54
+ export declare const OIDC_SCOPES: string[];
55
+ /**
56
+ * Request header names
57
+ */
58
+ export declare const HeaderNames: {
59
+ readonly CONTENT_TYPE: "Content-Type";
60
+ readonly RETRY_AFTER: "Retry-After";
61
+ readonly CCS_HEADER: "X-AnchorMailbox";
62
+ readonly WWWAuthenticate: "WWW-Authenticate";
63
+ readonly AuthenticationInfo: "Authentication-Info";
64
+ readonly X_MS_REQUEST_ID: "x-ms-request-id";
65
+ readonly X_MS_HTTP_VERSION: "x-ms-httpver";
66
+ };
67
+ export type HeaderNames = (typeof HeaderNames)[keyof typeof HeaderNames];
68
+ /**
69
+ * Persistent cache keys MSAL which stay while user is logged in.
70
+ */
71
+ export declare const PersistentCacheKeys: {
72
+ readonly ID_TOKEN: "idtoken";
73
+ readonly CLIENT_INFO: "client.info";
74
+ readonly ADAL_ID_TOKEN: "adal.idtoken";
75
+ readonly ERROR: "error";
76
+ readonly ERROR_DESC: "error.description";
77
+ readonly ACTIVE_ACCOUNT: "active-account";
78
+ readonly ACTIVE_ACCOUNT_FILTERS: "active-account-filters";
79
+ };
80
+ export type PersistentCacheKeys = (typeof PersistentCacheKeys)[keyof typeof PersistentCacheKeys];
81
+ /**
82
+ * String constants related to AAD Authority
83
+ */
84
+ export declare const AADAuthorityConstants: {
85
+ readonly COMMON: "common";
86
+ readonly ORGANIZATIONS: "organizations";
87
+ readonly CONSUMERS: "consumers";
88
+ };
89
+ export type AADAuthorityConstants = (typeof AADAuthorityConstants)[keyof typeof AADAuthorityConstants];
90
+ /**
91
+ * Claims request keys
92
+ */
93
+ export declare const ClaimsRequestKeys: {
94
+ readonly ACCESS_TOKEN: "access_token";
95
+ readonly XMS_CC: "xms_cc";
96
+ };
97
+ export type ClaimsRequestKeys = (typeof ClaimsRequestKeys)[keyof typeof ClaimsRequestKeys];
98
+ /**
99
+ * we considered making this "enum" in the request instead of string, however it looks like the allowed list of
100
+ * prompt values kept changing over past couple of years. There are some undocumented prompt values for some
101
+ * internal partners too, hence the choice of generic "string" type instead of the "enum"
102
+ */
103
+ export declare const PromptValue: {
104
+ LOGIN: string;
105
+ SELECT_ACCOUNT: string;
106
+ CONSENT: string;
107
+ NONE: string;
108
+ CREATE: string;
109
+ NO_SESSION: string;
110
+ };
111
+ /**
112
+ * allowed values for codeVerifier
113
+ */
114
+ export declare const CodeChallengeMethodValues: {
115
+ PLAIN: string;
116
+ S256: string;
117
+ };
118
+ /**
119
+ * allowed values for server response type
120
+ */
121
+ export declare const ServerResponseType: {
122
+ readonly QUERY: "query";
123
+ readonly FRAGMENT: "fragment";
124
+ };
125
+ export type ServerResponseType = (typeof ServerResponseType)[keyof typeof ServerResponseType];
126
+ /**
127
+ * allowed values for response_mode
128
+ */
129
+ export declare const ResponseMode: {
130
+ readonly FORM_POST: "form_post";
131
+ readonly QUERY: "query";
132
+ readonly FRAGMENT: "fragment";
133
+ };
134
+ export type ResponseMode = (typeof ResponseMode)[keyof typeof ResponseMode];
135
+ /**
136
+ * allowed grant_type
137
+ */
138
+ export declare const GrantType: {
139
+ readonly IMPLICIT_GRANT: "implicit";
140
+ readonly AUTHORIZATION_CODE_GRANT: "authorization_code";
141
+ readonly CLIENT_CREDENTIALS_GRANT: "client_credentials";
142
+ readonly RESOURCE_OWNER_PASSWORD_GRANT: "password";
143
+ readonly REFRESH_TOKEN_GRANT: "refresh_token";
144
+ readonly DEVICE_CODE_GRANT: "device_code";
145
+ readonly JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer";
146
+ };
147
+ export type GrantType = (typeof GrantType)[keyof typeof GrantType];
148
+ /**
149
+ * Account types in Cache
150
+ */
151
+ export declare const CacheAccountType: {
152
+ readonly MSSTS_ACCOUNT_TYPE: "MSSTS";
153
+ readonly ADFS_ACCOUNT_TYPE: "ADFS";
154
+ readonly MSAV1_ACCOUNT_TYPE: "MSA";
155
+ readonly GENERIC_ACCOUNT_TYPE: "Generic";
156
+ };
157
+ export type CacheAccountType = (typeof CacheAccountType)[keyof typeof CacheAccountType];
158
+ /**
159
+ * Separators used in cache
160
+ */
161
+ export declare const Separators: {
162
+ readonly CACHE_KEY_SEPARATOR: "-";
163
+ readonly CLIENT_INFO_SEPARATOR: ".";
164
+ };
165
+ export type Separators = (typeof Separators)[keyof typeof Separators];
166
+ /**
167
+ * Credential Type stored in the cache
168
+ */
169
+ export declare const CredentialType: {
170
+ readonly ID_TOKEN: "IdToken";
171
+ readonly ACCESS_TOKEN: "AccessToken";
172
+ readonly ACCESS_TOKEN_WITH_AUTH_SCHEME: "AccessToken_With_AuthScheme";
173
+ readonly REFRESH_TOKEN: "RefreshToken";
174
+ };
175
+ export type CredentialType = (typeof CredentialType)[keyof typeof CredentialType];
176
+ /**
177
+ * Combine all cache types
178
+ */
179
+ export declare const CacheType: {
180
+ readonly ADFS: 1001;
181
+ readonly MSA: 1002;
182
+ readonly MSSTS: 1003;
183
+ readonly GENERIC: 1004;
184
+ readonly ACCESS_TOKEN: 2001;
185
+ readonly REFRESH_TOKEN: 2002;
186
+ readonly ID_TOKEN: 2003;
187
+ readonly APP_METADATA: 3001;
188
+ readonly UNDEFINED: 9999;
189
+ };
190
+ export type CacheType = (typeof CacheType)[keyof typeof CacheType];
191
+ /**
192
+ * More Cache related constants
193
+ */
194
+ export declare const APP_METADATA = "appmetadata";
195
+ export declare const CLIENT_INFO = "client_info";
196
+ export declare const THE_FAMILY_ID = "1";
197
+ export declare const AUTHORITY_METADATA_CONSTANTS: {
198
+ CACHE_KEY: string;
199
+ REFRESH_TIME_SECONDS: number;
200
+ };
201
+ export declare const AuthorityMetadataSource: {
202
+ readonly CONFIG: "config";
203
+ readonly CACHE: "cache";
204
+ readonly NETWORK: "network";
205
+ readonly HARDCODED_VALUES: "hardcoded_values";
206
+ };
207
+ export type AuthorityMetadataSource = (typeof AuthorityMetadataSource)[keyof typeof AuthorityMetadataSource];
208
+ export declare const SERVER_TELEM_CONSTANTS: {
209
+ SCHEMA_VERSION: number;
210
+ MAX_CUR_HEADER_BYTES: number;
211
+ MAX_LAST_HEADER_BYTES: number;
212
+ MAX_CACHED_ERRORS: number;
213
+ CACHE_KEY: string;
214
+ CATEGORY_SEPARATOR: string;
215
+ VALUE_SEPARATOR: string;
216
+ OVERFLOW_TRUE: string;
217
+ OVERFLOW_FALSE: string;
218
+ UNKNOWN_ERROR: string;
219
+ };
220
+ /**
221
+ * Type of the authentication request
222
+ */
223
+ export declare const AuthenticationScheme: {
224
+ readonly BEARER: "Bearer";
225
+ readonly POP: "pop";
226
+ readonly SSH: "ssh-cert";
227
+ };
228
+ export type AuthenticationScheme = (typeof AuthenticationScheme)[keyof typeof AuthenticationScheme];
229
+ /**
230
+ * Constants related to throttling
231
+ */
232
+ export declare const ThrottlingConstants: {
233
+ DEFAULT_THROTTLE_TIME_SECONDS: number;
234
+ DEFAULT_MAX_THROTTLE_TIME_SECONDS: number;
235
+ THROTTLING_PREFIX: string;
236
+ X_MS_LIB_CAPABILITY_VALUE: string;
237
+ };
238
+ export declare const Errors: {
239
+ INVALID_GRANT_ERROR: string;
240
+ CLIENT_MISMATCH_ERROR: string;
241
+ };
242
+ /**
243
+ * Password grant parameters
244
+ */
245
+ export declare const PasswordGrantConstants: {
246
+ readonly username: "username";
247
+ readonly password: "password";
248
+ };
249
+ export type PasswordGrantConstants = (typeof PasswordGrantConstants)[keyof typeof PasswordGrantConstants];
250
+ /**
251
+ * Response codes
252
+ */
253
+ export declare const ResponseCodes: {
254
+ readonly httpSuccess: 200;
255
+ readonly httpBadRequest: 400;
256
+ };
257
+ export type ResponseCodes = (typeof ResponseCodes)[keyof typeof ResponseCodes];
258
+ /**
259
+ * Region Discovery Sources
260
+ */
261
+ export declare const RegionDiscoverySources: {
262
+ readonly FAILED_AUTO_DETECTION: "1";
263
+ readonly INTERNAL_CACHE: "2";
264
+ readonly ENVIRONMENT_VARIABLE: "3";
265
+ readonly IMDS: "4";
266
+ };
267
+ export type RegionDiscoverySources = (typeof RegionDiscoverySources)[keyof typeof RegionDiscoverySources];
268
+ /**
269
+ * Region Discovery Outcomes
270
+ */
271
+ export declare const RegionDiscoveryOutcomes: {
272
+ readonly CONFIGURED_MATCHES_DETECTED: "1";
273
+ readonly CONFIGURED_NO_AUTO_DETECTION: "2";
274
+ readonly CONFIGURED_NOT_DETECTED: "3";
275
+ readonly AUTO_DETECTION_REQUESTED_SUCCESSFUL: "4";
276
+ readonly AUTO_DETECTION_REQUESTED_FAILED: "5";
277
+ };
278
+ export type RegionDiscoveryOutcomes = (typeof RegionDiscoveryOutcomes)[keyof typeof RegionDiscoveryOutcomes];
279
+ /**
280
+ * Specifies the reason for fetching the access token from the identity provider
281
+ */
282
+ export declare const CacheOutcome: {
283
+ readonly NOT_APPLICABLE: "0";
284
+ readonly FORCE_REFRESH_OR_CLAIMS: "1";
285
+ readonly NO_CACHED_ACCESS_TOKEN: "2";
286
+ readonly CACHED_ACCESS_TOKEN_EXPIRED: "3";
287
+ readonly PROACTIVELY_REFRESHED: "4";
288
+ };
289
+ export type CacheOutcome = (typeof CacheOutcome)[keyof typeof CacheOutcome];
290
+ export declare const JsonWebTokenTypes: {
291
+ readonly Jwt: "JWT";
292
+ readonly Jwk: "JWK";
293
+ readonly Pop: "pop";
294
+ };
295
+ export type JsonWebTokenTypes = (typeof JsonWebTokenTypes)[keyof typeof JsonWebTokenTypes];
296
+ export declare const ONE_DAY_IN_MS = 86400000;
299
297
  //# sourceMappingURL=Constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../../src/utils/Constants.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DrB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;CASb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEtE,eAAO,MAAM,mBAAmB,UAI/B,CAAC;AAEF,eAAO,MAAM,WAAW,UAAkD,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;CAQd,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;CAQtB,CAAC;AACX,MAAM,MAAM,mBAAmB,GAC3B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEnE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