@sap-cloud-sdk/connectivity
Version:
SAP Cloud SDK for JavaScript connectivity
9 lines (8 loc) • 423 B
TypeScript
import type { DestinationOptions } from './destination';
/**
* @internal
* Checks whether the IAS token to XSUAA token exchange should be applied.
* @param options - Configuration for how to retrieve destinations from the destination service.
* @returns A boolean value, that indicates whether the token exchange should be applied.
*/
export declare function shouldExchangeToken(options: DestinationOptions): boolean;