Files
PayDirt/node_modules/@azure/msal-common/dist/utils/ClientAssertionUtils.mjs
RochesterX 6e820464d5 Initial
2025-11-12 10:13:24 -05:00

22 lines
577 B
JavaScript

/*! @azure/msal-common v15.13.0 2025-09-24 */
'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