Outlook_Addin_LLM/node_modules/@azure/msal-common/dist/utils/ClientAssertionUtils.mjs

22 lines
592 B
JavaScript

/*! @azure/msal-common v14.14.1 2024-08-13 */
'use strict';
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
if (typeof clientAssertion === "string") {
return clientAssertion;
}
else {
const config = {
clientId: clientId,
tokenEndpoint: tokenEndpoint,
};
return clientAssertion(config);
}
}
export { getClientAssertion };
//# sourceMappingURL=ClientAssertionUtils.mjs.map