@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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v3.7.
|
|
1
|
+
/*! @azure/msal-browser v3.7.1 2024-01-23 */
|
|
2
2
|
'use strict';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
|
|
7
7
|
})(this, (function (exports) { 'use strict';
|
|
8
8
|
|
|
9
|
-
/*! @azure/msal-common v14.6.
|
|
9
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
12
|
* Licensed under the MIT License.
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
Pop: "pop",
|
|
302
302
|
};
|
|
303
303
|
|
|
304
|
-
/*! @azure/msal-common v14.6.
|
|
304
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
305
305
|
/*
|
|
306
306
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
307
307
|
* Licensed under the MIT License.
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
unexpectedError: unexpectedError
|
|
319
319
|
});
|
|
320
320
|
|
|
321
|
-
/*! @azure/msal-common v14.6.
|
|
321
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
322
322
|
|
|
323
323
|
/*
|
|
324
324
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
: AuthErrorMessages[code]);
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
-
/*! @azure/msal-common v14.6.
|
|
370
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
371
371
|
/*
|
|
372
372
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
373
373
|
* Licensed under the MIT License.
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
userTimeoutReached: userTimeoutReached
|
|
466
466
|
});
|
|
467
467
|
|
|
468
|
-
/*! @azure/msal-common v14.6.
|
|
468
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
469
469
|
|
|
470
470
|
/*
|
|
471
471
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
718
718
|
}
|
|
719
719
|
|
|
720
|
-
/*! @azure/msal-common v14.6.
|
|
720
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
721
721
|
|
|
722
722
|
/*
|
|
723
723
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -750,7 +750,7 @@
|
|
|
750
750
|
},
|
|
751
751
|
};
|
|
752
752
|
|
|
753
|
-
/*! @azure/msal-common v14.6.
|
|
753
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
754
754
|
|
|
755
755
|
/*
|
|
756
756
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -941,12 +941,12 @@
|
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
943
|
|
|
944
|
-
/*! @azure/msal-common v14.6.
|
|
944
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
945
945
|
/* eslint-disable header/header */
|
|
946
946
|
const name$1 = "@azure/msal-common";
|
|
947
|
-
const version$1 = "14.6.
|
|
947
|
+
const version$1 = "14.6.1";
|
|
948
948
|
|
|
949
|
-
/*! @azure/msal-common v14.6.
|
|
949
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
950
950
|
/*
|
|
951
951
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
952
952
|
* Licensed under the MIT License.
|
|
@@ -966,7 +966,7 @@
|
|
|
966
966
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
967
967
|
};
|
|
968
968
|
|
|
969
|
-
/*! @azure/msal-common v14.6.
|
|
969
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
970
970
|
|
|
971
971
|
/*
|
|
972
972
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1027,7 +1027,7 @@
|
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
1029
1029
|
|
|
1030
|
-
/*! @azure/msal-common v14.6.
|
|
1030
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1031
1031
|
/*
|
|
1032
1032
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1033
1033
|
* Licensed under the MIT License.
|
|
@@ -1074,7 +1074,7 @@
|
|
|
1074
1074
|
}
|
|
1075
1075
|
}
|
|
1076
1076
|
|
|
1077
|
-
/*! @azure/msal-common v14.6.
|
|
1077
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1078
1078
|
|
|
1079
1079
|
/*
|
|
1080
1080
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1401,7 +1401,7 @@
|
|
|
1401
1401
|
return metadata.expiresAt <= TimeUtils.nowSeconds();
|
|
1402
1402
|
}
|
|
1403
1403
|
|
|
1404
|
-
/*! @azure/msal-common v14.6.
|
|
1404
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1405
1405
|
/*
|
|
1406
1406
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1407
1407
|
* Licensed under the MIT License.
|
|
@@ -1455,7 +1455,7 @@
|
|
|
1455
1455
|
urlParseError: urlParseError
|
|
1456
1456
|
});
|
|
1457
1457
|
|
|
1458
|
-
/*! @azure/msal-common v14.6.
|
|
1458
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1459
1459
|
|
|
1460
1460
|
/*
|
|
1461
1461
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1593,7 +1593,7 @@
|
|
|
1593
1593
|
return new ClientConfigurationError(errorCode);
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
|
-
/*! @azure/msal-common v14.6.
|
|
1596
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1597
1597
|
/*
|
|
1598
1598
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1599
1599
|
* Licensed under the MIT License.
|
|
@@ -1690,7 +1690,7 @@
|
|
|
1690
1690
|
}
|
|
1691
1691
|
}
|
|
1692
1692
|
|
|
1693
|
-
/*! @azure/msal-common v14.6.
|
|
1693
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1694
1694
|
|
|
1695
1695
|
/*
|
|
1696
1696
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1890,7 +1890,7 @@
|
|
|
1890
1890
|
}
|
|
1891
1891
|
}
|
|
1892
1892
|
|
|
1893
|
-
/*! @azure/msal-common v14.6.
|
|
1893
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1894
1894
|
|
|
1895
1895
|
/*
|
|
1896
1896
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1930,7 +1930,7 @@
|
|
|
1930
1930
|
};
|
|
1931
1931
|
}
|
|
1932
1932
|
|
|
1933
|
-
/*! @azure/msal-common v14.6.
|
|
1933
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1934
1934
|
/*
|
|
1935
1935
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1936
1936
|
* Licensed under the MIT License.
|
|
@@ -1991,7 +1991,7 @@
|
|
|
1991
1991
|
return updatedAccountInfo;
|
|
1992
1992
|
}
|
|
1993
1993
|
|
|
1994
|
-
/*! @azure/msal-common v14.6.
|
|
1994
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
1995
1995
|
/*
|
|
1996
1996
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1997
1997
|
* Licensed under the MIT License.
|
|
@@ -2006,7 +2006,7 @@
|
|
|
2006
2006
|
Ciam: 3,
|
|
2007
2007
|
};
|
|
2008
2008
|
|
|
2009
|
-
/*! @azure/msal-common v14.6.
|
|
2009
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
2010
2010
|
/*
|
|
2011
2011
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2012
2012
|
* Licensed under the MIT License.
|
|
@@ -2028,7 +2028,7 @@
|
|
|
2028
2028
|
return null;
|
|
2029
2029
|
}
|
|
2030
2030
|
|
|
2031
|
-
/*! @azure/msal-common v14.6.
|
|
2031
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
2032
2032
|
/*
|
|
2033
2033
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2034
2034
|
* Licensed under the MIT License.
|
|
@@ -2041,7 +2041,7 @@
|
|
|
2041
2041
|
OIDC: "OIDC",
|
|
2042
2042
|
};
|
|
2043
2043
|
|
|
2044
|
-
/*! @azure/msal-common v14.6.
|
|
2044
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
2045
2045
|
|
|
2046
2046
|
/*
|
|
2047
2047
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2288,7 +2288,7 @@
|
|
|
2288
2288
|
}
|
|
2289
2289
|
}
|
|
2290
2290
|
|
|
2291
|
-
/*! @azure/msal-common v14.6.
|
|
2291
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
2292
2292
|
|
|
2293
2293
|
/*
|
|
2294
2294
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2335,7 +2335,7 @@
|
|
|
2335
2335
|
return null;
|
|
2336
2336
|
}
|
|
2337
2337
|
|
|
2338
|
-
/*! @azure/msal-common v14.6.
|
|
2338
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
2339
2339
|
|
|
2340
2340
|
/*
|
|
2341
2341
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2499,7 +2499,7 @@
|
|
|
2499
2499
|
}
|
|
2500
2500
|
}
|
|
2501
2501
|
|
|
2502
|
-
/*! @azure/msal-common v14.6.
|
|
2502
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
2503
2503
|
|
|
2504
2504
|
/*
|
|
2505
2505
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2507,496 +2507,30 @@
|
|
|
2507
2507
|
*/
|
|
2508
2508
|
const rawMetdataJSON = {
|
|
2509
2509
|
endpointMetadata: {
|
|
2510
|
-
"
|
|
2511
|
-
token_endpoint: "https://login.microsoftonline.com/
|
|
2512
|
-
|
|
2513
|
-
"client_secret_post",
|
|
2514
|
-
"private_key_jwt",
|
|
2515
|
-
"client_secret_basic",
|
|
2516
|
-
],
|
|
2517
|
-
jwks_uri: "https://login.microsoftonline.com/common/discovery/v2.0/keys",
|
|
2518
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2519
|
-
subject_types_supported: ["pairwise"],
|
|
2520
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2521
|
-
response_types_supported: [
|
|
2522
|
-
"code",
|
|
2523
|
-
"id_token",
|
|
2524
|
-
"code id_token",
|
|
2525
|
-
"id_token token",
|
|
2526
|
-
],
|
|
2527
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2528
|
-
issuer: "https://login.microsoftonline.com/{tenantid}/v2.0",
|
|
2529
|
-
request_uri_parameter_supported: false,
|
|
2530
|
-
userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo",
|
|
2531
|
-
authorization_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
|
|
2532
|
-
device_authorization_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/devicecode",
|
|
2533
|
-
http_logout_supported: true,
|
|
2534
|
-
frontchannel_logout_supported: true,
|
|
2535
|
-
end_session_endpoint: "https://login.microsoftonline.com/common/oauth2/v2.0/logout",
|
|
2536
|
-
claims_supported: [
|
|
2537
|
-
"sub",
|
|
2538
|
-
"iss",
|
|
2539
|
-
"cloud_instance_name",
|
|
2540
|
-
"cloud_instance_host_name",
|
|
2541
|
-
"cloud_graph_host_name",
|
|
2542
|
-
"msgraph_host",
|
|
2543
|
-
"aud",
|
|
2544
|
-
"exp",
|
|
2545
|
-
"iat",
|
|
2546
|
-
"auth_time",
|
|
2547
|
-
"acr",
|
|
2548
|
-
"nonce",
|
|
2549
|
-
"preferred_username",
|
|
2550
|
-
"name",
|
|
2551
|
-
"tid",
|
|
2552
|
-
"ver",
|
|
2553
|
-
"at_hash",
|
|
2554
|
-
"c_hash",
|
|
2555
|
-
"email",
|
|
2556
|
-
],
|
|
2557
|
-
kerberos_endpoint: "https://login.microsoftonline.com/common/kerberos",
|
|
2558
|
-
tenant_region_scope: null,
|
|
2559
|
-
cloud_instance_name: "microsoftonline.com",
|
|
2560
|
-
cloud_graph_host_name: "graph.windows.net",
|
|
2561
|
-
msgraph_host: "graph.microsoft.com",
|
|
2562
|
-
rbac_url: "https://pas.windows.net",
|
|
2563
|
-
},
|
|
2564
|
-
"https://login.chinacloudapi.cn/common/": {
|
|
2565
|
-
token_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/token",
|
|
2566
|
-
token_endpoint_auth_methods_supported: [
|
|
2567
|
-
"client_secret_post",
|
|
2568
|
-
"private_key_jwt",
|
|
2569
|
-
"client_secret_basic",
|
|
2570
|
-
],
|
|
2571
|
-
jwks_uri: "https://login.chinacloudapi.cn/common/discovery/v2.0/keys",
|
|
2572
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2573
|
-
subject_types_supported: ["pairwise"],
|
|
2574
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2575
|
-
response_types_supported: [
|
|
2576
|
-
"code",
|
|
2577
|
-
"id_token",
|
|
2578
|
-
"code id_token",
|
|
2579
|
-
"id_token token",
|
|
2580
|
-
],
|
|
2581
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2582
|
-
issuer: "https://login.partner.microsoftonline.cn/{tenantid}/v2.0",
|
|
2583
|
-
request_uri_parameter_supported: false,
|
|
2584
|
-
userinfo_endpoint: "https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",
|
|
2585
|
-
authorization_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/authorize",
|
|
2586
|
-
device_authorization_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/devicecode",
|
|
2587
|
-
http_logout_supported: true,
|
|
2588
|
-
frontchannel_logout_supported: true,
|
|
2589
|
-
end_session_endpoint: "https://login.chinacloudapi.cn/common/oauth2/v2.0/logout",
|
|
2590
|
-
claims_supported: [
|
|
2591
|
-
"sub",
|
|
2592
|
-
"iss",
|
|
2593
|
-
"cloud_instance_name",
|
|
2594
|
-
"cloud_instance_host_name",
|
|
2595
|
-
"cloud_graph_host_name",
|
|
2596
|
-
"msgraph_host",
|
|
2597
|
-
"aud",
|
|
2598
|
-
"exp",
|
|
2599
|
-
"iat",
|
|
2600
|
-
"auth_time",
|
|
2601
|
-
"acr",
|
|
2602
|
-
"nonce",
|
|
2603
|
-
"preferred_username",
|
|
2604
|
-
"name",
|
|
2605
|
-
"tid",
|
|
2606
|
-
"ver",
|
|
2607
|
-
"at_hash",
|
|
2608
|
-
"c_hash",
|
|
2609
|
-
"email",
|
|
2610
|
-
],
|
|
2611
|
-
kerberos_endpoint: "https://login.chinacloudapi.cn/common/kerberos",
|
|
2612
|
-
tenant_region_scope: null,
|
|
2613
|
-
cloud_instance_name: "partner.microsoftonline.cn",
|
|
2614
|
-
cloud_graph_host_name: "graph.chinacloudapi.cn",
|
|
2615
|
-
msgraph_host: "microsoftgraph.chinacloudapi.cn",
|
|
2616
|
-
rbac_url: "https://pas.chinacloudapi.cn",
|
|
2617
|
-
},
|
|
2618
|
-
"https://login.microsoftonline.us/common/": {
|
|
2619
|
-
token_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/token",
|
|
2620
|
-
token_endpoint_auth_methods_supported: [
|
|
2621
|
-
"client_secret_post",
|
|
2622
|
-
"private_key_jwt",
|
|
2623
|
-
"client_secret_basic",
|
|
2624
|
-
],
|
|
2625
|
-
jwks_uri: "https://login.microsoftonline.us/common/discovery/v2.0/keys",
|
|
2626
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2627
|
-
subject_types_supported: ["pairwise"],
|
|
2628
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2629
|
-
response_types_supported: [
|
|
2630
|
-
"code",
|
|
2631
|
-
"id_token",
|
|
2632
|
-
"code id_token",
|
|
2633
|
-
"id_token token",
|
|
2634
|
-
],
|
|
2635
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2636
|
-
issuer: "https://login.microsoftonline.us/{tenantid}/v2.0",
|
|
2637
|
-
request_uri_parameter_supported: false,
|
|
2638
|
-
userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo",
|
|
2639
|
-
authorization_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/authorize",
|
|
2640
|
-
device_authorization_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/devicecode",
|
|
2641
|
-
http_logout_supported: true,
|
|
2642
|
-
frontchannel_logout_supported: true,
|
|
2643
|
-
end_session_endpoint: "https://login.microsoftonline.us/common/oauth2/v2.0/logout",
|
|
2644
|
-
claims_supported: [
|
|
2645
|
-
"sub",
|
|
2646
|
-
"iss",
|
|
2647
|
-
"cloud_instance_name",
|
|
2648
|
-
"cloud_instance_host_name",
|
|
2649
|
-
"cloud_graph_host_name",
|
|
2650
|
-
"msgraph_host",
|
|
2651
|
-
"aud",
|
|
2652
|
-
"exp",
|
|
2653
|
-
"iat",
|
|
2654
|
-
"auth_time",
|
|
2655
|
-
"acr",
|
|
2656
|
-
"nonce",
|
|
2657
|
-
"preferred_username",
|
|
2658
|
-
"name",
|
|
2659
|
-
"tid",
|
|
2660
|
-
"ver",
|
|
2661
|
-
"at_hash",
|
|
2662
|
-
"c_hash",
|
|
2663
|
-
"email",
|
|
2664
|
-
],
|
|
2665
|
-
kerberos_endpoint: "https://login.microsoftonline.us/common/kerberos",
|
|
2666
|
-
tenant_region_scope: null,
|
|
2667
|
-
cloud_instance_name: "microsoftonline.us",
|
|
2668
|
-
cloud_graph_host_name: "graph.windows.net",
|
|
2669
|
-
msgraph_host: "graph.microsoft.com",
|
|
2670
|
-
rbac_url: "https://pasff.usgovcloudapi.net",
|
|
2671
|
-
},
|
|
2672
|
-
"https://login.microsoftonline.com/consumers/": {
|
|
2673
|
-
token_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/token",
|
|
2674
|
-
token_endpoint_auth_methods_supported: [
|
|
2675
|
-
"client_secret_post",
|
|
2676
|
-
"private_key_jwt",
|
|
2677
|
-
"client_secret_basic",
|
|
2678
|
-
],
|
|
2679
|
-
jwks_uri: "https://login.microsoftonline.com/consumers/discovery/v2.0/keys",
|
|
2680
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2681
|
-
subject_types_supported: ["pairwise"],
|
|
2682
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2683
|
-
response_types_supported: [
|
|
2684
|
-
"code",
|
|
2685
|
-
"id_token",
|
|
2686
|
-
"code id_token",
|
|
2687
|
-
"id_token token",
|
|
2688
|
-
],
|
|
2689
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2690
|
-
issuer: "https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",
|
|
2691
|
-
request_uri_parameter_supported: false,
|
|
2692
|
-
userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo",
|
|
2693
|
-
authorization_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize",
|
|
2694
|
-
device_authorization_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/devicecode",
|
|
2695
|
-
http_logout_supported: true,
|
|
2696
|
-
frontchannel_logout_supported: true,
|
|
2697
|
-
end_session_endpoint: "https://login.microsoftonline.com/consumers/oauth2/v2.0/logout",
|
|
2698
|
-
claims_supported: [
|
|
2699
|
-
"sub",
|
|
2700
|
-
"iss",
|
|
2701
|
-
"cloud_instance_name",
|
|
2702
|
-
"cloud_instance_host_name",
|
|
2703
|
-
"cloud_graph_host_name",
|
|
2704
|
-
"msgraph_host",
|
|
2705
|
-
"aud",
|
|
2706
|
-
"exp",
|
|
2707
|
-
"iat",
|
|
2708
|
-
"auth_time",
|
|
2709
|
-
"acr",
|
|
2710
|
-
"nonce",
|
|
2711
|
-
"preferred_username",
|
|
2712
|
-
"name",
|
|
2713
|
-
"tid",
|
|
2714
|
-
"ver",
|
|
2715
|
-
"at_hash",
|
|
2716
|
-
"c_hash",
|
|
2717
|
-
"email",
|
|
2718
|
-
],
|
|
2719
|
-
kerberos_endpoint: "https://login.microsoftonline.com/consumers/kerberos",
|
|
2720
|
-
tenant_region_scope: null,
|
|
2721
|
-
cloud_instance_name: "microsoftonline.com",
|
|
2722
|
-
cloud_graph_host_name: "graph.windows.net",
|
|
2723
|
-
msgraph_host: "graph.microsoft.com",
|
|
2724
|
-
rbac_url: "https://pas.windows.net",
|
|
2725
|
-
},
|
|
2726
|
-
"https://login.chinacloudapi.cn/consumers/": {
|
|
2727
|
-
token_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/token",
|
|
2728
|
-
token_endpoint_auth_methods_supported: [
|
|
2729
|
-
"client_secret_post",
|
|
2730
|
-
"private_key_jwt",
|
|
2731
|
-
"client_secret_basic",
|
|
2732
|
-
],
|
|
2733
|
-
jwks_uri: "https://login.chinacloudapi.cn/consumers/discovery/v2.0/keys",
|
|
2734
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2735
|
-
subject_types_supported: ["pairwise"],
|
|
2736
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2737
|
-
response_types_supported: [
|
|
2738
|
-
"code",
|
|
2739
|
-
"id_token",
|
|
2740
|
-
"code id_token",
|
|
2741
|
-
"id_token token",
|
|
2742
|
-
],
|
|
2743
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2744
|
-
issuer: "https://login.partner.microsoftonline.cn/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",
|
|
2745
|
-
request_uri_parameter_supported: false,
|
|
2746
|
-
userinfo_endpoint: "https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",
|
|
2747
|
-
authorization_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/authorize",
|
|
2748
|
-
device_authorization_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/devicecode",
|
|
2749
|
-
http_logout_supported: true,
|
|
2750
|
-
frontchannel_logout_supported: true,
|
|
2751
|
-
end_session_endpoint: "https://login.chinacloudapi.cn/consumers/oauth2/v2.0/logout",
|
|
2752
|
-
claims_supported: [
|
|
2753
|
-
"sub",
|
|
2754
|
-
"iss",
|
|
2755
|
-
"cloud_instance_name",
|
|
2756
|
-
"cloud_instance_host_name",
|
|
2757
|
-
"cloud_graph_host_name",
|
|
2758
|
-
"msgraph_host",
|
|
2759
|
-
"aud",
|
|
2760
|
-
"exp",
|
|
2761
|
-
"iat",
|
|
2762
|
-
"auth_time",
|
|
2763
|
-
"acr",
|
|
2764
|
-
"nonce",
|
|
2765
|
-
"preferred_username",
|
|
2766
|
-
"name",
|
|
2767
|
-
"tid",
|
|
2768
|
-
"ver",
|
|
2769
|
-
"at_hash",
|
|
2770
|
-
"c_hash",
|
|
2771
|
-
"email",
|
|
2772
|
-
],
|
|
2773
|
-
kerberos_endpoint: "https://login.chinacloudapi.cn/consumers/kerberos",
|
|
2774
|
-
tenant_region_scope: null,
|
|
2775
|
-
cloud_instance_name: "partner.microsoftonline.cn",
|
|
2776
|
-
cloud_graph_host_name: "graph.chinacloudapi.cn",
|
|
2777
|
-
msgraph_host: "microsoftgraph.chinacloudapi.cn",
|
|
2778
|
-
rbac_url: "https://pas.chinacloudapi.cn",
|
|
2779
|
-
},
|
|
2780
|
-
"https://login.microsoftonline.us/consumers/": {
|
|
2781
|
-
token_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/token",
|
|
2782
|
-
token_endpoint_auth_methods_supported: [
|
|
2783
|
-
"client_secret_post",
|
|
2784
|
-
"private_key_jwt",
|
|
2785
|
-
"client_secret_basic",
|
|
2786
|
-
],
|
|
2787
|
-
jwks_uri: "https://login.microsoftonline.us/consumers/discovery/v2.0/keys",
|
|
2788
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2789
|
-
subject_types_supported: ["pairwise"],
|
|
2790
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2791
|
-
response_types_supported: [
|
|
2792
|
-
"code",
|
|
2793
|
-
"id_token",
|
|
2794
|
-
"code id_token",
|
|
2795
|
-
"id_token token",
|
|
2796
|
-
],
|
|
2797
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2798
|
-
issuer: "https://login.microsoftonline.us/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",
|
|
2799
|
-
request_uri_parameter_supported: false,
|
|
2800
|
-
userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo",
|
|
2801
|
-
authorization_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/authorize",
|
|
2802
|
-
device_authorization_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/devicecode",
|
|
2803
|
-
http_logout_supported: true,
|
|
2804
|
-
frontchannel_logout_supported: true,
|
|
2805
|
-
end_session_endpoint: "https://login.microsoftonline.us/consumers/oauth2/v2.0/logout",
|
|
2806
|
-
claims_supported: [
|
|
2807
|
-
"sub",
|
|
2808
|
-
"iss",
|
|
2809
|
-
"cloud_instance_name",
|
|
2810
|
-
"cloud_instance_host_name",
|
|
2811
|
-
"cloud_graph_host_name",
|
|
2812
|
-
"msgraph_host",
|
|
2813
|
-
"aud",
|
|
2814
|
-
"exp",
|
|
2815
|
-
"iat",
|
|
2816
|
-
"auth_time",
|
|
2817
|
-
"acr",
|
|
2818
|
-
"nonce",
|
|
2819
|
-
"preferred_username",
|
|
2820
|
-
"name",
|
|
2821
|
-
"tid",
|
|
2822
|
-
"ver",
|
|
2823
|
-
"at_hash",
|
|
2824
|
-
"c_hash",
|
|
2825
|
-
"email",
|
|
2826
|
-
],
|
|
2827
|
-
kerberos_endpoint: "https://login.microsoftonline.us/consumers/kerberos",
|
|
2828
|
-
tenant_region_scope: null,
|
|
2829
|
-
cloud_instance_name: "microsoftonline.us",
|
|
2830
|
-
cloud_graph_host_name: "graph.windows.net",
|
|
2831
|
-
msgraph_host: "graph.microsoft.com",
|
|
2832
|
-
rbac_url: "https://pasff.usgovcloudapi.net",
|
|
2833
|
-
},
|
|
2834
|
-
"https://login.microsoftonline.com/organizations/": {
|
|
2835
|
-
token_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
|
|
2836
|
-
token_endpoint_auth_methods_supported: [
|
|
2837
|
-
"client_secret_post",
|
|
2838
|
-
"private_key_jwt",
|
|
2839
|
-
"client_secret_basic",
|
|
2840
|
-
],
|
|
2841
|
-
jwks_uri: "https://login.microsoftonline.com/organizations/discovery/v2.0/keys",
|
|
2842
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2843
|
-
subject_types_supported: ["pairwise"],
|
|
2844
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2845
|
-
response_types_supported: [
|
|
2846
|
-
"code",
|
|
2847
|
-
"id_token",
|
|
2848
|
-
"code id_token",
|
|
2849
|
-
"id_token token",
|
|
2850
|
-
],
|
|
2851
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2510
|
+
"login.microsoftonline.com": {
|
|
2511
|
+
token_endpoint: "https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/token",
|
|
2512
|
+
jwks_uri: "https://login.microsoftonline.com/{tenantid}/discovery/v2.0/keys",
|
|
2852
2513
|
issuer: "https://login.microsoftonline.com/{tenantid}/v2.0",
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
authorization_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",
|
|
2856
|
-
device_authorization_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode",
|
|
2857
|
-
http_logout_supported: true,
|
|
2858
|
-
frontchannel_logout_supported: true,
|
|
2859
|
-
end_session_endpoint: "https://login.microsoftonline.com/organizations/oauth2/v2.0/logout",
|
|
2860
|
-
claims_supported: [
|
|
2861
|
-
"sub",
|
|
2862
|
-
"iss",
|
|
2863
|
-
"cloud_instance_name",
|
|
2864
|
-
"cloud_instance_host_name",
|
|
2865
|
-
"cloud_graph_host_name",
|
|
2866
|
-
"msgraph_host",
|
|
2867
|
-
"aud",
|
|
2868
|
-
"exp",
|
|
2869
|
-
"iat",
|
|
2870
|
-
"auth_time",
|
|
2871
|
-
"acr",
|
|
2872
|
-
"nonce",
|
|
2873
|
-
"preferred_username",
|
|
2874
|
-
"name",
|
|
2875
|
-
"tid",
|
|
2876
|
-
"ver",
|
|
2877
|
-
"at_hash",
|
|
2878
|
-
"c_hash",
|
|
2879
|
-
"email",
|
|
2880
|
-
],
|
|
2881
|
-
kerberos_endpoint: "https://login.microsoftonline.com/organizations/kerberos",
|
|
2882
|
-
tenant_region_scope: null,
|
|
2883
|
-
cloud_instance_name: "microsoftonline.com",
|
|
2884
|
-
cloud_graph_host_name: "graph.windows.net",
|
|
2885
|
-
msgraph_host: "graph.microsoft.com",
|
|
2886
|
-
rbac_url: "https://pas.windows.net",
|
|
2514
|
+
authorization_endpoint: "https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/authorize",
|
|
2515
|
+
end_session_endpoint: "https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/logout",
|
|
2887
2516
|
},
|
|
2888
|
-
"
|
|
2889
|
-
token_endpoint: "https://login.chinacloudapi.cn/
|
|
2890
|
-
|
|
2891
|
-
"client_secret_post",
|
|
2892
|
-
"private_key_jwt",
|
|
2893
|
-
"client_secret_basic",
|
|
2894
|
-
],
|
|
2895
|
-
jwks_uri: "https://login.chinacloudapi.cn/organizations/discovery/v2.0/keys",
|
|
2896
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2897
|
-
subject_types_supported: ["pairwise"],
|
|
2898
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2899
|
-
response_types_supported: [
|
|
2900
|
-
"code",
|
|
2901
|
-
"id_token",
|
|
2902
|
-
"code id_token",
|
|
2903
|
-
"id_token token",
|
|
2904
|
-
],
|
|
2905
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2517
|
+
"login.chinacloudapi.cn": {
|
|
2518
|
+
token_endpoint: "https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/token",
|
|
2519
|
+
jwks_uri: "https://login.chinacloudapi.cn/{tenantid}/discovery/v2.0/keys",
|
|
2906
2520
|
issuer: "https://login.partner.microsoftonline.cn/{tenantid}/v2.0",
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
authorization_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/authorize",
|
|
2910
|
-
device_authorization_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/devicecode",
|
|
2911
|
-
http_logout_supported: true,
|
|
2912
|
-
frontchannel_logout_supported: true,
|
|
2913
|
-
end_session_endpoint: "https://login.chinacloudapi.cn/organizations/oauth2/v2.0/logout",
|
|
2914
|
-
claims_supported: [
|
|
2915
|
-
"sub",
|
|
2916
|
-
"iss",
|
|
2917
|
-
"cloud_instance_name",
|
|
2918
|
-
"cloud_instance_host_name",
|
|
2919
|
-
"cloud_graph_host_name",
|
|
2920
|
-
"msgraph_host",
|
|
2921
|
-
"aud",
|
|
2922
|
-
"exp",
|
|
2923
|
-
"iat",
|
|
2924
|
-
"auth_time",
|
|
2925
|
-
"acr",
|
|
2926
|
-
"nonce",
|
|
2927
|
-
"preferred_username",
|
|
2928
|
-
"name",
|
|
2929
|
-
"tid",
|
|
2930
|
-
"ver",
|
|
2931
|
-
"at_hash",
|
|
2932
|
-
"c_hash",
|
|
2933
|
-
"email",
|
|
2934
|
-
],
|
|
2935
|
-
kerberos_endpoint: "https://login.chinacloudapi.cn/organizations/kerberos",
|
|
2936
|
-
tenant_region_scope: null,
|
|
2937
|
-
cloud_instance_name: "partner.microsoftonline.cn",
|
|
2938
|
-
cloud_graph_host_name: "graph.chinacloudapi.cn",
|
|
2939
|
-
msgraph_host: "microsoftgraph.chinacloudapi.cn",
|
|
2940
|
-
rbac_url: "https://pas.chinacloudapi.cn",
|
|
2521
|
+
authorization_endpoint: "https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/authorize",
|
|
2522
|
+
end_session_endpoint: "https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/logout",
|
|
2941
2523
|
},
|
|
2942
|
-
"
|
|
2943
|
-
token_endpoint: "https://login.microsoftonline.us/
|
|
2944
|
-
|
|
2945
|
-
"client_secret_post",
|
|
2946
|
-
"private_key_jwt",
|
|
2947
|
-
"client_secret_basic",
|
|
2948
|
-
],
|
|
2949
|
-
jwks_uri: "https://login.microsoftonline.us/organizations/discovery/v2.0/keys",
|
|
2950
|
-
response_modes_supported: ["query", "fragment", "form_post"],
|
|
2951
|
-
subject_types_supported: ["pairwise"],
|
|
2952
|
-
id_token_signing_alg_values_supported: ["RS256"],
|
|
2953
|
-
response_types_supported: [
|
|
2954
|
-
"code",
|
|
2955
|
-
"id_token",
|
|
2956
|
-
"code id_token",
|
|
2957
|
-
"id_token token",
|
|
2958
|
-
],
|
|
2959
|
-
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
|
2524
|
+
"login.microsoftonline.us": {
|
|
2525
|
+
token_endpoint: "https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/token",
|
|
2526
|
+
jwks_uri: "https://login.microsoftonline.us/{tenantid}/discovery/v2.0/keys",
|
|
2960
2527
|
issuer: "https://login.microsoftonline.us/{tenantid}/v2.0",
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
authorization_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/authorize",
|
|
2964
|
-
device_authorization_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/devicecode",
|
|
2965
|
-
http_logout_supported: true,
|
|
2966
|
-
frontchannel_logout_supported: true,
|
|
2967
|
-
end_session_endpoint: "https://login.microsoftonline.us/organizations/oauth2/v2.0/logout",
|
|
2968
|
-
claims_supported: [
|
|
2969
|
-
"sub",
|
|
2970
|
-
"iss",
|
|
2971
|
-
"cloud_instance_name",
|
|
2972
|
-
"cloud_instance_host_name",
|
|
2973
|
-
"cloud_graph_host_name",
|
|
2974
|
-
"msgraph_host",
|
|
2975
|
-
"aud",
|
|
2976
|
-
"exp",
|
|
2977
|
-
"iat",
|
|
2978
|
-
"auth_time",
|
|
2979
|
-
"acr",
|
|
2980
|
-
"nonce",
|
|
2981
|
-
"preferred_username",
|
|
2982
|
-
"name",
|
|
2983
|
-
"tid",
|
|
2984
|
-
"ver",
|
|
2985
|
-
"at_hash",
|
|
2986
|
-
"c_hash",
|
|
2987
|
-
"email",
|
|
2988
|
-
],
|
|
2989
|
-
kerberos_endpoint: "https://login.microsoftonline.us/organizations/kerberos",
|
|
2990
|
-
tenant_region_scope: null,
|
|
2991
|
-
cloud_instance_name: "microsoftonline.us",
|
|
2992
|
-
cloud_graph_host_name: "graph.windows.net",
|
|
2993
|
-
msgraph_host: "graph.microsoft.com",
|
|
2994
|
-
rbac_url: "https://pasff.usgovcloudapi.net",
|
|
2528
|
+
authorization_endpoint: "https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/authorize",
|
|
2529
|
+
end_session_endpoint: "https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/logout",
|
|
2995
2530
|
},
|
|
2996
2531
|
},
|
|
2997
2532
|
instanceDiscoveryMetadata: {
|
|
2998
2533
|
tenant_discovery_endpoint: "https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",
|
|
2999
|
-
"api-version": "1.1",
|
|
3000
2534
|
metadata: [
|
|
3001
2535
|
{
|
|
3002
2536
|
preferred_network: "login.microsoftonline.com",
|
|
@@ -3105,7 +2639,7 @@
|
|
|
3105
2639
|
return null;
|
|
3106
2640
|
}
|
|
3107
2641
|
|
|
3108
|
-
/*! @azure/msal-common v14.6.
|
|
2642
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
3109
2643
|
|
|
3110
2644
|
/*
|
|
3111
2645
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4345,7 +3879,7 @@
|
|
|
4345
3879
|
}
|
|
4346
3880
|
}
|
|
4347
3881
|
|
|
4348
|
-
/*! @azure/msal-common v14.6.
|
|
3882
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4349
3883
|
|
|
4350
3884
|
/*
|
|
4351
3885
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4445,7 +3979,7 @@
|
|
|
4445
3979
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4446
3980
|
}
|
|
4447
3981
|
|
|
4448
|
-
/*! @azure/msal-common v14.6.
|
|
3982
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4449
3983
|
|
|
4450
3984
|
/*
|
|
4451
3985
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4462,7 +3996,7 @@
|
|
|
4462
3996
|
}
|
|
4463
3997
|
}
|
|
4464
3998
|
|
|
4465
|
-
/*! @azure/msal-common v14.6.
|
|
3999
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4466
4000
|
|
|
4467
4001
|
/*
|
|
4468
4002
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4560,7 +4094,7 @@
|
|
|
4560
4094
|
}
|
|
4561
4095
|
}
|
|
4562
4096
|
|
|
4563
|
-
/*! @azure/msal-common v14.6.
|
|
4097
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4564
4098
|
|
|
4565
4099
|
/*
|
|
4566
4100
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4597,7 +4131,7 @@
|
|
|
4597
4131
|
}
|
|
4598
4132
|
}
|
|
4599
4133
|
|
|
4600
|
-
/*! @azure/msal-common v14.6.
|
|
4134
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4601
4135
|
/*
|
|
4602
4136
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4603
4137
|
* Licensed under the MIT License.
|
|
@@ -4607,7 +4141,7 @@
|
|
|
4607
4141
|
UPN: "UPN",
|
|
4608
4142
|
};
|
|
4609
4143
|
|
|
4610
|
-
/*! @azure/msal-common v14.6.
|
|
4144
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4611
4145
|
/*
|
|
4612
4146
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4613
4147
|
* Licensed under the MIT License.
|
|
@@ -4654,7 +4188,7 @@
|
|
|
4654
4188
|
const LOGIN_HINT = "login_hint";
|
|
4655
4189
|
const DOMAIN_HINT = "domain_hint";
|
|
4656
4190
|
|
|
4657
|
-
/*! @azure/msal-common v14.6.
|
|
4191
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4658
4192
|
|
|
4659
4193
|
/*
|
|
4660
4194
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4738,7 +4272,7 @@
|
|
|
4738
4272
|
}
|
|
4739
4273
|
}
|
|
4740
4274
|
|
|
4741
|
-
/*! @azure/msal-common v14.6.
|
|
4275
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
4742
4276
|
|
|
4743
4277
|
/*
|
|
4744
4278
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5122,7 +4656,7 @@
|
|
|
5122
4656
|
}
|
|
5123
4657
|
}
|
|
5124
4658
|
|
|
5125
|
-
/*! @azure/msal-common v14.6.
|
|
4659
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5126
4660
|
/*
|
|
5127
4661
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5128
4662
|
* Licensed under the MIT License.
|
|
@@ -5134,7 +4668,7 @@
|
|
|
5134
4668
|
response.hasOwnProperty("jwks_uri"));
|
|
5135
4669
|
}
|
|
5136
4670
|
|
|
5137
|
-
/*! @azure/msal-common v14.6.
|
|
4671
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5138
4672
|
/*
|
|
5139
4673
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5140
4674
|
* Licensed under the MIT License.
|
|
@@ -5144,7 +4678,7 @@
|
|
|
5144
4678
|
response.hasOwnProperty("metadata"));
|
|
5145
4679
|
}
|
|
5146
4680
|
|
|
5147
|
-
/*! @azure/msal-common v14.6.
|
|
4681
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5148
4682
|
/*
|
|
5149
4683
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5150
4684
|
* Licensed under the MIT License.
|
|
@@ -5154,7 +4688,7 @@
|
|
|
5154
4688
|
response.hasOwnProperty("error_description"));
|
|
5155
4689
|
}
|
|
5156
4690
|
|
|
5157
|
-
/*! @azure/msal-common v14.6.
|
|
4691
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5158
4692
|
/*
|
|
5159
4693
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5160
4694
|
* Licensed under the MIT License.
|
|
@@ -5409,7 +4943,7 @@
|
|
|
5409
4943
|
"multiMatchedRT",
|
|
5410
4944
|
]);
|
|
5411
4945
|
|
|
5412
|
-
/*! @azure/msal-common v14.6.
|
|
4946
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5413
4947
|
/*
|
|
5414
4948
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5415
4949
|
* Licensed under the MIT License.
|
|
@@ -5495,7 +5029,7 @@
|
|
|
5495
5029
|
};
|
|
5496
5030
|
};
|
|
5497
5031
|
|
|
5498
|
-
/*! @azure/msal-common v14.6.
|
|
5032
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5499
5033
|
|
|
5500
5034
|
/*
|
|
5501
5035
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5604,7 +5138,7 @@
|
|
|
5604
5138
|
},
|
|
5605
5139
|
};
|
|
5606
5140
|
|
|
5607
|
-
/*! @azure/msal-common v14.6.
|
|
5141
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
5608
5142
|
|
|
5609
5143
|
/*
|
|
5610
5144
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5616,7 +5150,7 @@
|
|
|
5616
5150
|
* @internal
|
|
5617
5151
|
*/
|
|
5618
5152
|
class Authority {
|
|
5619
|
-
constructor(authority, networkInterface, cacheManager, authorityOptions, logger,
|
|
5153
|
+
constructor(authority, networkInterface, cacheManager, authorityOptions, logger, correlationId, performanceClient) {
|
|
5620
5154
|
this.canonicalAuthority = authority;
|
|
5621
5155
|
this._canonicalAuthority.validateAsUri();
|
|
5622
5156
|
this.networkInterface = networkInterface;
|
|
@@ -5853,6 +5387,10 @@
|
|
|
5853
5387
|
this.updateCachedMetadata(metadataEntity, cloudDiscoverySource, {
|
|
5854
5388
|
source: endpointSource,
|
|
5855
5389
|
});
|
|
5390
|
+
this.performanceClient?.addFields({
|
|
5391
|
+
cloudDiscoverySource: cloudDiscoverySource,
|
|
5392
|
+
authorityEndpointSource: endpointSource,
|
|
5393
|
+
}, this.correlationId);
|
|
5856
5394
|
}
|
|
5857
5395
|
/**
|
|
5858
5396
|
* Returns metadata entity from cache if it exists, otherwiser returns a new metadata entity built
|
|
@@ -6044,8 +5582,8 @@
|
|
|
6044
5582
|
* Get OAuth endpoints for common authorities.
|
|
6045
5583
|
*/
|
|
6046
5584
|
getEndpointMetadataFromHardcodedValues() {
|
|
6047
|
-
if (this.
|
|
6048
|
-
return EndpointMetadata[this.
|
|
5585
|
+
if (this.hostnameAndPort in EndpointMetadata) {
|
|
5586
|
+
return EndpointMetadata[this.hostnameAndPort];
|
|
6049
5587
|
}
|
|
6050
5588
|
return null;
|
|
6051
5589
|
}
|
|
@@ -6433,57 +5971,43 @@
|
|
|
6433
5971
|
};
|
|
6434
5972
|
}
|
|
6435
5973
|
|
|
6436
|
-
/*! @azure/msal-common v14.6.
|
|
5974
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6437
5975
|
|
|
6438
5976
|
/*
|
|
6439
5977
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6440
5978
|
* Licensed under the MIT License.
|
|
6441
5979
|
*/
|
|
6442
|
-
/**
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
return acquireTokenAuthority;
|
|
6462
|
-
}
|
|
6463
|
-
catch (e) {
|
|
6464
|
-
throw createClientAuthError(endpointResolutionError);
|
|
6465
|
-
}
|
|
5980
|
+
/**
|
|
5981
|
+
* Create an authority object of the correct type based on the url
|
|
5982
|
+
* Performs basic authority validation - checks to see if the authority is of a valid type (i.e. aad, b2c, adfs)
|
|
5983
|
+
*
|
|
5984
|
+
* Also performs endpoint discovery.
|
|
5985
|
+
*
|
|
5986
|
+
* @param authorityUri
|
|
5987
|
+
* @param networkClient
|
|
5988
|
+
* @param protocolMode
|
|
5989
|
+
* @internal
|
|
5990
|
+
*/
|
|
5991
|
+
async function createDiscoveredInstance(authorityUri, networkClient, cacheManager, authorityOptions, logger, correlationId, performanceClient) {
|
|
5992
|
+
performanceClient?.addQueueMeasurement(PerformanceEvents.AuthorityFactoryCreateDiscoveredInstance, correlationId);
|
|
5993
|
+
const authorityUriFinal = Authority.transformCIAMAuthority(formatAuthorityUri(authorityUri));
|
|
5994
|
+
// Initialize authority and perform discovery endpoint check.
|
|
5995
|
+
const acquireTokenAuthority = new Authority(authorityUriFinal, networkClient, cacheManager, authorityOptions, logger, correlationId, performanceClient);
|
|
5996
|
+
try {
|
|
5997
|
+
await invokeAsync(acquireTokenAuthority.resolveEndpointsAsync.bind(acquireTokenAuthority), PerformanceEvents.AuthorityResolveEndpointsAsync, logger, performanceClient, correlationId)();
|
|
5998
|
+
return acquireTokenAuthority;
|
|
6466
5999
|
}
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
* Performs basic authority validation - checks to see if the authority is of a valid type (i.e. aad, b2c, adfs)
|
|
6470
|
-
*
|
|
6471
|
-
* Does not perform endpoint discovery.
|
|
6472
|
-
*
|
|
6473
|
-
* @param authorityUrl
|
|
6474
|
-
* @param networkInterface
|
|
6475
|
-
* @param protocolMode
|
|
6476
|
-
*/
|
|
6477
|
-
static createInstance(authorityUrl, networkInterface, cacheManager, authorityOptions, logger, performanceClient, correlationId) {
|
|
6478
|
-
// Throw error if authority url is empty
|
|
6479
|
-
if (!authorityUrl) {
|
|
6480
|
-
throw createClientConfigurationError(urlEmptyError);
|
|
6481
|
-
}
|
|
6482
|
-
return new Authority(authorityUrl, networkInterface, cacheManager, authorityOptions, logger, performanceClient, correlationId);
|
|
6000
|
+
catch (e) {
|
|
6001
|
+
throw createClientAuthError(endpointResolutionError);
|
|
6483
6002
|
}
|
|
6484
6003
|
}
|
|
6485
6004
|
|
|
6486
|
-
|
|
6005
|
+
var AuthorityFactory = /*#__PURE__*/Object.freeze({
|
|
6006
|
+
__proto__: null,
|
|
6007
|
+
createDiscoveredInstance: createDiscoveredInstance
|
|
6008
|
+
});
|
|
6009
|
+
|
|
6010
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6487
6011
|
|
|
6488
6012
|
/*
|
|
6489
6013
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6570,7 +6094,7 @@
|
|
|
6570
6094
|
async updateAuthority(cloudInstanceHostname, correlationId) {
|
|
6571
6095
|
this.performanceClient?.addQueueMeasurement(PerformanceEvents.UpdateTokenEndpointAuthority, correlationId);
|
|
6572
6096
|
const cloudInstanceAuthorityUri = `https://${cloudInstanceHostname}/${this.authority.tenant}/`;
|
|
6573
|
-
const cloudInstanceAuthority = await
|
|
6097
|
+
const cloudInstanceAuthority = await createDiscoveredInstance(cloudInstanceAuthorityUri, this.networkClient, this.cacheManager, this.authority.options, this.logger, correlationId, this.performanceClient);
|
|
6574
6098
|
this.authority = cloudInstanceAuthority;
|
|
6575
6099
|
}
|
|
6576
6100
|
/**
|
|
@@ -6586,7 +6110,7 @@
|
|
|
6586
6110
|
}
|
|
6587
6111
|
}
|
|
6588
6112
|
|
|
6589
|
-
/*! @azure/msal-common v14.6.
|
|
6113
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6590
6114
|
/*
|
|
6591
6115
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6592
6116
|
* Licensed under the MIT License.
|
|
@@ -6612,7 +6136,7 @@
|
|
|
6612
6136
|
refreshTokenExpired: refreshTokenExpired
|
|
6613
6137
|
});
|
|
6614
6138
|
|
|
6615
|
-
/*! @azure/msal-common v14.6.
|
|
6139
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6616
6140
|
|
|
6617
6141
|
/*
|
|
6618
6142
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6699,7 +6223,7 @@
|
|
|
6699
6223
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6700
6224
|
}
|
|
6701
6225
|
|
|
6702
|
-
/*! @azure/msal-common v14.6.
|
|
6226
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6703
6227
|
/*
|
|
6704
6228
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6705
6229
|
* Licensed under the MIT License.
|
|
@@ -6715,7 +6239,7 @@
|
|
|
6715
6239
|
}
|
|
6716
6240
|
}
|
|
6717
6241
|
|
|
6718
|
-
/*! @azure/msal-common v14.6.
|
|
6242
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6719
6243
|
|
|
6720
6244
|
/*
|
|
6721
6245
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6787,7 +6311,7 @@
|
|
|
6787
6311
|
}
|
|
6788
6312
|
}
|
|
6789
6313
|
|
|
6790
|
-
/*! @azure/msal-common v14.6.
|
|
6314
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6791
6315
|
|
|
6792
6316
|
/*
|
|
6793
6317
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6872,7 +6396,7 @@
|
|
|
6872
6396
|
}
|
|
6873
6397
|
}
|
|
6874
6398
|
|
|
6875
|
-
/*! @azure/msal-common v14.6.
|
|
6399
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6876
6400
|
/*
|
|
6877
6401
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6878
6402
|
* Licensed under the MIT License.
|
|
@@ -6899,7 +6423,7 @@
|
|
|
6899
6423
|
}
|
|
6900
6424
|
}
|
|
6901
6425
|
|
|
6902
|
-
/*! @azure/msal-common v14.6.
|
|
6426
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
6903
6427
|
|
|
6904
6428
|
/*
|
|
6905
6429
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7252,7 +6776,7 @@
|
|
|
7252
6776
|
return baseAccount;
|
|
7253
6777
|
}
|
|
7254
6778
|
|
|
7255
|
-
/*! @azure/msal-common v14.6.
|
|
6779
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
7256
6780
|
|
|
7257
6781
|
/*
|
|
7258
6782
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7657,7 +7181,7 @@
|
|
|
7657
7181
|
}
|
|
7658
7182
|
}
|
|
7659
7183
|
|
|
7660
|
-
/*! @azure/msal-common v14.6.
|
|
7184
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
7661
7185
|
|
|
7662
7186
|
/*
|
|
7663
7187
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7864,7 +7388,7 @@
|
|
|
7864
7388
|
}
|
|
7865
7389
|
}
|
|
7866
7390
|
|
|
7867
|
-
/*! @azure/msal-common v14.6.
|
|
7391
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
7868
7392
|
|
|
7869
7393
|
/*
|
|
7870
7394
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7995,7 +7519,7 @@
|
|
|
7995
7519
|
}
|
|
7996
7520
|
}
|
|
7997
7521
|
|
|
7998
|
-
/*! @azure/msal-common v14.6.
|
|
7522
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
7999
7523
|
|
|
8000
7524
|
/*
|
|
8001
7525
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8010,7 +7534,7 @@
|
|
|
8010
7534
|
},
|
|
8011
7535
|
};
|
|
8012
7536
|
|
|
8013
|
-
/*! @azure/msal-common v14.6.
|
|
7537
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8014
7538
|
/*
|
|
8015
7539
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8016
7540
|
* Licensed under the MIT License.
|
|
@@ -8018,7 +7542,7 @@
|
|
|
8018
7542
|
const missingKidError = "missing_kid_error";
|
|
8019
7543
|
const missingAlgError = "missing_alg_error";
|
|
8020
7544
|
|
|
8021
|
-
/*! @azure/msal-common v14.6.
|
|
7545
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8022
7546
|
|
|
8023
7547
|
/*
|
|
8024
7548
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8043,7 +7567,7 @@
|
|
|
8043
7567
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8044
7568
|
}
|
|
8045
7569
|
|
|
8046
|
-
/*! @azure/msal-common v14.6.
|
|
7570
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8047
7571
|
|
|
8048
7572
|
/*
|
|
8049
7573
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8083,7 +7607,7 @@
|
|
|
8083
7607
|
}
|
|
8084
7608
|
}
|
|
8085
7609
|
|
|
8086
|
-
/*! @azure/msal-common v14.6.
|
|
7610
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8087
7611
|
|
|
8088
7612
|
/*
|
|
8089
7613
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8141,7 +7665,7 @@
|
|
|
8141
7665
|
}
|
|
8142
7666
|
}
|
|
8143
7667
|
|
|
8144
|
-
/*! @azure/msal-common v14.6.
|
|
7668
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8145
7669
|
|
|
8146
7670
|
/*
|
|
8147
7671
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8345,7 +7869,7 @@
|
|
|
8345
7869
|
}
|
|
8346
7870
|
}
|
|
8347
7871
|
|
|
8348
|
-
/*! @azure/msal-common v14.6.
|
|
7872
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8349
7873
|
|
|
8350
7874
|
/*
|
|
8351
7875
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8424,7 +7948,7 @@
|
|
|
8424
7948
|
}
|
|
8425
7949
|
}
|
|
8426
7950
|
|
|
8427
|
-
/*! @azure/msal-common v14.6.
|
|
7951
|
+
/*! @azure/msal-common v14.6.1 2024-01-23 */
|
|
8428
7952
|
|
|
8429
7953
|
/*
|
|
8430
7954
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9824,7 +9348,7 @@
|
|
|
9824
9348
|
|
|
9825
9349
|
/* eslint-disable header/header */
|
|
9826
9350
|
const name = "@azure/msal-browser";
|
|
9827
|
-
const version = "3.7.
|
|
9351
|
+
const version = "3.7.1";
|
|
9828
9352
|
|
|
9829
9353
|
/*
|
|
9830
9354
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -12659,12 +12183,9 @@
|
|
|
12659
12183
|
cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
|
|
12660
12184
|
authorityMetadata: this.config.auth.authorityMetadata,
|
|
12661
12185
|
};
|
|
12662
|
-
|
|
12663
|
-
|
|
12664
|
-
|
|
12665
|
-
}
|
|
12666
|
-
this.logger.verbose("Creating discovered authority with configured authority");
|
|
12667
|
-
return AuthorityFactory.createDiscoveredInstance(this.config.auth.authority, this.config.system.networkClient, this.browserStorage, authorityOptions, this.logger);
|
|
12186
|
+
const authority = requestAuthority || this.config.auth.authority;
|
|
12187
|
+
this.logger.verbose(`Creating discovered authority with ${authority}`);
|
|
12188
|
+
return createDiscoveredInstance(authority, this.config.system.networkClient, this.browserStorage, authorityOptions, this.logger, this.correlationId, this.performanceClient);
|
|
12668
12189
|
}
|
|
12669
12190
|
}
|
|
12670
12191
|
|
|
@@ -12906,7 +12427,7 @@
|
|
|
12906
12427
|
: this.config.auth.authority;
|
|
12907
12428
|
// fall back to the authority from config
|
|
12908
12429
|
const builtAuthority = Authority.generateAuthority(userAuthority, requestAzureCloudOptions || this.config.auth.azureCloudOptions);
|
|
12909
|
-
return invokeAsync(
|
|
12430
|
+
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);
|
|
12910
12431
|
}
|
|
12911
12432
|
/**
|
|
12912
12433
|
* Helper to initialize required request parameters for interactive APIs and ssoSilent()
|
|
@@ -15219,7 +14740,7 @@
|
|
|
15219
14740
|
authorityMetadata: this.config.auth.authorityMetadata,
|
|
15220
14741
|
skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache,
|
|
15221
14742
|
};
|
|
15222
|
-
authority = new Authority(authorityUrl, this.config.system.networkClient, this.storage, authorityOptions, this.logger);
|
|
14743
|
+
authority = new Authority(authorityUrl, this.config.system.networkClient, this.storage, authorityOptions, this.logger, request.correlationId || createNewGuid());
|
|
15223
14744
|
// "clientInfo" from options takes precedence over "clientInfo" in response
|
|
15224
14745
|
if (options.clientInfo) {
|
|
15225
14746
|
this.logger.trace("TokenCache - homeAccountId from options");
|
|
@@ -16652,13 +16173,19 @@
|
|
|
16652
16173
|
throw error;
|
|
16653
16174
|
});
|
|
16654
16175
|
this.activeSilentTokenRequests.set(silentRequestKey, response);
|
|
16655
|
-
return
|
|
16176
|
+
return {
|
|
16177
|
+
...(await response),
|
|
16178
|
+
state: request.state,
|
|
16179
|
+
};
|
|
16656
16180
|
}
|
|
16657
16181
|
else {
|
|
16658
16182
|
this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call", correlationId);
|
|
16659
16183
|
// Discard measurements for memoized calls, as they are usually only a couple of ms and will artificially deflate metrics
|
|
16660
16184
|
atsMeasurement.discard();
|
|
16661
|
-
return
|
|
16185
|
+
return {
|
|
16186
|
+
...(await cachedResponse),
|
|
16187
|
+
state: request.state,
|
|
16188
|
+
};
|
|
16662
16189
|
}
|
|
16663
16190
|
}
|
|
16664
16191
|
/**
|