@sap-cloud-sdk/connectivity
Version:
SAP Cloud SDK for JavaScript connectivity
9 lines (8 loc) • 350 B
TypeScript
import type { Destination } from './destination-service-types';
/**
* @internal
* Set forwarded auth token, if needed.
* @param destination - Destination to set the token on, if needed.
* @param token - Token to forward, if needed.
*/
export declare function setForwardedAuthTokenIfNeeded(destination: Destination, token?: string): Destination;