openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
20 lines (19 loc) • 637 B
JavaScript
import "./credentials-irvgw8Le.js";
import { n as resolveGatewayCredentialsWithSecretInputs } from "./credentials-secret-inputs-B4AcFF94.js";
//#region src/gateway/connection-auth.ts
function toGatewayCredentialOptions(params) {
const { config, ...rest } = params;
return {
cfg: config,
...rest
};
}
/** Resolves gateway connection credentials, including configured SecretRef inputs. */
async function resolveGatewayConnectionAuth(params) {
return await resolveGatewayCredentialsWithSecretInputs({
config: params.config,
...toGatewayCredentialOptions(params)
});
}
//#endregion
export { resolveGatewayConnectionAuth as t };