mirror of
https://github.com/MeowLynxSea/Proksea.git
synced 2025-07-11 03:44:39 +00:00
22 lines
577 B
JavaScript
22 lines
577 B
JavaScript
/*! @azure/msal-common v14.12.0 2024-06-10 */
|
|
'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
|