@azure/msal-browser 3.7.0 → 3.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientNext.mjs +1 -1
- package/dist/broker/nativeBroker/NativeMessageHandler.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.mjs +1 -1
- package/dist/cache/BrowserStorage.mjs +1 -1
- package/dist/cache/CryptoKeyStore.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.mjs +3 -2
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/controllers/ControllerFactory.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +9 -3
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +4 -7
- package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/NativeInteractionClient.mjs +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +2 -2
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/RedirectHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/TeamsAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/request/SilentRequest.d.ts +1 -0
- package/dist/request/SilentRequest.d.ts.map +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/lib/msal-browser.cjs +126 -599
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +126 -599
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +66 -66
- package/package.json +2 -2
- package/src/cache/TokenCache.ts +3 -1
- package/src/controllers/StandardController.ts +8 -2
- package/src/interaction_client/BaseInteractionClient.ts +6 -18
- package/src/interaction_client/StandardInteractionClient.ts +2 -2
- package/src/packageMetadata.ts +1 -1
- package/src/request/SilentRequest.ts +1 -0
package/lib/msal-browser.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v3.7.
|
|
1
|
+
/*! @azure/msal-browser v3.7.1 2024-01-23 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v14.6.
|
|
5
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6
6
|
/*
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
8
|
* Licensed under the MIT License.
|
|
@@ -297,7 +297,7 @@ const JsonWebTokenTypes = {
|
|
|
297
297
|
Pop: "pop",
|
|
298
298
|
};
|
|
299
299
|
|
|
300
|
-
/*! @azure/msal-common v14.6.
|
|
300
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
301
301
|
/*
|
|
302
302
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
303
303
|
* Licensed under the MIT License.
|
|
@@ -314,7 +314,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
314
314
|
unexpectedError: unexpectedError
|
|
315
315
|
});
|
|
316
316
|
|
|
317
|
-
/*! @azure/msal-common v14.6.
|
|
317
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
318
318
|
|
|
319
319
|
/*
|
|
320
320
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -363,7 +363,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
363
363
|
: AuthErrorMessages[code]);
|
|
364
364
|
}
|
|
365
365
|
|
|
366
|
-
/*! @azure/msal-common v14.6.
|
|
366
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
367
367
|
/*
|
|
368
368
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
369
369
|
* Licensed under the MIT License.
|
|
@@ -461,7 +461,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
461
461
|
userTimeoutReached: userTimeoutReached
|
|
462
462
|
});
|
|
463
463
|
|
|
464
|
-
/*! @azure/msal-common v14.6.
|
|
464
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
465
465
|
|
|
466
466
|
/*
|
|
467
467
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -713,7 +713,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
713
713
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
714
714
|
}
|
|
715
715
|
|
|
716
|
-
/*! @azure/msal-common v14.6.
|
|
716
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
717
717
|
|
|
718
718
|
/*
|
|
719
719
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -746,7 +746,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
746
746
|
},
|
|
747
747
|
};
|
|
748
748
|
|
|
749
|
-
/*! @azure/msal-common v14.6.
|
|
749
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
750
750
|
|
|
751
751
|
/*
|
|
752
752
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -937,12 +937,12 @@ class Logger {
|
|
|
937
937
|
}
|
|
938
938
|
}
|
|
939
939
|
|
|
940
|
-
/*! @azure/msal-common v14.6.
|
|
940
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
941
941
|
/* eslint-disable header/header */
|
|
942
942
|
const name$1 = "@azure/msal-common";
|
|
943
|
-
const version$1 = "14.6.
|
|
943
|
+
const version$1 = "14.6.1";
|
|
944
944
|
|
|
945
|
-
/*! @azure/msal-common v14.6.
|
|
945
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
946
946
|
/*
|
|
947
947
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
948
948
|
* Licensed under the MIT License.
|
|
@@ -962,7 +962,7 @@ const AzureCloudInstance = {
|
|
|
962
962
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
963
963
|
};
|
|
964
964
|
|
|
965
|
-
/*! @azure/msal-common v14.6.
|
|
965
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
966
966
|
|
|
967
967
|
/*
|
|
968
968
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1023,7 +1023,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1023
1023
|
}
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
|
-
/*! @azure/msal-common v14.6.
|
|
1026
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1027
1027
|
/*
|
|
1028
1028
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1029
1029
|
* Licensed under the MIT License.
|
|
@@ -1070,7 +1070,7 @@ class TimeUtils {
|
|
|
1070
1070
|
}
|
|
1071
1071
|
}
|
|
1072
1072
|
|
|
1073
|
-
/*! @azure/msal-common v14.6.
|
|
1073
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1074
1074
|
|
|
1075
1075
|
/*
|
|
1076
1076
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1397,7 +1397,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
1397
1397
|
return metadata.expiresAt <= TimeUtils.nowSeconds();
|
|
1398
1398
|
}
|
|
1399
1399
|
|
|
1400
|
-
/*! @azure/msal-common v14.6.
|
|
1400
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1401
1401
|
/*
|
|
1402
1402
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1403
1403
|
* Licensed under the MIT License.
|
|
@@ -1451,7 +1451,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1451
1451
|
urlParseError: urlParseError
|
|
1452
1452
|
});
|
|
1453
1453
|
|
|
1454
|
-
/*! @azure/msal-common v14.6.
|
|
1454
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1455
1455
|
|
|
1456
1456
|
/*
|
|
1457
1457
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1589,7 +1589,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
1589
1589
|
return new ClientConfigurationError(errorCode);
|
|
1590
1590
|
}
|
|
1591
1591
|
|
|
1592
|
-
/*! @azure/msal-common v14.6.
|
|
1592
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1593
1593
|
/*
|
|
1594
1594
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1595
1595
|
* Licensed under the MIT License.
|
|
@@ -1686,7 +1686,7 @@ class StringUtils {
|
|
|
1686
1686
|
}
|
|
1687
1687
|
}
|
|
1688
1688
|
|
|
1689
|
-
/*! @azure/msal-common v14.6.
|
|
1689
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1690
1690
|
|
|
1691
1691
|
/*
|
|
1692
1692
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1886,7 +1886,7 @@ class ScopeSet {
|
|
|
1886
1886
|
}
|
|
1887
1887
|
}
|
|
1888
1888
|
|
|
1889
|
-
/*! @azure/msal-common v14.6.
|
|
1889
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1890
1890
|
|
|
1891
1891
|
/*
|
|
1892
1892
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1926,7 +1926,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
1926
1926
|
};
|
|
1927
1927
|
}
|
|
1928
1928
|
|
|
1929
|
-
/*! @azure/msal-common v14.6.
|
|
1929
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1930
1930
|
/*
|
|
1931
1931
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1932
1932
|
* Licensed under the MIT License.
|
|
@@ -1987,7 +1987,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1987
1987
|
return updatedAccountInfo;
|
|
1988
1988
|
}
|
|
1989
1989
|
|
|
1990
|
-
/*! @azure/msal-common v14.6.
|
|
1990
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1991
1991
|
/*
|
|
1992
1992
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1993
1993
|
* Licensed under the MIT License.
|
|
@@ -2002,7 +2002,7 @@ const AuthorityType = {
|
|
|
2002
2002
|
Ciam: 3,
|
|
2003
2003
|
};
|
|
2004
2004
|
|
|
2005
|
-
/*! @azure/msal-common v14.6.
|
|
2005
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
2006
2006
|
/*
|
|
2007
2007
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2008
2008
|
* Licensed under the MIT License.
|
|
@@ -2024,7 +2024,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2024
2024
|
return null;
|
|
2025
2025
|
}
|
|
2026
2026
|
|
|
2027
|
-
/*! @azure/msal-common v14.6.
|
|
2027
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
2028
2028
|
/*
|
|
2029
2029
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2030
2030
|
* Licensed under the MIT License.
|
|
@@ -2037,7 +2037,7 @@ const ProtocolMode = {
|
|
|
2037
2037
|
OIDC: "OIDC",
|
|
2038
2038
|
};
|
|
2039
2039
|
|
|
2040
|
-
/*! @azure/msal-common v14.6.
|
|
2040
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
2041
2041
|
|
|
2042
2042
|
/*
|
|
2043
2043
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2284,7 +2284,7 @@ class AccountEntity {
|
|
|
2284
2284
|
}
|
|
2285
2285
|
}
|
|
2286
2286
|
|
|
2287
|
-
/*! @azure/msal-common v14.6.
|
|
2287
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
2288
2288
|
|
|
2289
2289
|
/*
|
|
2290
2290
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2331,7 +2331,7 @@ function getDeserializedResponse(responseString) {
|
|
|
2331
2331
|
return null;
|
|
2332
2332
|
}
|
|
2333
2333
|
|
|
2334
|
-
/*! @azure/msal-common v14.6.
|
|
2334
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
2335
2335
|
|
|
2336
2336
|
/*
|
|
2337
2337
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2495,7 +2495,7 @@ class UrlString {
|
|
|
2495
2495
|
}
|
|
2496
2496
|
}
|
|
2497
2497
|
|
|
2498
|
-
/*! @azure/msal-common v14.6.
|
|
2498
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
2499
2499
|
|
|
2500
2500
|
/*
|
|
2501
2501
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2503,496 +2503,30 @@ class UrlString {
|
|
|
2503
2503
|
*/
|
|
2504
2504
|
const rawMetdataJSON = {
|
|
2505
2505
|
endpointMetadata: {
|
|
2506
|
-
"
|
|
2507
|
-
token_endpoint: "https://login.microsoftonline.com/
|
|
2508
|
-
|
|
2509
|
-
"client_secret_post",
|
|
2510
|
-
"private_key_jwt",
|
|
2511
|
-
"client_secret_basic",
|
|
2512
|
-
],
|
|
2513
|
-
jwks_uri: "https://login.microsoftonline.com/common/discovery/v2.0/keys",
|
|
2514
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2515
|
-
subject_types_supported: ["pairwise"],
|
|
2516
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2517
|
-
response_types_supported: [
|
|
2518
|
-
"code",
|
|
2519
|
-
"id_token",
|
|
2520
|
-
"code id_token",
|
|
2521
|
-
"id_token token",
|
|
2522
|
-
],
|
|
2523
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2524
|
-
issuer: "https://login.microsoftonline.com/{tenantid}/v2.0",
|
|
2525
|
-
request_uri_parameter_supported: false,
|
|
2526
|
-
userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo",
|
|
2527
|
-
authorization_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
|
|
2528
|
-
device_authorization_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/devicecode",
|
|
2529
|
-
http_logout_supported: true,
|
|
2530
|
-
frontchannel_logout_supported: true,
|
|
2531
|
-
end_session_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/logout",
|
|
2532
|
-
claims_supported: [
|
|
2533
|
-
"sub",
|
|
2534
|
-
"iss",
|
|
2535
|
-
"cloud_instance_name",
|
|
2536
|
-
"cloud_instance_host_name",
|
|
2537
|
-
"cloud_graph_host_name",
|
|
2538
|
-
"msgraph_host",
|
|
2539
|
-
"aud",
|
|
2540
|
-
"exp",
|
|
2541
|
-
"iat",
|
|
2542
|
-
"auth_time",
|
|
2543
|
-
"acr",
|
|
2544
|
-
"nonce",
|
|
2545
|
-
"preferred_username",
|
|
2546
|
-
"name",
|
|
2547
|
-
"tid",
|
|
2548
|
-
"ver",
|
|
2549
|
-
"at_hash",
|
|
2550
|
-
"c_hash",
|
|
2551
|
-
"email",
|
|
2552
|
-
],
|
|
2553
|
-
kerberos_endpoint: "https://login.microsoftonline.com/common/kerberos",
|
|
2554
|
-
tenant_region_scope: null,
|
|
2555
|
-
cloud_instance_name: "microsoftonline.com",
|
|
2556
|
-
cloud_graph_host_name: "graph.windows.net",
|
|
2557
|
-
msgraph_host: "graph.microsoft.com",
|
|
2558
|
-
rbac_url: "https://pas.windows.net",
|
|
2559
|
-
},
|
|
2560
|
-
"https://login.chinacloudapi.cn/common/": {
|
|
2561
|
-
token_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/token",
|
|
2562
|
-
token_endpoint_auth_methods_supported: [
|
|
2563
|
-
"client_secret_post",
|
|
2564
|
-
"private_key_jwt",
|
|
2565
|
-
"client_secret_basic",
|
|
2566
|
-
],
|
|
2567
|
-
jwks_uri: "https://login.chinacloudapi.cn/common/discovery/v2.0/keys",
|
|
2568
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2569
|
-
subject_types_supported: ["pairwise"],
|
|
2570
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2571
|
-
response_types_supported: [
|
|
2572
|
-
"code",
|
|
2573
|
-
"id_token",
|
|
2574
|
-
"code id_token",
|
|
2575
|
-
"id_token token",
|
|
2576
|
-
],
|
|
2577
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2578
|
-
issuer: "https://login.partner.microsoftonline.cn/{tenantid}/v2.0",
|
|
2579
|
-
request_uri_parameter_supported: false,
|
|
2580
|
-
userinfo_endpoint: "https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",
|
|
2581
|
-
authorization_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/authorize",
|
|
2582
|
-
device_authorization_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/devicecode",
|
|
2583
|
-
http_logout_supported: true,
|
|
2584
|
-
frontchannel_logout_supported: true,
|
|
2585
|
-
end_session_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/logout",
|
|
2586
|
-
claims_supported: [
|
|
2587
|
-
"sub",
|
|
2588
|
-
"iss",
|
|
2589
|
-
"cloud_instance_name",
|
|
2590
|
-
"cloud_instance_host_name",
|
|
2591
|
-
"cloud_graph_host_name",
|
|
2592
|
-
"msgraph_host",
|
|
2593
|
-
"aud",
|
|
2594
|
-
"exp",
|
|
2595
|
-
"iat",
|
|
2596
|
-
"auth_time",
|
|
2597
|
-
"acr",
|
|
2598
|
-
"nonce",
|
|
2599
|
-
"preferred_username",
|
|
2600
|
-
"name",
|
|
2601
|
-
"tid",
|
|
2602
|
-
"ver",
|
|
2603
|
-
"at_hash",
|
|
2604
|
-
"c_hash",
|
|
2605
|
-
"email",
|
|
2606
|
-
],
|
|
2607
|
-
kerberos_endpoint: "https://login.chinacloudapi.cn/common/kerberos",
|
|
2608
|
-
tenant_region_scope: null,
|
|
2609
|
-
cloud_instance_name: "partner.microsoftonline.cn",
|
|
2610
|
-
cloud_graph_host_name: "graph.chinacloudapi.cn",
|
|
2611
|
-
msgraph_host: "microsoftgraph.chinacloudapi.cn",
|
|
2612
|
-
rbac_url: "https://pas.chinacloudapi.cn",
|
|
2613
|
-
},
|
|
2614
|
-
"https://login.microsoftonline.us/common/": {
|
|
2615
|
-
token_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/token",
|
|
2616
|
-
token_endpoint_auth_methods_supported: [
|
|
2617
|
-
"client_secret_post",
|
|
2618
|
-
"private_key_jwt",
|
|
2619
|
-
"client_secret_basic",
|
|
2620
|
-
],
|
|
2621
|
-
jwks_uri: "https://login.microsoftonline.us/common/discovery/v2.0/keys",
|
|
2622
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2623
|
-
subject_types_supported: ["pairwise"],
|
|
2624
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2625
|
-
response_types_supported: [
|
|
2626
|
-
"code",
|
|
2627
|
-
"id_token",
|
|
2628
|
-
"code id_token",
|
|
2629
|
-
"id_token token",
|
|
2630
|
-
],
|
|
2631
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2632
|
-
issuer: "https://login.microsoftonline.us/{tenantid}/v2.0",
|
|
2633
|
-
request_uri_parameter_supported: false,
|
|
2634
|
-
userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo",
|
|
2635
|
-
authorization_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/authorize",
|
|
2636
|
-
device_authorization_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/devicecode",
|
|
2637
|
-
http_logout_supported: true,
|
|
2638
|
-
frontchannel_logout_supported: true,
|
|
2639
|
-
end_session_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/logout",
|
|
2640
|
-
claims_supported: [
|
|
2641
|
-
"sub",
|
|
2642
|
-
"iss",
|
|
2643
|
-
"cloud_instance_name",
|
|
2644
|
-
"cloud_instance_host_name",
|
|
2645
|
-
"cloud_graph_host_name",
|
|
2646
|
-
"msgraph_host",
|
|
2647
|
-
"aud",
|
|
2648
|
-
"exp",
|
|
2649
|
-
"iat",
|
|
2650
|
-
"auth_time",
|
|
2651
|
-
"acr",
|
|
2652
|
-
"nonce",
|
|
2653
|
-
"preferred_username",
|
|
2654
|
-
"name",
|
|
2655
|
-
"tid",
|
|
2656
|
-
"ver",
|
|
2657
|
-
"at_hash",
|
|
2658
|
-
"c_hash",
|
|
2659
|
-
"email",
|
|
2660
|
-
],
|
|
2661
|
-
kerberos_endpoint: "https://login.microsoftonline.us/common/kerberos",
|
|
2662
|
-
tenant_region_scope: null,
|
|
2663
|
-
cloud_instance_name: "microsoftonline.us",
|
|
2664
|
-
cloud_graph_host_name: "graph.windows.net",
|
|
2665
|
-
msgraph_host: "graph.microsoft.com",
|
|
2666
|
-
rbac_url: "https://pasff.usgovcloudapi.net",
|
|
2667
|
-
},
|
|
2668
|
-
"https://login.microsoftonline.com/consumers/": {
|
|
2669
|
-
token_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/token",
|
|
2670
|
-
token_endpoint_auth_methods_supported: [
|
|
2671
|
-
"client_secret_post",
|
|
2672
|
-
"private_key_jwt",
|
|
2673
|
-
"client_secret_basic",
|
|
2674
|
-
],
|
|
2675
|
-
jwks_uri: "https://login.microsoftonline.com/consumers/discovery/v2.0/keys",
|
|
2676
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2677
|
-
subject_types_supported: ["pairwise"],
|
|
2678
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2679
|
-
response_types_supported: [
|
|
2680
|
-
"code",
|
|
2681
|
-
"id_token",
|
|
2682
|
-
"code id_token",
|
|
2683
|
-
"id_token token",
|
|
2684
|
-
],
|
|
2685
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2686
|
-
issuer: "https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",
|
|
2687
|
-
request_uri_parameter_supported: false,
|
|
2688
|
-
userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo",
|
|
2689
|
-
authorization_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize",
|
|
2690
|
-
device_authorization_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/devicecode",
|
|
2691
|
-
http_logout_supported: true,
|
|
2692
|
-
frontchannel_logout_supported: true,
|
|
2693
|
-
end_session_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/logout",
|
|
2694
|
-
claims_supported: [
|
|
2695
|
-
"sub",
|
|
2696
|
-
"iss",
|
|
2697
|
-
"cloud_instance_name",
|
|
2698
|
-
"cloud_instance_host_name",
|
|
2699
|
-
"cloud_graph_host_name",
|
|
2700
|
-
"msgraph_host",
|
|
2701
|
-
"aud",
|
|
2702
|
-
"exp",
|
|
2703
|
-
"iat",
|
|
2704
|
-
"auth_time",
|
|
2705
|
-
"acr",
|
|
2706
|
-
"nonce",
|
|
2707
|
-
"preferred_username",
|
|
2708
|
-
"name",
|
|
2709
|
-
"tid",
|
|
2710
|
-
"ver",
|
|
2711
|
-
"at_hash",
|
|
2712
|
-
"c_hash",
|
|
2713
|
-
"email",
|
|
2714
|
-
],
|
|
2715
|
-
kerberos_endpoint: "https://login.microsoftonline.com/consumers/kerberos",
|
|
2716
|
-
tenant_region_scope: null,
|
|
2717
|
-
cloud_instance_name: "microsoftonline.com",
|
|
2718
|
-
cloud_graph_host_name: "graph.windows.net",
|
|
2719
|
-
msgraph_host: "graph.microsoft.com",
|
|
2720
|
-
rbac_url: "https://pas.windows.net",
|
|
2721
|
-
},
|
|
2722
|
-
"https://login.chinacloudapi.cn/consumers/": {
|
|
2723
|
-
token_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/token",
|
|
2724
|
-
token_endpoint_auth_methods_supported: [
|
|
2725
|
-
"client_secret_post",
|
|
2726
|
-
"private_key_jwt",
|
|
2727
|
-
"client_secret_basic",
|
|
2728
|
-
],
|
|
2729
|
-
jwks_uri: "https://login.chinacloudapi.cn/consumers/discovery/v2.0/keys",
|
|
2730
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2731
|
-
subject_types_supported: ["pairwise"],
|
|
2732
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2733
|
-
response_types_supported: [
|
|
2734
|
-
"code",
|
|
2735
|
-
"id_token",
|
|
2736
|
-
"code id_token",
|
|
2737
|
-
"id_token token",
|
|
2738
|
-
],
|
|
2739
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2740
|
-
issuer: "https://login.partner.microsoftonline.cn/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",
|
|
2741
|
-
request_uri_parameter_supported: false,
|
|
2742
|
-
userinfo_endpoint: "https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",
|
|
2743
|
-
authorization_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/authorize",
|
|
2744
|
-
device_authorization_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/devicecode",
|
|
2745
|
-
http_logout_supported: true,
|
|
2746
|
-
frontchannel_logout_supported: true,
|
|
2747
|
-
end_session_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/logout",
|
|
2748
|
-
claims_supported: [
|
|
2749
|
-
"sub",
|
|
2750
|
-
"iss",
|
|
2751
|
-
"cloud_instance_name",
|
|
2752
|
-
"cloud_instance_host_name",
|
|
2753
|
-
"cloud_graph_host_name",
|
|
2754
|
-
"msgraph_host",
|
|
2755
|
-
"aud",
|
|
2756
|
-
"exp",
|
|
2757
|
-
"iat",
|
|
2758
|
-
"auth_time",
|
|
2759
|
-
"acr",
|
|
2760
|
-
"nonce",
|
|
2761
|
-
"preferred_username",
|
|
2762
|
-
"name",
|
|
2763
|
-
"tid",
|
|
2764
|
-
"ver",
|
|
2765
|
-
"at_hash",
|
|
2766
|
-
"c_hash",
|
|
2767
|
-
"email",
|
|
2768
|
-
],
|
|
2769
|
-
kerberos_endpoint: "https://login.chinacloudapi.cn/consumers/kerberos",
|
|
2770
|
-
tenant_region_scope: null,
|
|
2771
|
-
cloud_instance_name: "partner.microsoftonline.cn",
|
|
2772
|
-
cloud_graph_host_name: "graph.chinacloudapi.cn",
|
|
2773
|
-
msgraph_host: "microsoftgraph.chinacloudapi.cn",
|
|
2774
|
-
rbac_url: "https://pas.chinacloudapi.cn",
|
|
2775
|
-
},
|
|
2776
|
-
"https://login.microsoftonline.us/consumers/": {
|
|
2777
|
-
token_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/token",
|
|
2778
|
-
token_endpoint_auth_methods_supported: [
|
|
2779
|
-
"client_secret_post",
|
|
2780
|
-
"private_key_jwt",
|
|
2781
|
-
"client_secret_basic",
|
|
2782
|
-
],
|
|
2783
|
-
jwks_uri: "https://login.microsoftonline.us/consumers/discovery/v2.0/keys",
|
|
2784
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2785
|
-
subject_types_supported: ["pairwise"],
|
|
2786
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2787
|
-
response_types_supported: [
|
|
2788
|
-
"code",
|
|
2789
|
-
"id_token",
|
|
2790
|
-
"code id_token",
|
|
2791
|
-
"id_token token",
|
|
2792
|
-
],
|
|
2793
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2794
|
-
issuer: "https://login.microsoftonline.us/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",
|
|
2795
|
-
request_uri_parameter_supported: false,
|
|
2796
|
-
userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo",
|
|
2797
|
-
authorization_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/authorize",
|
|
2798
|
-
device_authorization_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/devicecode",
|
|
2799
|
-
http_logout_supported: true,
|
|
2800
|
-
frontchannel_logout_supported: true,
|
|
2801
|
-
end_session_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/logout",
|
|
2802
|
-
claims_supported: [
|
|
2803
|
-
"sub",
|
|
2804
|
-
"iss",
|
|
2805
|
-
"cloud_instance_name",
|
|
2806
|
-
"cloud_instance_host_name",
|
|
2807
|
-
"cloud_graph_host_name",
|
|
2808
|
-
"msgraph_host",
|
|
2809
|
-
"aud",
|
|
2810
|
-
"exp",
|
|
2811
|
-
"iat",
|
|
2812
|
-
"auth_time",
|
|
2813
|
-
"acr",
|
|
2814
|
-
"nonce",
|
|
2815
|
-
"preferred_username",
|
|
2816
|
-
"name",
|
|
2817
|
-
"tid",
|
|
2818
|
-
"ver",
|
|
2819
|
-
"at_hash",
|
|
2820
|
-
"c_hash",
|
|
2821
|
-
"email",
|
|
2822
|
-
],
|
|
2823
|
-
kerberos_endpoint: "https://login.microsoftonline.us/consumers/kerberos",
|
|
2824
|
-
tenant_region_scope: null,
|
|
2825
|
-
cloud_instance_name: "microsoftonline.us",
|
|
2826
|
-
cloud_graph_host_name: "graph.windows.net",
|
|
2827
|
-
msgraph_host: "graph.microsoft.com",
|
|
2828
|
-
rbac_url: "https://pasff.usgovcloudapi.net",
|
|
2829
|
-
},
|
|
2830
|
-
"https://login.microsoftonline.com/organizations/": {
|
|
2831
|
-
token_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
|
|
2832
|
-
token_endpoint_auth_methods_supported: [
|
|
2833
|
-
"client_secret_post",
|
|
2834
|
-
"private_key_jwt",
|
|
2835
|
-
"client_secret_basic",
|
|
2836
|
-
],
|
|
2837
|
-
jwks_uri: "https://login.microsoftonline.com/organizations/discovery/v2.0/keys",
|
|
2838
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2839
|
-
subject_types_supported: ["pairwise"],
|
|
2840
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2841
|
-
response_types_supported: [
|
|
2842
|
-
"code",
|
|
2843
|
-
"id_token",
|
|
2844
|
-
"code id_token",
|
|
2845
|
-
"id_token token",
|
|
2846
|
-
],
|
|
2847
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2506
|
+
"login.microsoftonline.com": {
|
|
2507
|
+
token_endpoint: "https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/token",
|
|
2508
|
+
jwks_uri: "https://login.microsoftonline.com/{tenantid}/discovery/v2.0/keys",
|
|
2848
2509
|
issuer: "https://login.microsoftonline.com/{tenantid}/v2.0",
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
authorization_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",
|
|
2852
|
-
device_authorization_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode",
|
|
2853
|
-
http_logout_supported: true,
|
|
2854
|
-
frontchannel_logout_supported: true,
|
|
2855
|
-
end_session_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/logout",
|
|
2856
|
-
claims_supported: [
|
|
2857
|
-
"sub",
|
|
2858
|
-
"iss",
|
|
2859
|
-
"cloud_instance_name",
|
|
2860
|
-
"cloud_instance_host_name",
|
|
2861
|
-
"cloud_graph_host_name",
|
|
2862
|
-
"msgraph_host",
|
|
2863
|
-
"aud",
|
|
2864
|
-
"exp",
|
|
2865
|
-
"iat",
|
|
2866
|
-
"auth_time",
|
|
2867
|
-
"acr",
|
|
2868
|
-
"nonce",
|
|
2869
|
-
"preferred_username",
|
|
2870
|
-
"name",
|
|
2871
|
-
"tid",
|
|
2872
|
-
"ver",
|
|
2873
|
-
"at_hash",
|
|
2874
|
-
"c_hash",
|
|
2875
|
-
"email",
|
|
2876
|
-
],
|
|
2877
|
-
kerberos_endpoint: "https://login.microsoftonline.com/organizations/kerberos",
|
|
2878
|
-
tenant_region_scope: null,
|
|
2879
|
-
cloud_instance_name: "microsoftonline.com",
|
|
2880
|
-
cloud_graph_host_name: "graph.windows.net",
|
|
2881
|
-
msgraph_host: "graph.microsoft.com",
|
|
2882
|
-
rbac_url: "https://pas.windows.net",
|
|
2510
|
+
authorization_endpoint: "https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/authorize",
|
|
2511
|
+
end_session_endpoint: "https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/logout",
|
|
2883
2512
|
},
|
|
2884
|
-
"
|
|
2885
|
-
token_endpoint: "https://login.chinacloudapi.cn/
|
|
2886
|
-
|
|
2887
|
-
"client_secret_post",
|
|
2888
|
-
"private_key_jwt",
|
|
2889
|
-
"client_secret_basic",
|
|
2890
|
-
],
|
|
2891
|
-
jwks_uri: "https://login.chinacloudapi.cn/organizations/discovery/v2.0/keys",
|
|
2892
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2893
|
-
subject_types_supported: ["pairwise"],
|
|
2894
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2895
|
-
response_types_supported: [
|
|
2896
|
-
"code",
|
|
2897
|
-
"id_token",
|
|
2898
|
-
"code id_token",
|
|
2899
|
-
"id_token token",
|
|
2900
|
-
],
|
|
2901
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2513
|
+
"login.chinacloudapi.cn": {
|
|
2514
|
+
token_endpoint: "https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/token",
|
|
2515
|
+
jwks_uri: "https://login.chinacloudapi.cn/{tenantid}/discovery/v2.0/keys",
|
|
2902
2516
|
issuer: "https://login.partner.microsoftonline.cn/{tenantid}/v2.0",
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
authorization_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/authorize",
|
|
2906
|
-
device_authorization_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/devicecode",
|
|
2907
|
-
http_logout_supported: true,
|
|
2908
|
-
frontchannel_logout_supported: true,
|
|
2909
|
-
end_session_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/logout",
|
|
2910
|
-
claims_supported: [
|
|
2911
|
-
"sub",
|
|
2912
|
-
"iss",
|
|
2913
|
-
"cloud_instance_name",
|
|
2914
|
-
"cloud_instance_host_name",
|
|
2915
|
-
"cloud_graph_host_name",
|
|
2916
|
-
"msgraph_host",
|
|
2917
|
-
"aud",
|
|
2918
|
-
"exp",
|
|
2919
|
-
"iat",
|
|
2920
|
-
"auth_time",
|
|
2921
|
-
"acr",
|
|
2922
|
-
"nonce",
|
|
2923
|
-
"preferred_username",
|
|
2924
|
-
"name",
|
|
2925
|
-
"tid",
|
|
2926
|
-
"ver",
|
|
2927
|
-
"at_hash",
|
|
2928
|
-
"c_hash",
|
|
2929
|
-
"email",
|
|
2930
|
-
],
|
|
2931
|
-
kerberos_endpoint: "https://login.chinacloudapi.cn/organizations/kerberos",
|
|
2932
|
-
tenant_region_scope: null,
|
|
2933
|
-
cloud_instance_name: "partner.microsoftonline.cn",
|
|
2934
|
-
cloud_graph_host_name: "graph.chinacloudapi.cn",
|
|
2935
|
-
msgraph_host: "microsoftgraph.chinacloudapi.cn",
|
|
2936
|
-
rbac_url: "https://pas.chinacloudapi.cn",
|
|
2517
|
+
authorization_endpoint: "https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/authorize",
|
|
2518
|
+
end_session_endpoint: "https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/logout",
|
|
2937
2519
|
},
|
|
2938
|
-
"
|
|
2939
|
-
token_endpoint: "https://login.microsoftonline.us/
|
|
2940
|
-
|
|
2941
|
-
"client_secret_post",
|
|
2942
|
-
"private_key_jwt",
|
|
2943
|
-
"client_secret_basic",
|
|
2944
|
-
],
|
|
2945
|
-
jwks_uri: "https://login.microsoftonline.us/organizations/discovery/v2.0/keys",
|
|
2946
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2947
|
-
subject_types_supported: ["pairwise"],
|
|
2948
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2949
|
-
response_types_supported: [
|
|
2950
|
-
"code",
|
|
2951
|
-
"id_token",
|
|
2952
|
-
"code id_token",
|
|
2953
|
-
"id_token token",
|
|
2954
|
-
],
|
|
2955
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2520
|
+
"login.microsoftonline.us": {
|
|
2521
|
+
token_endpoint: "https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/token",
|
|
2522
|
+
jwks_uri: "https://login.microsoftonline.us/{tenantid}/discovery/v2.0/keys",
|
|
2956
2523
|
issuer: "https://login.microsoftonline.us/{tenantid}/v2.0",
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
authorization_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/authorize",
|
|
2960
|
-
device_authorization_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/devicecode",
|
|
2961
|
-
http_logout_supported: true,
|
|
2962
|
-
frontchannel_logout_supported: true,
|
|
2963
|
-
end_session_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/logout",
|
|
2964
|
-
claims_supported: [
|
|
2965
|
-
"sub",
|
|
2966
|
-
"iss",
|
|
2967
|
-
"cloud_instance_name",
|
|
2968
|
-
"cloud_instance_host_name",
|
|
2969
|
-
"cloud_graph_host_name",
|
|
2970
|
-
"msgraph_host",
|
|
2971
|
-
"aud",
|
|
2972
|
-
"exp",
|
|
2973
|
-
"iat",
|
|
2974
|
-
"auth_time",
|
|
2975
|
-
"acr",
|
|
2976
|
-
"nonce",
|
|
2977
|
-
"preferred_username",
|
|
2978
|
-
"name",
|
|
2979
|
-
"tid",
|
|
2980
|
-
"ver",
|
|
2981
|
-
"at_hash",
|
|
2982
|
-
"c_hash",
|
|
2983
|
-
"email",
|
|
2984
|
-
],
|
|
2985
|
-
kerberos_endpoint: "https://login.microsoftonline.us/organizations/kerberos",
|
|
2986
|
-
tenant_region_scope: null,
|
|
2987
|
-
cloud_instance_name: "microsoftonline.us",
|
|
2988
|
-
cloud_graph_host_name: "graph.windows.net",
|
|
2989
|
-
msgraph_host: "graph.microsoft.com",
|
|
2990
|
-
rbac_url: "https://pasff.usgovcloudapi.net",
|
|
2524
|
+
authorization_endpoint: "https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/authorize",
|
|
2525
|
+
end_session_endpoint: "https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/logout",
|
|
2991
2526
|
},
|
|
2992
2527
|
},
|
|
2993
2528
|
instanceDiscoveryMetadata: {
|
|
2994
2529
|
tenant_discovery_endpoint: "https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",
|
|
2995
|
-
"api-version": "1.1",
|
|
2996
2530
|
metadata: [
|
|
2997
2531
|
{
|
|
2998
2532
|
preferred_network: "login.microsoftonline.com",
|
|
@@ -3101,7 +2635,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
3101
2635
|
return null;
|
|
3102
2636
|
}
|
|
3103
2637
|
|
|
3104
|
-
/*! @azure/msal-common v14.6.
|
|
2638
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
3105
2639
|
|
|
3106
2640
|
/*
|
|
3107
2641
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4341,7 +3875,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
4341
3875
|
}
|
|
4342
3876
|
}
|
|
4343
3877
|
|
|
4344
|
-
/*! @azure/msal-common v14.6.
|
|
3878
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4345
3879
|
|
|
4346
3880
|
/*
|
|
4347
3881
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4441,7 +3975,7 @@ function isOidcProtocolMode(config) {
|
|
|
4441
3975
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4442
3976
|
}
|
|
4443
3977
|
|
|
4444
|
-
/*! @azure/msal-common v14.6.
|
|
3978
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4445
3979
|
|
|
4446
3980
|
/*
|
|
4447
3981
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4458,7 +3992,7 @@ class ServerError extends AuthError {
|
|
|
4458
3992
|
}
|
|
4459
3993
|
}
|
|
4460
3994
|
|
|
4461
|
-
/*! @azure/msal-common v14.6.
|
|
3995
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4462
3996
|
|
|
4463
3997
|
/*
|
|
4464
3998
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4556,7 +4090,7 @@ class ThrottlingUtils {
|
|
|
4556
4090
|
}
|
|
4557
4091
|
}
|
|
4558
4092
|
|
|
4559
|
-
/*! @azure/msal-common v14.6.
|
|
4093
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4560
4094
|
|
|
4561
4095
|
/*
|
|
4562
4096
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4593,7 +4127,7 @@ class NetworkManager {
|
|
|
4593
4127
|
}
|
|
4594
4128
|
}
|
|
4595
4129
|
|
|
4596
|
-
/*! @azure/msal-common v14.6.
|
|
4130
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4597
4131
|
/*
|
|
4598
4132
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4599
4133
|
* Licensed under the MIT License.
|
|
@@ -4603,7 +4137,7 @@ const CcsCredentialType = {
|
|
|
4603
4137
|
UPN: "UPN",
|
|
4604
4138
|
};
|
|
4605
4139
|
|
|
4606
|
-
/*! @azure/msal-common v14.6.
|
|
4140
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4607
4141
|
/*
|
|
4608
4142
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4609
4143
|
* Licensed under the MIT License.
|
|
@@ -4650,7 +4184,7 @@ const SID = "sid";
|
|
|
4650
4184
|
const LOGIN_HINT = "login_hint";
|
|
4651
4185
|
const DOMAIN_HINT = "domain_hint";
|
|
4652
4186
|
|
|
4653
|
-
/*! @azure/msal-common v14.6.
|
|
4187
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4654
4188
|
|
|
4655
4189
|
/*
|
|
4656
4190
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4734,7 +4268,7 @@ class RequestValidator {
|
|
|
4734
4268
|
}
|
|
4735
4269
|
}
|
|
4736
4270
|
|
|
4737
|
-
/*! @azure/msal-common v14.6.
|
|
4271
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4738
4272
|
|
|
4739
4273
|
/*
|
|
4740
4274
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5118,7 +4652,7 @@ class RequestParameterBuilder {
|
|
|
5118
4652
|
}
|
|
5119
4653
|
}
|
|
5120
4654
|
|
|
5121
|
-
/*! @azure/msal-common v14.6.
|
|
4655
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5122
4656
|
/*
|
|
5123
4657
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5124
4658
|
* Licensed under the MIT License.
|
|
@@ -5130,7 +4664,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
5130
4664
|
response.hasOwnProperty("jwks_uri"));
|
|
5131
4665
|
}
|
|
5132
4666
|
|
|
5133
|
-
/*! @azure/msal-common v14.6.
|
|
4667
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5134
4668
|
/*
|
|
5135
4669
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5136
4670
|
* Licensed under the MIT License.
|
|
@@ -5140,7 +4674,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
5140
4674
|
response.hasOwnProperty("metadata"));
|
|
5141
4675
|
}
|
|
5142
4676
|
|
|
5143
|
-
/*! @azure/msal-common v14.6.
|
|
4677
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5144
4678
|
/*
|
|
5145
4679
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5146
4680
|
* Licensed under the MIT License.
|
|
@@ -5150,7 +4684,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
5150
4684
|
response.hasOwnProperty("error_description"));
|
|
5151
4685
|
}
|
|
5152
4686
|
|
|
5153
|
-
/*! @azure/msal-common v14.6.
|
|
4687
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5154
4688
|
/*
|
|
5155
4689
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5156
4690
|
* Licensed under the MIT License.
|
|
@@ -5405,7 +4939,7 @@ const IntFields = new Set([
|
|
|
5405
4939
|
"multiMatchedRT",
|
|
5406
4940
|
]);
|
|
5407
4941
|
|
|
5408
|
-
/*! @azure/msal-common v14.6.
|
|
4942
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5409
4943
|
/*
|
|
5410
4944
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5411
4945
|
* Licensed under the MIT License.
|
|
@@ -5491,7 +5025,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
5491
5025
|
};
|
|
5492
5026
|
};
|
|
5493
5027
|
|
|
5494
|
-
/*! @azure/msal-common v14.6.
|
|
5028
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5495
5029
|
|
|
5496
5030
|
/*
|
|
5497
5031
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5600,7 +5134,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5600
5134
|
},
|
|
5601
5135
|
};
|
|
5602
5136
|
|
|
5603
|
-
/*! @azure/msal-common v14.6.
|
|
5137
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5604
5138
|
|
|
5605
5139
|
/*
|
|
5606
5140
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5612,7 +5146,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5612
5146
|
* @internal
|
|
5613
5147
|
*/
|
|
5614
5148
|
class Authority {
|
|
5615
|
-
constructor(authority, networkInterface, cacheManager, authorityOptions, logger,
|
|
5149
|
+
constructor(authority, networkInterface, cacheManager, authorityOptions, logger, correlationId, performanceClient) {
|
|
5616
5150
|
this.canonicalAuthority = authority;
|
|
5617
5151
|
this._canonicalAuthority.validateAsUri();
|
|
5618
5152
|
this.networkInterface = networkInterface;
|
|
@@ -5849,6 +5383,10 @@ class Authority {
|
|
|
5849
5383
|
this.updateCachedMetadata(metadataEntity, cloudDiscoverySource, {
|
|
5850
5384
|
source: endpointSource,
|
|
5851
5385
|
});
|
|
5386
|
+
this.performanceClient?.addFields({
|
|
5387
|
+
cloudDiscoverySource: cloudDiscoverySource,
|
|
5388
|
+
authorityEndpointSource: endpointSource,
|
|
5389
|
+
}, this.correlationId);
|
|
5852
5390
|
}
|
|
5853
5391
|
/**
|
|
5854
5392
|
* Returns metadata entity from cache if it exists, otherwiser returns a new metadata entity built
|
|
@@ -6040,8 +5578,8 @@ class Authority {
|
|
|
6040
5578
|
* Get OAuth endpoints for common authorities.
|
|
6041
5579
|
*/
|
|
6042
5580
|
getEndpointMetadataFromHardcodedValues() {
|
|
6043
|
-
if (this.
|
|
6044
|
-
return EndpointMetadata[this.
|
|
5581
|
+
if (this.hostnameAndPort in EndpointMetadata) {
|
|
5582
|
+
return EndpointMetadata[this.hostnameAndPort];
|
|
6045
5583
|
}
|
|
6046
5584
|
return null;
|
|
6047
5585
|
}
|
|
@@ -6429,57 +5967,43 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6429
5967
|
};
|
|
6430
5968
|
}
|
|
6431
5969
|
|
|
6432
|
-
/*! @azure/msal-common v14.6.
|
|
5970
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6433
5971
|
|
|
6434
5972
|
/*
|
|
6435
5973
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6436
5974
|
* Licensed under the MIT License.
|
|
6437
5975
|
*/
|
|
6438
|
-
/**
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
return acquireTokenAuthority;
|
|
6458
|
-
}
|
|
6459
|
-
catch (e) {
|
|
6460
|
-
throw createClientAuthError(endpointResolutionError);
|
|
6461
|
-
}
|
|
5976
|
+
/**
|
|
5977
|
+
* Create an authority object of the correct type based on the url
|
|
5978
|
+
* Performs basic authority validation - checks to see if the authority is of a valid type (i.e. aad, b2c, adfs)
|
|
5979
|
+
*
|
|
5980
|
+
* Also performs endpoint discovery.
|
|
5981
|
+
*
|
|
5982
|
+
* @param authorityUri
|
|
5983
|
+
* @param networkClient
|
|
5984
|
+
* @param protocolMode
|
|
5985
|
+
* @internal
|
|
5986
|
+
*/
|
|
5987
|
+
async function createDiscoveredInstance(authorityUri, networkClient, cacheManager, authorityOptions, logger, correlationId, performanceClient) {
|
|
5988
|
+
performanceClient?.addQueueMeasurement(PerformanceEvents.AuthorityFactoryCreateDiscoveredInstance, correlationId);
|
|
5989
|
+
const authorityUriFinal = Authority.transformCIAMAuthority(formatAuthorityUri(authorityUri));
|
|
5990
|
+
// Initialize authority and perform discovery endpoint check.
|
|
5991
|
+
const acquireTokenAuthority = new Authority(authorityUriFinal, networkClient, cacheManager, authorityOptions, logger, correlationId, performanceClient);
|
|
5992
|
+
try {
|
|
5993
|
+
await invokeAsync(acquireTokenAuthority.resolveEndpointsAsync.bind(acquireTokenAuthority), PerformanceEvents.AuthorityResolveEndpointsAsync, logger, performanceClient, correlationId)();
|
|
5994
|
+
return acquireTokenAuthority;
|
|
6462
5995
|
}
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
* Performs basic authority validation - checks to see if the authority is of a valid type (i.e. aad, b2c, adfs)
|
|
6466
|
-
*
|
|
6467
|
-
* Does not perform endpoint discovery.
|
|
6468
|
-
*
|
|
6469
|
-
* @param authorityUrl
|
|
6470
|
-
* @param networkInterface
|
|
6471
|
-
* @param protocolMode
|
|
6472
|
-
*/
|
|
6473
|
-
static createInstance(authorityUrl, networkInterface, cacheManager, authorityOptions, logger, performanceClient, correlationId) {
|
|
6474
|
-
// Throw error if authority url is empty
|
|
6475
|
-
if (!authorityUrl) {
|
|
6476
|
-
throw createClientConfigurationError(urlEmptyError);
|
|
6477
|
-
}
|
|
6478
|
-
return new Authority(authorityUrl, networkInterface, cacheManager, authorityOptions, logger, performanceClient, correlationId);
|
|
5996
|
+
catch (e) {
|
|
5997
|
+
throw createClientAuthError(endpointResolutionError);
|
|
6479
5998
|
}
|
|
6480
5999
|
}
|
|
6481
6000
|
|
|
6482
|
-
|
|
6001
|
+
var AuthorityFactory = /*#__PURE__*/Object.freeze({
|
|
6002
|
+
__proto__: null,
|
|
6003
|
+
createDiscoveredInstance: createDiscoveredInstance
|
|
6004
|
+
});
|
|
6005
|
+
|
|
6006
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6483
6007
|
|
|
6484
6008
|
/*
|
|
6485
6009
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6566,7 +6090,7 @@ class BaseClient {
|
|
|
6566
6090
|
async updateAuthority(cloudInstanceHostname, correlationId) {
|
|
6567
6091
|
this.performanceClient?.addQueueMeasurement(PerformanceEvents.UpdateTokenEndpointAuthority, correlationId);
|
|
6568
6092
|
const cloudInstanceAuthorityUri = `https://${cloudInstanceHostname}/${this.authority.tenant}/`;
|
|
6569
|
-
const cloudInstanceAuthority = await
|
|
6093
|
+
const cloudInstanceAuthority = await createDiscoveredInstance(cloudInstanceAuthorityUri, this.networkClient, this.cacheManager, this.authority.options, this.logger, correlationId, this.performanceClient);
|
|
6570
6094
|
this.authority = cloudInstanceAuthority;
|
|
6571
6095
|
}
|
|
6572
6096
|
/**
|
|
@@ -6582,7 +6106,7 @@ class BaseClient {
|
|
|
6582
6106
|
}
|
|
6583
6107
|
}
|
|
6584
6108
|
|
|
6585
|
-
/*! @azure/msal-common v14.6.
|
|
6109
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6586
6110
|
/*
|
|
6587
6111
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6588
6112
|
* Licensed under the MIT License.
|
|
@@ -6608,7 +6132,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6608
6132
|
refreshTokenExpired: refreshTokenExpired
|
|
6609
6133
|
});
|
|
6610
6134
|
|
|
6611
|
-
/*! @azure/msal-common v14.6.
|
|
6135
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6612
6136
|
|
|
6613
6137
|
/*
|
|
6614
6138
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6695,7 +6219,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
6695
6219
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6696
6220
|
}
|
|
6697
6221
|
|
|
6698
|
-
/*! @azure/msal-common v14.6.
|
|
6222
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6699
6223
|
/*
|
|
6700
6224
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6701
6225
|
* Licensed under the MIT License.
|
|
@@ -6711,7 +6235,7 @@ class CacheRecord {
|
|
|
6711
6235
|
}
|
|
6712
6236
|
}
|
|
6713
6237
|
|
|
6714
|
-
/*! @azure/msal-common v14.6.
|
|
6238
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6715
6239
|
|
|
6716
6240
|
/*
|
|
6717
6241
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6783,7 +6307,7 @@ class ProtocolUtils {
|
|
|
6783
6307
|
}
|
|
6784
6308
|
}
|
|
6785
6309
|
|
|
6786
|
-
/*! @azure/msal-common v14.6.
|
|
6310
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6787
6311
|
|
|
6788
6312
|
/*
|
|
6789
6313
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6868,7 +6392,7 @@ class PopTokenGenerator {
|
|
|
6868
6392
|
}
|
|
6869
6393
|
}
|
|
6870
6394
|
|
|
6871
|
-
/*! @azure/msal-common v14.6.
|
|
6395
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6872
6396
|
/*
|
|
6873
6397
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6874
6398
|
* Licensed under the MIT License.
|
|
@@ -6895,7 +6419,7 @@ class PopTokenGenerator {
|
|
|
6895
6419
|
}
|
|
6896
6420
|
}
|
|
6897
6421
|
|
|
6898
|
-
/*! @azure/msal-common v14.6.
|
|
6422
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6899
6423
|
|
|
6900
6424
|
/*
|
|
6901
6425
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7248,7 +6772,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, idTokenClai
|
|
|
7248
6772
|
return baseAccount;
|
|
7249
6773
|
}
|
|
7250
6774
|
|
|
7251
|
-
/*! @azure/msal-common v14.6.
|
|
6775
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
7252
6776
|
|
|
7253
6777
|
/*
|
|
7254
6778
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7653,7 +7177,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7653
7177
|
}
|
|
7654
7178
|
}
|
|
7655
7179
|
|
|
7656
|
-
/*! @azure/msal-common v14.6.
|
|
7180
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
7657
7181
|
|
|
7658
7182
|
/*
|
|
7659
7183
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7860,7 +7384,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7860
7384
|
}
|
|
7861
7385
|
}
|
|
7862
7386
|
|
|
7863
|
-
/*! @azure/msal-common v14.6.
|
|
7387
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
7864
7388
|
|
|
7865
7389
|
/*
|
|
7866
7390
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7991,7 +7515,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
7991
7515
|
}
|
|
7992
7516
|
}
|
|
7993
7517
|
|
|
7994
|
-
/*! @azure/msal-common v14.6.
|
|
7518
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
7995
7519
|
|
|
7996
7520
|
/*
|
|
7997
7521
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8006,7 +7530,7 @@ const StubbedNetworkModule = {
|
|
|
8006
7530
|
},
|
|
8007
7531
|
};
|
|
8008
7532
|
|
|
8009
|
-
/*! @azure/msal-common v14.6.
|
|
7533
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8010
7534
|
/*
|
|
8011
7535
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8012
7536
|
* Licensed under the MIT License.
|
|
@@ -8014,7 +7538,7 @@ const StubbedNetworkModule = {
|
|
|
8014
7538
|
const missingKidError = "missing_kid_error";
|
|
8015
7539
|
const missingAlgError = "missing_alg_error";
|
|
8016
7540
|
|
|
8017
|
-
/*! @azure/msal-common v14.6.
|
|
7541
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8018
7542
|
|
|
8019
7543
|
/*
|
|
8020
7544
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8039,7 +7563,7 @@ function createJoseHeaderError(code) {
|
|
|
8039
7563
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8040
7564
|
}
|
|
8041
7565
|
|
|
8042
|
-
/*! @azure/msal-common v14.6.
|
|
7566
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8043
7567
|
|
|
8044
7568
|
/*
|
|
8045
7569
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8079,7 +7603,7 @@ class JoseHeader {
|
|
|
8079
7603
|
}
|
|
8080
7604
|
}
|
|
8081
7605
|
|
|
8082
|
-
/*! @azure/msal-common v14.6.
|
|
7606
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8083
7607
|
|
|
8084
7608
|
/*
|
|
8085
7609
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8137,7 +7661,7 @@ class AuthenticationHeaderParser {
|
|
|
8137
7661
|
}
|
|
8138
7662
|
}
|
|
8139
7663
|
|
|
8140
|
-
/*! @azure/msal-common v14.6.
|
|
7664
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8141
7665
|
|
|
8142
7666
|
/*
|
|
8143
7667
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8341,7 +7865,7 @@ class ServerTelemetryManager {
|
|
|
8341
7865
|
}
|
|
8342
7866
|
}
|
|
8343
7867
|
|
|
8344
|
-
/*! @azure/msal-common v14.6.
|
|
7868
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8345
7869
|
|
|
8346
7870
|
/*
|
|
8347
7871
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8420,7 +7944,7 @@ class StubPerformanceClient {
|
|
|
8420
7944
|
}
|
|
8421
7945
|
}
|
|
8422
7946
|
|
|
8423
|
-
/*! @azure/msal-common v14.6.
|
|
7947
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8424
7948
|
|
|
8425
7949
|
/*
|
|
8426
7950
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9820,7 +9344,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
|
|
|
9820
9344
|
|
|
9821
9345
|
/* eslint-disable header/header */
|
|
9822
9346
|
const name = "@azure/msal-browser";
|
|
9823
|
-
const version = "3.7.
|
|
9347
|
+
const version = "3.7.1";
|
|
9824
9348
|
|
|
9825
9349
|
/*
|
|
9826
9350
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -12655,12 +12179,9 @@ class BaseInteractionClient {
|
|
|
12655
12179
|
cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
|
|
12656
12180
|
authorityMetadata: this.config.auth.authorityMetadata,
|
|
12657
12181
|
};
|
|
12658
|
-
|
|
12659
|
-
|
|
12660
|
-
|
|
12661
|
-
}
|
|
12662
|
-
this.logger.verbose("Creating discovered authority with configured authority");
|
|
12663
|
-
return AuthorityFactory.createDiscoveredInstance(this.config.auth.authority, this.config.system.networkClient, this.browserStorage, authorityOptions, this.logger);
|
|
12182
|
+
const authority = requestAuthority || this.config.auth.authority;
|
|
12183
|
+
this.logger.verbose(`Creating discovered authority with ${authority}`);
|
|
12184
|
+
return createDiscoveredInstance(authority, this.config.system.networkClient, this.browserStorage, authorityOptions, this.logger, this.correlationId, this.performanceClient);
|
|
12664
12185
|
}
|
|
12665
12186
|
}
|
|
12666
12187
|
|
|
@@ -12902,7 +12423,7 @@ class StandardInteractionClient extends BaseInteractionClient {
|
|
|
12902
12423
|
: this.config.auth.authority;
|
|
12903
12424
|
// fall back to the authority from config
|
|
12904
12425
|
const builtAuthority = Authority.generateAuthority(userAuthority, requestAzureCloudOptions || this.config.auth.azureCloudOptions);
|
|
12905
|
-
return invokeAsync(
|
|
12426
|
+
return invokeAsync(createDiscoveredInstance.bind(AuthorityFactory), PerformanceEvents.AuthorityFactoryCreateDiscoveredInstance, this.logger, this.performanceClient, this.correlationId)(builtAuthority, this.config.system.networkClient, this.browserStorage, authorityOptions, this.logger, this.correlationId, this.performanceClient);
|
|
12906
12427
|
}
|
|
12907
12428
|
/**
|
|
12908
12429
|
* Helper to initialize required request parameters for interactive APIs and ssoSilent()
|
|
@@ -15215,7 +14736,7 @@ class TokenCache {
|
|
|
15215
14736
|
authorityMetadata: this.config.auth.authorityMetadata,
|
|
15216
14737
|
skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache,
|
|
15217
14738
|
};
|
|
15218
|
-
authority = new Authority(authorityUrl, this.config.system.networkClient, this.storage, authorityOptions, this.logger);
|
|
14739
|
+
authority = new Authority(authorityUrl, this.config.system.networkClient, this.storage, authorityOptions, this.logger, request.correlationId || createNewGuid());
|
|
15219
14740
|
// "clientInfo" from options takes precedence over "clientInfo" in response
|
|
15220
14741
|
if (options.clientInfo) {
|
|
15221
14742
|
this.logger.trace("TokenCache - homeAccountId from options");
|
|
@@ -16648,13 +16169,19 @@ class StandardController {
|
|
|
16648
16169
|
throw error;
|
|
16649
16170
|
});
|
|
16650
16171
|
this.activeSilentTokenRequests.set(silentRequestKey, response);
|
|
16651
|
-
return
|
|
16172
|
+
return {
|
|
16173
|
+
...(await response),
|
|
16174
|
+
state: request.state,
|
|
16175
|
+
};
|
|
16652
16176
|
}
|
|
16653
16177
|
else {
|
|
16654
16178
|
this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call", correlationId);
|
|
16655
16179
|
// Discard measurements for memoized calls, as they are usually only a couple of ms and will artificially deflate metrics
|
|
16656
16180
|
atsMeasurement.discard();
|
|
16657
|
-
return
|
|
16181
|
+
return {
|
|
16182
|
+
...(await cachedResponse),
|
|
16183
|
+
state: request.state,
|
|
16184
|
+
};
|
|
16658
16185
|
}
|
|
16659
16186
|
}
|
|
16660
16187
|
/**
|