@azure/msal-common 14.1.0 → 14.2.0-alpha.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.
- package/dist/account/AccountInfo.d.ts +31 -31
- package/dist/account/AuthToken.d.ts +17 -17
- package/dist/account/AuthToken.mjs +58 -58
- package/dist/account/CcsCredential.d.ts +9 -9
- package/dist/account/CcsCredential.mjs +8 -8
- package/dist/account/ClientCredentials.d.ts +14 -14
- package/dist/account/ClientInfo.d.ts +19 -19
- package/dist/account/ClientInfo.mjs +37 -37
- package/dist/account/TokenClaims.d.ts +65 -65
- package/dist/authority/Authority.d.ts +250 -235
- package/dist/authority/Authority.d.ts.map +1 -1
- package/dist/authority/Authority.mjs +795 -740
- package/dist/authority/Authority.mjs.map +1 -1
- package/dist/authority/AuthorityFactory.d.ts +31 -31
- package/dist/authority/AuthorityFactory.d.ts.map +1 -1
- package/dist/authority/AuthorityFactory.mjs +48 -48
- package/dist/authority/AuthorityMetadata.d.ts +646 -623
- package/dist/authority/AuthorityMetadata.d.ts.map +1 -1
- package/dist/authority/AuthorityMetadata.mjs +941 -885
- package/dist/authority/AuthorityMetadata.mjs.map +1 -1
- package/dist/authority/AuthorityOptions.d.ts +27 -21
- package/dist/authority/AuthorityOptions.d.ts.map +1 -1
- package/dist/authority/AuthorityOptions.mjs +18 -18
- package/dist/authority/AuthorityOptions.mjs.map +1 -1
- package/dist/authority/AuthorityType.d.ts +10 -10
- package/dist/authority/AuthorityType.mjs +13 -13
- package/dist/authority/AzureRegion.d.ts +1 -1
- package/dist/authority/AzureRegionConfiguration.d.ts +5 -5
- package/dist/authority/CloudDiscoveryMetadata.d.ts +5 -5
- package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +13 -13
- package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +8 -8
- package/dist/authority/CloudInstanceDiscoveryResponse.d.ts +9 -9
- package/dist/authority/CloudInstanceDiscoveryResponse.mjs +8 -8
- package/dist/authority/ImdsOptions.d.ts +5 -5
- package/dist/authority/OIDCOptions.d.ts +8 -8
- package/dist/authority/OpenIdConfigResponse.d.ts +11 -11
- package/dist/authority/OpenIdConfigResponse.mjs +10 -10
- package/dist/authority/ProtocolMode.d.ts +8 -8
- package/dist/authority/ProtocolMode.mjs +11 -11
- package/dist/authority/RegionDiscovery.d.ts +32 -32
- package/dist/authority/RegionDiscovery.mjs +106 -106
- package/dist/authority/RegionDiscoveryMetadata.d.ts +6 -6
- package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +15 -15
- package/dist/cache/CacheManager.d.ts +480 -464
- package/dist/cache/CacheManager.d.ts.map +1 -1
- package/dist/cache/CacheManager.mjs +1089 -1049
- package/dist/cache/CacheManager.mjs.map +1 -1
- package/dist/cache/entities/AccessTokenEntity.d.ts +56 -56
- package/dist/cache/entities/AccessTokenEntity.mjs +109 -109
- package/dist/cache/entities/AccountEntity.d.ts +101 -101
- package/dist/cache/entities/AccountEntity.d.ts.map +1 -1
- package/dist/cache/entities/AccountEntity.mjs +218 -220
- package/dist/cache/entities/AccountEntity.mjs.map +1 -1
- package/dist/cache/entities/AppMetadataEntity.d.ts +39 -39
- package/dist/cache/entities/AppMetadataEntity.mjs +66 -66
- package/dist/cache/entities/AuthorityMetadataEntity.d.ts +48 -48
- package/dist/cache/entities/AuthorityMetadataEntity.mjs +78 -78
- package/dist/cache/entities/CacheRecord.d.ts +14 -14
- package/dist/cache/entities/CacheRecord.mjs +14 -14
- package/dist/cache/entities/CredentialEntity.d.ts +88 -88
- package/dist/cache/entities/CredentialEntity.mjs +136 -136
- package/dist/cache/entities/IdTokenEntity.d.ts +34 -34
- package/dist/cache/entities/IdTokenEntity.mjs +56 -56
- package/dist/cache/entities/RefreshTokenEntity.d.ts +36 -36
- package/dist/cache/entities/RefreshTokenEntity.mjs +59 -59
- package/dist/cache/entities/ServerTelemetryEntity.d.ts +12 -12
- package/dist/cache/entities/ServerTelemetryEntity.mjs +27 -27
- package/dist/cache/entities/ThrottlingEntity.d.ts +13 -13
- package/dist/cache/entities/ThrottlingEntity.mjs +23 -23
- package/dist/cache/interface/ICacheManager.d.ts +166 -166
- package/dist/cache/interface/ICachePlugin.d.ts +5 -5
- package/dist/cache/interface/ISerializableTokenCache.d.ts +4 -4
- package/dist/cache/persistence/TokenCacheContext.d.ts +23 -23
- package/dist/cache/persistence/TokenCacheContext.mjs +25 -25
- package/dist/cache/utils/CacheTypes.d.ts +67 -66
- package/dist/cache/utils/CacheTypes.d.ts.map +1 -1
- package/dist/client/AuthorizationCodeClient.d.ts +73 -73
- package/dist/client/AuthorizationCodeClient.d.ts.map +1 -1
- package/dist/client/AuthorizationCodeClient.mjs +408 -408
- package/dist/client/AuthorizationCodeClient.mjs.map +1 -1
- package/dist/client/BaseClient.d.ts +51 -51
- package/dist/client/BaseClient.d.ts.map +1 -1
- package/dist/client/BaseClient.mjs +100 -99
- package/dist/client/BaseClient.mjs.map +1 -1
- package/dist/client/RefreshTokenClient.d.ts +35 -35
- package/dist/client/RefreshTokenClient.d.ts.map +1 -1
- package/dist/client/RefreshTokenClient.mjs +187 -187
- package/dist/client/RefreshTokenClient.mjs.map +1 -1
- package/dist/client/SilentFlowClient.d.ts +27 -26
- package/dist/client/SilentFlowClient.d.ts.map +1 -1
- package/dist/client/SilentFlowClient.mjs +118 -125
- package/dist/client/SilentFlowClient.mjs.map +1 -1
- package/dist/config/AppTokenProvider.d.ts +38 -38
- package/dist/config/ClientConfiguration.d.ts +150 -150
- package/dist/config/ClientConfiguration.d.ts.map +1 -1
- package/dist/config/ClientConfiguration.mjs +96 -98
- package/dist/config/ClientConfiguration.mjs.map +1 -1
- package/dist/crypto/ICrypto.d.ts +58 -58
- package/dist/crypto/ICrypto.mjs +30 -30
- package/dist/crypto/IGuidGenerator.d.ts +4 -4
- package/dist/crypto/JoseHeader.d.ts +22 -22
- package/dist/crypto/JoseHeader.mjs +37 -37
- package/dist/crypto/PopTokenGenerator.d.ts +60 -60
- package/dist/crypto/PopTokenGenerator.mjs +82 -82
- package/dist/crypto/SignedHttpRequest.d.ts +11 -11
- package/dist/error/AuthError.d.ts +44 -44
- package/dist/error/AuthError.mjs +46 -46
- package/dist/error/AuthErrorCodes.d.ts +5 -5
- package/dist/error/AuthErrorCodes.mjs +9 -9
- package/dist/error/ClientAuthError.d.ts +237 -232
- package/dist/error/ClientAuthError.d.ts.map +1 -1
- package/dist/error/ClientAuthError.mjs +250 -245
- package/dist/error/ClientAuthError.mjs.map +1 -1
- package/dist/error/ClientAuthErrorCodes.d.ts +44 -43
- package/dist/error/ClientAuthErrorCodes.d.ts.map +1 -1
- package/dist/error/ClientAuthErrorCodes.mjs +50 -49
- package/dist/error/ClientAuthErrorCodes.mjs.map +1 -1
- package/dist/error/ClientConfigurationError.d.ts +128 -128
- package/dist/error/ClientConfigurationError.mjs +135 -135
- package/dist/error/ClientConfigurationErrorCodes.d.ts +22 -22
- package/dist/error/ClientConfigurationErrorCodes.mjs +26 -26
- package/dist/error/InteractionRequiredAuthError.d.ts +57 -57
- package/dist/error/InteractionRequiredAuthError.mjs +76 -76
- package/dist/error/InteractionRequiredAuthErrorCodes.d.ts +5 -5
- package/dist/error/InteractionRequiredAuthErrorCodes.mjs +11 -11
- package/dist/error/JoseHeaderError.d.ts +15 -15
- package/dist/error/JoseHeaderError.mjs +22 -22
- package/dist/error/JoseHeaderErrorCodes.d.ts +2 -2
- package/dist/error/JoseHeaderErrorCodes.mjs +6 -6
- package/dist/error/ServerError.d.ts +7 -7
- package/dist/error/ServerError.mjs +14 -14
- package/dist/index.cjs +8840 -8677
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +96 -96
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/logger/Logger.d.ts +95 -95
- package/dist/logger/Logger.mjs +188 -188
- package/dist/network/INetworkModule.d.ts +29 -29
- package/dist/network/INetworkModule.mjs +12 -12
- package/dist/network/NetworkManager.d.ts +33 -33
- package/dist/network/NetworkManager.mjs +34 -34
- package/dist/network/RequestThumbprint.d.ts +16 -16
- package/dist/network/ThrottlingUtils.d.ts +42 -42
- package/dist/network/ThrottlingUtils.mjs +95 -95
- package/dist/packageMetadata.d.ts +2 -2
- package/dist/packageMetadata.d.ts.map +1 -1
- package/dist/packageMetadata.mjs +4 -4
- package/dist/packageMetadata.mjs.map +1 -1
- package/dist/request/AuthenticationHeaderParser.d.ts +19 -19
- package/dist/request/AuthenticationHeaderParser.mjs +55 -55
- package/dist/request/BaseAuthRequest.d.ts +40 -40
- package/dist/request/CommonAuthorizationCodeRequest.d.ts +27 -27
- package/dist/request/CommonAuthorizationUrlRequest.d.ts +50 -50
- package/dist/request/CommonClientCredentialRequest.d.ts +17 -17
- package/dist/request/CommonDeviceCodeRequest.d.ts +21 -21
- package/dist/request/CommonEndSessionRequest.d.ts +21 -21
- package/dist/request/CommonOnBehalfOfRequest.d.ts +13 -13
- package/dist/request/CommonRefreshTokenRequest.d.ts +22 -22
- package/dist/request/CommonSilentFlowRequest.d.ts +20 -20
- package/dist/request/CommonUsernamePasswordRequest.d.ts +17 -17
- package/dist/request/NativeRequest.d.ts +19 -19
- package/dist/request/NativeSignOutRequest.d.ts +5 -5
- package/dist/request/RequestParameterBuilder.d.ts +217 -217
- package/dist/request/RequestParameterBuilder.mjs +381 -381
- package/dist/request/RequestValidator.d.ts +33 -33
- package/dist/request/RequestValidator.mjs +81 -81
- package/dist/request/ScopeSet.d.ts +88 -88
- package/dist/request/ScopeSet.mjs +197 -197
- package/dist/request/StoreInCache.d.ts +8 -8
- package/dist/response/AuthenticationResult.d.ts +41 -41
- package/dist/response/AuthorizationCodePayload.d.ts +13 -13
- package/dist/response/DeviceCodeResponse.d.ts +25 -25
- package/dist/response/ExternalTokenResponse.d.ts +15 -15
- package/dist/response/IMDSBadResponse.d.ts +4 -4
- package/dist/response/ResponseHandler.d.ts +67 -67
- package/dist/response/ResponseHandler.d.ts.map +1 -1
- package/dist/response/ResponseHandler.mjs +315 -311
- package/dist/response/ResponseHandler.mjs.map +1 -1
- package/dist/response/ServerAuthorizationCodeResponse.d.ts +25 -25
- package/dist/response/ServerAuthorizationTokenResponse.d.ts +46 -46
- package/dist/telemetry/performance/IPerformanceClient.d.ts +51 -51
- package/dist/telemetry/performance/IPerformanceMeasurement.d.ts +5 -5
- package/dist/telemetry/performance/PerformanceClient.d.ts +191 -191
- package/dist/telemetry/performance/PerformanceClient.mjs +409 -409
- package/dist/telemetry/performance/PerformanceEvent.d.ts +457 -441
- package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceEvent.mjs +249 -242
- package/dist/telemetry/performance/PerformanceEvent.mjs.map +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.d.ts +24 -24
- package/dist/telemetry/performance/StubPerformanceClient.mjs +76 -76
- package/dist/telemetry/server/ServerTelemetryManager.d.ts +66 -66
- package/dist/telemetry/server/ServerTelemetryManager.mjs +197 -197
- package/dist/telemetry/server/ServerTelemetryRequest.d.ts +8 -8
- package/dist/url/IUri.d.ts +12 -12
- package/dist/url/UrlString.d.ts +83 -83
- package/dist/url/UrlString.mjs +279 -279
- package/dist/utils/Constants.d.ts +368 -366
- package/dist/utils/Constants.d.ts.map +1 -1
- package/dist/utils/Constants.mjs +381 -378
- package/dist/utils/Constants.mjs.map +1 -1
- package/dist/utils/FunctionWrappers.d.ts +27 -27
- package/dist/utils/FunctionWrappers.mjs +84 -84
- package/dist/utils/MsalTypes.d.ts +6 -6
- package/dist/utils/ProtocolUtils.d.ts +42 -42
- package/dist/utils/ProtocolUtils.mjs +69 -69
- package/dist/utils/StringUtils.d.ts +40 -40
- package/dist/utils/StringUtils.mjs +95 -95
- package/dist/utils/TimeUtils.d.ts +27 -27
- package/dist/utils/TimeUtils.mjs +45 -45
- package/package.json +1 -1
- package/src/authority/Authority.ts +216 -130
- package/src/authority/AuthorityFactory.ts +4 -4
- package/src/authority/AuthorityMetadata.ts +87 -0
- package/src/authority/AuthorityOptions.ts +9 -0
- package/src/cache/CacheManager.ts +120 -52
- package/src/cache/entities/AccountEntity.ts +0 -3
- package/src/cache/utils/CacheTypes.ts +1 -0
- package/src/client/AuthorizationCodeClient.ts +9 -2
- package/src/client/BaseClient.ts +9 -6
- package/src/client/RefreshTokenClient.ts +17 -7
- package/src/client/SilentFlowClient.ts +49 -49
- package/src/config/ClientConfiguration.ts +4 -4
- package/src/error/ClientAuthError.ts +8 -0
- package/src/error/ClientAuthErrorCodes.ts +1 -0
- package/src/index.ts +7 -1
- package/src/packageMetadata.ts +1 -1
- package/src/response/ResponseHandler.ts +9 -3
- package/src/telemetry/performance/PerformanceEvent.ts +24 -2
- package/src/utils/Constants.ts +4 -0
|
@@ -1,367 +1,369 @@
|
|
|
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
|
-
REGIONAL_AUTH_NON_MSI_QUERY_STRING: string;
|
|
38
|
-
KNOWN_PUBLIC_CLOUDS: string[];
|
|
39
|
-
TOKEN_RESPONSE_TYPE: string;
|
|
40
|
-
ID_TOKEN_RESPONSE_TYPE: string;
|
|
41
|
-
SHR_NONCE_VALIDITY: number;
|
|
42
|
-
INVALID_INSTANCE: string;
|
|
43
|
-
};
|
|
44
|
-
export declare const HttpStatus: {
|
|
45
|
-
readonly SUCCESS_RANGE_START: 200;
|
|
46
|
-
readonly SUCCESS_RANGE_END: 299;
|
|
47
|
-
readonly REDIRECT: 302;
|
|
48
|
-
readonly CLIENT_ERROR_RANGE_START: 400;
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
export
|
|
55
|
-
export declare const
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
readonly
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
79
|
-
readonly
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
readonly
|
|
88
|
-
readonly
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
readonly
|
|
97
|
-
readonly
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
102
|
-
readonly
|
|
103
|
-
readonly
|
|
104
|
-
readonly
|
|
105
|
-
readonly
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
108
|
-
readonly
|
|
109
|
-
readonly
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
-
readonly
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
127
|
-
readonly
|
|
128
|
-
readonly
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly
|
|
136
|
-
readonly
|
|
137
|
-
readonly
|
|
138
|
-
readonly
|
|
139
|
-
readonly
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
readonly
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
readonly
|
|
172
|
-
readonly
|
|
173
|
-
readonly
|
|
174
|
-
readonly
|
|
175
|
-
readonly
|
|
176
|
-
readonly
|
|
177
|
-
readonly
|
|
178
|
-
readonly
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
readonly
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
readonly
|
|
202
|
-
readonly
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
readonly
|
|
211
|
-
readonly
|
|
212
|
-
readonly
|
|
213
|
-
readonly
|
|
214
|
-
readonly
|
|
215
|
-
readonly
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
readonly
|
|
224
|
-
readonly
|
|
225
|
-
readonly
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
readonly
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
readonly
|
|
242
|
-
readonly
|
|
243
|
-
readonly
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
readonly
|
|
252
|
-
readonly
|
|
253
|
-
readonly
|
|
254
|
-
readonly
|
|
255
|
-
readonly
|
|
256
|
-
readonly
|
|
257
|
-
readonly
|
|
258
|
-
readonly
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
export declare const
|
|
266
|
-
export declare const
|
|
267
|
-
export declare const
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
readonly
|
|
274
|
-
readonly
|
|
275
|
-
readonly
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
export
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
readonly
|
|
296
|
-
readonly
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
readonly
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
readonly
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
readonly
|
|
334
|
-
readonly
|
|
335
|
-
readonly
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
readonly
|
|
344
|
-
readonly
|
|
345
|
-
readonly
|
|
346
|
-
readonly
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
readonly
|
|
355
|
-
readonly
|
|
356
|
-
readonly
|
|
357
|
-
readonly
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
export
|
|
361
|
-
|
|
362
|
-
readonly
|
|
363
|
-
readonly
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
export
|
|
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
|
+
REGIONAL_AUTH_NON_MSI_QUERY_STRING: string;
|
|
38
|
+
KNOWN_PUBLIC_CLOUDS: string[];
|
|
39
|
+
TOKEN_RESPONSE_TYPE: string;
|
|
40
|
+
ID_TOKEN_RESPONSE_TYPE: string;
|
|
41
|
+
SHR_NONCE_VALIDITY: number;
|
|
42
|
+
INVALID_INSTANCE: string;
|
|
43
|
+
};
|
|
44
|
+
export declare const HttpStatus: {
|
|
45
|
+
readonly SUCCESS_RANGE_START: 200;
|
|
46
|
+
readonly SUCCESS_RANGE_END: 299;
|
|
47
|
+
readonly REDIRECT: 302;
|
|
48
|
+
readonly CLIENT_ERROR_RANGE_START: 400;
|
|
49
|
+
readonly UNAUTHORIZED: 401;
|
|
50
|
+
readonly CLIENT_ERROR_RANGE_END: 499;
|
|
51
|
+
readonly SERVER_ERROR_RANGE_START: 500;
|
|
52
|
+
readonly SERVER_ERROR_RANGE_END: 599;
|
|
53
|
+
};
|
|
54
|
+
export type HttpStatus = (typeof HttpStatus)[keyof typeof HttpStatus];
|
|
55
|
+
export declare const OIDC_DEFAULT_SCOPES: string[];
|
|
56
|
+
export declare const OIDC_SCOPES: string[];
|
|
57
|
+
/**
|
|
58
|
+
* Request header names
|
|
59
|
+
*/
|
|
60
|
+
export declare const HeaderNames: {
|
|
61
|
+
readonly CONTENT_TYPE: "Content-Type";
|
|
62
|
+
readonly RETRY_AFTER: "Retry-After";
|
|
63
|
+
readonly CCS_HEADER: "X-AnchorMailbox";
|
|
64
|
+
readonly WWWAuthenticate: "WWW-Authenticate";
|
|
65
|
+
readonly AuthenticationInfo: "Authentication-Info";
|
|
66
|
+
readonly X_MS_REQUEST_ID: "x-ms-request-id";
|
|
67
|
+
readonly X_MS_HTTP_VERSION: "x-ms-httpver";
|
|
68
|
+
};
|
|
69
|
+
export type HeaderNames = (typeof HeaderNames)[keyof typeof HeaderNames];
|
|
70
|
+
/**
|
|
71
|
+
* Persistent cache keys MSAL which stay while user is logged in.
|
|
72
|
+
*/
|
|
73
|
+
export declare const PersistentCacheKeys: {
|
|
74
|
+
readonly ID_TOKEN: "idtoken";
|
|
75
|
+
readonly CLIENT_INFO: "client.info";
|
|
76
|
+
readonly ADAL_ID_TOKEN: "adal.idtoken";
|
|
77
|
+
readonly ERROR: "error";
|
|
78
|
+
readonly ERROR_DESC: "error.description";
|
|
79
|
+
readonly ACTIVE_ACCOUNT: "active-account";
|
|
80
|
+
readonly ACTIVE_ACCOUNT_FILTERS: "active-account-filters";
|
|
81
|
+
};
|
|
82
|
+
export type PersistentCacheKeys = (typeof PersistentCacheKeys)[keyof typeof PersistentCacheKeys];
|
|
83
|
+
/**
|
|
84
|
+
* String constants related to AAD Authority
|
|
85
|
+
*/
|
|
86
|
+
export declare const AADAuthorityConstants: {
|
|
87
|
+
readonly COMMON: "common";
|
|
88
|
+
readonly ORGANIZATIONS: "organizations";
|
|
89
|
+
readonly CONSUMERS: "consumers";
|
|
90
|
+
};
|
|
91
|
+
export type AADAuthorityConstants = (typeof AADAuthorityConstants)[keyof typeof AADAuthorityConstants];
|
|
92
|
+
/**
|
|
93
|
+
* Keys in the hashParams sent by AAD Server
|
|
94
|
+
*/
|
|
95
|
+
export declare const AADServerParamKeys: {
|
|
96
|
+
readonly CLIENT_ID: "client_id";
|
|
97
|
+
readonly REDIRECT_URI: "redirect_uri";
|
|
98
|
+
readonly RESPONSE_TYPE: "response_type";
|
|
99
|
+
readonly RESPONSE_MODE: "response_mode";
|
|
100
|
+
readonly GRANT_TYPE: "grant_type";
|
|
101
|
+
readonly CLAIMS: "claims";
|
|
102
|
+
readonly SCOPE: "scope";
|
|
103
|
+
readonly ERROR: "error";
|
|
104
|
+
readonly ERROR_DESCRIPTION: "error_description";
|
|
105
|
+
readonly ACCESS_TOKEN: "access_token";
|
|
106
|
+
readonly ID_TOKEN: "id_token";
|
|
107
|
+
readonly REFRESH_TOKEN: "refresh_token";
|
|
108
|
+
readonly EXPIRES_IN: "expires_in";
|
|
109
|
+
readonly STATE: "state";
|
|
110
|
+
readonly NONCE: "nonce";
|
|
111
|
+
readonly PROMPT: "prompt";
|
|
112
|
+
readonly SESSION_STATE: "session_state";
|
|
113
|
+
readonly CLIENT_INFO: "client_info";
|
|
114
|
+
readonly CODE: "code";
|
|
115
|
+
readonly CODE_CHALLENGE: "code_challenge";
|
|
116
|
+
readonly CODE_CHALLENGE_METHOD: "code_challenge_method";
|
|
117
|
+
readonly CODE_VERIFIER: "code_verifier";
|
|
118
|
+
readonly CLIENT_REQUEST_ID: "client-request-id";
|
|
119
|
+
readonly X_CLIENT_SKU: "x-client-SKU";
|
|
120
|
+
readonly X_CLIENT_VER: "x-client-VER";
|
|
121
|
+
readonly X_CLIENT_OS: "x-client-OS";
|
|
122
|
+
readonly X_CLIENT_CPU: "x-client-CPU";
|
|
123
|
+
readonly X_CLIENT_CURR_TELEM: "x-client-current-telemetry";
|
|
124
|
+
readonly X_CLIENT_LAST_TELEM: "x-client-last-telemetry";
|
|
125
|
+
readonly X_MS_LIB_CAPABILITY: "x-ms-lib-capability";
|
|
126
|
+
readonly X_APP_NAME: "x-app-name";
|
|
127
|
+
readonly X_APP_VER: "x-app-ver";
|
|
128
|
+
readonly POST_LOGOUT_URI: "post_logout_redirect_uri";
|
|
129
|
+
readonly ID_TOKEN_HINT: "id_token_hint";
|
|
130
|
+
readonly DEVICE_CODE: "device_code";
|
|
131
|
+
readonly CLIENT_SECRET: "client_secret";
|
|
132
|
+
readonly CLIENT_ASSERTION: "client_assertion";
|
|
133
|
+
readonly CLIENT_ASSERTION_TYPE: "client_assertion_type";
|
|
134
|
+
readonly TOKEN_TYPE: "token_type";
|
|
135
|
+
readonly REQ_CNF: "req_cnf";
|
|
136
|
+
readonly OBO_ASSERTION: "assertion";
|
|
137
|
+
readonly REQUESTED_TOKEN_USE: "requested_token_use";
|
|
138
|
+
readonly ON_BEHALF_OF: "on_behalf_of";
|
|
139
|
+
readonly FOCI: "foci";
|
|
140
|
+
readonly CCS_HEADER: "X-AnchorMailbox";
|
|
141
|
+
readonly RETURN_SPA_CODE: "return_spa_code";
|
|
142
|
+
readonly NATIVE_BROKER: "nativebroker";
|
|
143
|
+
readonly LOGOUT_HINT: "logout_hint";
|
|
144
|
+
};
|
|
145
|
+
export type AADServerParamKeys = (typeof AADServerParamKeys)[keyof typeof AADServerParamKeys];
|
|
146
|
+
/**
|
|
147
|
+
* Claims request keys
|
|
148
|
+
*/
|
|
149
|
+
export declare const ClaimsRequestKeys: {
|
|
150
|
+
readonly ACCESS_TOKEN: "access_token";
|
|
151
|
+
readonly XMS_CC: "xms_cc";
|
|
152
|
+
};
|
|
153
|
+
export type ClaimsRequestKeys = (typeof ClaimsRequestKeys)[keyof typeof ClaimsRequestKeys];
|
|
154
|
+
/**
|
|
155
|
+
* we considered making this "enum" in the request instead of string, however it looks like the allowed list of
|
|
156
|
+
* prompt values kept changing over past couple of years. There are some undocumented prompt values for some
|
|
157
|
+
* internal partners too, hence the choice of generic "string" type instead of the "enum"
|
|
158
|
+
*/
|
|
159
|
+
export declare const PromptValue: {
|
|
160
|
+
LOGIN: string;
|
|
161
|
+
SELECT_ACCOUNT: string;
|
|
162
|
+
CONSENT: string;
|
|
163
|
+
NONE: string;
|
|
164
|
+
CREATE: string;
|
|
165
|
+
NO_SESSION: string;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* SSO Types - generated to populate hints
|
|
169
|
+
*/
|
|
170
|
+
export declare const SSOTypes: {
|
|
171
|
+
readonly ACCOUNT: "account";
|
|
172
|
+
readonly SID: "sid";
|
|
173
|
+
readonly LOGIN_HINT: "login_hint";
|
|
174
|
+
readonly ID_TOKEN: "id_token";
|
|
175
|
+
readonly DOMAIN_HINT: "domain_hint";
|
|
176
|
+
readonly ORGANIZATIONS: "organizations";
|
|
177
|
+
readonly CONSUMERS: "consumers";
|
|
178
|
+
readonly ACCOUNT_ID: "accountIdentifier";
|
|
179
|
+
readonly HOMEACCOUNT_ID: "homeAccountIdentifier";
|
|
180
|
+
};
|
|
181
|
+
export type SSOTypes = (typeof SSOTypes)[keyof typeof SSOTypes];
|
|
182
|
+
/**
|
|
183
|
+
* allowed values for codeVerifier
|
|
184
|
+
*/
|
|
185
|
+
export declare const CodeChallengeMethodValues: {
|
|
186
|
+
PLAIN: string;
|
|
187
|
+
S256: string;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* allowed values for server response type
|
|
191
|
+
*/
|
|
192
|
+
export declare const ServerResponseType: {
|
|
193
|
+
readonly QUERY: "query";
|
|
194
|
+
readonly FRAGMENT: "fragment";
|
|
195
|
+
};
|
|
196
|
+
export type ServerResponseType = (typeof ServerResponseType)[keyof typeof ServerResponseType];
|
|
197
|
+
/**
|
|
198
|
+
* allowed values for response_mode
|
|
199
|
+
*/
|
|
200
|
+
export declare const ResponseMode: {
|
|
201
|
+
readonly FORM_POST: "form_post";
|
|
202
|
+
readonly QUERY: "query";
|
|
203
|
+
readonly FRAGMENT: "fragment";
|
|
204
|
+
};
|
|
205
|
+
export type ResponseMode = (typeof ResponseMode)[keyof typeof ResponseMode];
|
|
206
|
+
/**
|
|
207
|
+
* allowed grant_type
|
|
208
|
+
*/
|
|
209
|
+
export declare const GrantType: {
|
|
210
|
+
readonly IMPLICIT_GRANT: "implicit";
|
|
211
|
+
readonly AUTHORIZATION_CODE_GRANT: "authorization_code";
|
|
212
|
+
readonly CLIENT_CREDENTIALS_GRANT: "client_credentials";
|
|
213
|
+
readonly RESOURCE_OWNER_PASSWORD_GRANT: "password";
|
|
214
|
+
readonly REFRESH_TOKEN_GRANT: "refresh_token";
|
|
215
|
+
readonly DEVICE_CODE_GRANT: "device_code";
|
|
216
|
+
readonly JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer";
|
|
217
|
+
};
|
|
218
|
+
export type GrantType = (typeof GrantType)[keyof typeof GrantType];
|
|
219
|
+
/**
|
|
220
|
+
* Account types in Cache
|
|
221
|
+
*/
|
|
222
|
+
export declare const CacheAccountType: {
|
|
223
|
+
readonly MSSTS_ACCOUNT_TYPE: "MSSTS";
|
|
224
|
+
readonly ADFS_ACCOUNT_TYPE: "ADFS";
|
|
225
|
+
readonly MSAV1_ACCOUNT_TYPE: "MSA";
|
|
226
|
+
readonly GENERIC_ACCOUNT_TYPE: "Generic";
|
|
227
|
+
};
|
|
228
|
+
export type CacheAccountType = (typeof CacheAccountType)[keyof typeof CacheAccountType];
|
|
229
|
+
/**
|
|
230
|
+
* Separators used in cache
|
|
231
|
+
*/
|
|
232
|
+
export declare const Separators: {
|
|
233
|
+
readonly CACHE_KEY_SEPARATOR: "-";
|
|
234
|
+
readonly CLIENT_INFO_SEPARATOR: ".";
|
|
235
|
+
};
|
|
236
|
+
export type Separators = (typeof Separators)[keyof typeof Separators];
|
|
237
|
+
/**
|
|
238
|
+
* Credential Type stored in the cache
|
|
239
|
+
*/
|
|
240
|
+
export declare const CredentialType: {
|
|
241
|
+
readonly ID_TOKEN: "IdToken";
|
|
242
|
+
readonly ACCESS_TOKEN: "AccessToken";
|
|
243
|
+
readonly ACCESS_TOKEN_WITH_AUTH_SCHEME: "AccessToken_With_AuthScheme";
|
|
244
|
+
readonly REFRESH_TOKEN: "RefreshToken";
|
|
245
|
+
};
|
|
246
|
+
export type CredentialType = (typeof CredentialType)[keyof typeof CredentialType];
|
|
247
|
+
/**
|
|
248
|
+
* Combine all cache types
|
|
249
|
+
*/
|
|
250
|
+
export declare const CacheType: {
|
|
251
|
+
readonly ADFS: 1001;
|
|
252
|
+
readonly MSA: 1002;
|
|
253
|
+
readonly MSSTS: 1003;
|
|
254
|
+
readonly GENERIC: 1004;
|
|
255
|
+
readonly ACCESS_TOKEN: 2001;
|
|
256
|
+
readonly REFRESH_TOKEN: 2002;
|
|
257
|
+
readonly ID_TOKEN: 2003;
|
|
258
|
+
readonly APP_METADATA: 3001;
|
|
259
|
+
readonly UNDEFINED: 9999;
|
|
260
|
+
};
|
|
261
|
+
export type CacheType = (typeof CacheType)[keyof typeof CacheType];
|
|
262
|
+
/**
|
|
263
|
+
* More Cache related constants
|
|
264
|
+
*/
|
|
265
|
+
export declare const APP_METADATA = "appmetadata";
|
|
266
|
+
export declare const CLIENT_INFO = "client_info";
|
|
267
|
+
export declare const THE_FAMILY_ID = "1";
|
|
268
|
+
export declare const AUTHORITY_METADATA_CONSTANTS: {
|
|
269
|
+
CACHE_KEY: string;
|
|
270
|
+
REFRESH_TIME_SECONDS: number;
|
|
271
|
+
};
|
|
272
|
+
export declare const AuthorityMetadataSource: {
|
|
273
|
+
readonly CONFIG: "config";
|
|
274
|
+
readonly CACHE: "cache";
|
|
275
|
+
readonly NETWORK: "network";
|
|
276
|
+
readonly HARDCODED_VALUES: "hardcoded_values";
|
|
277
|
+
};
|
|
278
|
+
export type AuthorityMetadataSource = (typeof AuthorityMetadataSource)[keyof typeof AuthorityMetadataSource];
|
|
279
|
+
export declare const SERVER_TELEM_CONSTANTS: {
|
|
280
|
+
SCHEMA_VERSION: number;
|
|
281
|
+
MAX_CUR_HEADER_BYTES: number;
|
|
282
|
+
MAX_LAST_HEADER_BYTES: number;
|
|
283
|
+
MAX_CACHED_ERRORS: number;
|
|
284
|
+
CACHE_KEY: string;
|
|
285
|
+
CATEGORY_SEPARATOR: string;
|
|
286
|
+
VALUE_SEPARATOR: string;
|
|
287
|
+
OVERFLOW_TRUE: string;
|
|
288
|
+
OVERFLOW_FALSE: string;
|
|
289
|
+
UNKNOWN_ERROR: string;
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
* Type of the authentication request
|
|
293
|
+
*/
|
|
294
|
+
export declare const AuthenticationScheme: {
|
|
295
|
+
readonly BEARER: "Bearer";
|
|
296
|
+
readonly POP: "pop";
|
|
297
|
+
readonly SSH: "ssh-cert";
|
|
298
|
+
};
|
|
299
|
+
export type AuthenticationScheme = (typeof AuthenticationScheme)[keyof typeof AuthenticationScheme];
|
|
300
|
+
/**
|
|
301
|
+
* Constants related to throttling
|
|
302
|
+
*/
|
|
303
|
+
export declare const ThrottlingConstants: {
|
|
304
|
+
DEFAULT_THROTTLE_TIME_SECONDS: number;
|
|
305
|
+
DEFAULT_MAX_THROTTLE_TIME_SECONDS: number;
|
|
306
|
+
THROTTLING_PREFIX: string;
|
|
307
|
+
X_MS_LIB_CAPABILITY_VALUE: string;
|
|
308
|
+
};
|
|
309
|
+
export declare const Errors: {
|
|
310
|
+
INVALID_GRANT_ERROR: string;
|
|
311
|
+
CLIENT_MISMATCH_ERROR: string;
|
|
312
|
+
};
|
|
313
|
+
/**
|
|
314
|
+
* Password grant parameters
|
|
315
|
+
*/
|
|
316
|
+
export declare const PasswordGrantConstants: {
|
|
317
|
+
readonly username: "username";
|
|
318
|
+
readonly password: "password";
|
|
319
|
+
};
|
|
320
|
+
export type PasswordGrantConstants = (typeof PasswordGrantConstants)[keyof typeof PasswordGrantConstants];
|
|
321
|
+
/**
|
|
322
|
+
* Response codes
|
|
323
|
+
*/
|
|
324
|
+
export declare const ResponseCodes: {
|
|
325
|
+
readonly httpSuccess: 200;
|
|
326
|
+
readonly httpBadRequest: 400;
|
|
327
|
+
};
|
|
328
|
+
export type ResponseCodes = (typeof ResponseCodes)[keyof typeof ResponseCodes];
|
|
329
|
+
/**
|
|
330
|
+
* Region Discovery Sources
|
|
331
|
+
*/
|
|
332
|
+
export declare const RegionDiscoverySources: {
|
|
333
|
+
readonly FAILED_AUTO_DETECTION: "1";
|
|
334
|
+
readonly INTERNAL_CACHE: "2";
|
|
335
|
+
readonly ENVIRONMENT_VARIABLE: "3";
|
|
336
|
+
readonly IMDS: "4";
|
|
337
|
+
};
|
|
338
|
+
export type RegionDiscoverySources = (typeof RegionDiscoverySources)[keyof typeof RegionDiscoverySources];
|
|
339
|
+
/**
|
|
340
|
+
* Region Discovery Outcomes
|
|
341
|
+
*/
|
|
342
|
+
export declare const RegionDiscoveryOutcomes: {
|
|
343
|
+
readonly CONFIGURED_MATCHES_DETECTED: "1";
|
|
344
|
+
readonly CONFIGURED_NO_AUTO_DETECTION: "2";
|
|
345
|
+
readonly CONFIGURED_NOT_DETECTED: "3";
|
|
346
|
+
readonly AUTO_DETECTION_REQUESTED_SUCCESSFUL: "4";
|
|
347
|
+
readonly AUTO_DETECTION_REQUESTED_FAILED: "5";
|
|
348
|
+
};
|
|
349
|
+
export type RegionDiscoveryOutcomes = (typeof RegionDiscoveryOutcomes)[keyof typeof RegionDiscoveryOutcomes];
|
|
350
|
+
/**
|
|
351
|
+
* Specifies the reason for fetching the access token from the identity provider
|
|
352
|
+
*/
|
|
353
|
+
export declare const CacheOutcome: {
|
|
354
|
+
readonly NOT_APPLICABLE: "0";
|
|
355
|
+
readonly FORCE_REFRESH_OR_CLAIMS: "1";
|
|
356
|
+
readonly NO_CACHED_ACCESS_TOKEN: "2";
|
|
357
|
+
readonly CACHED_ACCESS_TOKEN_EXPIRED: "3";
|
|
358
|
+
readonly PROACTIVELY_REFRESHED: "4";
|
|
359
|
+
};
|
|
360
|
+
export type CacheOutcome = (typeof CacheOutcome)[keyof typeof CacheOutcome];
|
|
361
|
+
export declare const JsonTypes: {
|
|
362
|
+
readonly Jwt: "JWT";
|
|
363
|
+
readonly Jwk: "JWK";
|
|
364
|
+
readonly Pop: "pop";
|
|
365
|
+
};
|
|
366
|
+
export type JsonTypes = (typeof JsonTypes)[keyof typeof JsonTypes];
|
|
367
|
+
export declare const ONE_DAY_IN_MS = 86400000;
|
|
368
|
+
export declare const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
367
369
|
//# sourceMappingURL=Constants.d.ts.map
|