mirror of
https://github.com/tvytlx/ai-agent-deep-dive.git
synced 2026-04-06 00:54:49 +08:00
11 lines
306 B
JavaScript
11 lines
306 B
JavaScript
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT License.
|
|
export function getIdentityTokenEndpointSuffix(tenantId) {
|
|
if (tenantId === "adfs") {
|
|
return "oauth2/token";
|
|
}
|
|
else {
|
|
return "oauth2/v2.0/token";
|
|
}
|
|
}
|
|
//# sourceMappingURL=identityTokenEndpoint.js.map
|