@sap-cloud-sdk/connectivity
Version:
SAP Cloud SDK for JavaScript connectivity
13 lines (12 loc) • 534 B
TypeScript
import { Cache } from '../cache';
import type { JwtPayload } from '../jsonwebtoken-type';
import type { Destination } from './destination-service-types';
/**
* @internal
*/
export declare const destinationServiceCache: {
retrieveDestinationsFromCache: (targetUrl: string, decodedJwt: JwtPayload) => Destination[] | undefined;
cacheRetrievedDestinations: (destinationServiceUri: string, decodedJwt: JwtPayload, destinations: Destination[]) => void;
clear: () => void;
getCacheInstance: () => Cache<Destination[]>;
};