@sap-cloud-sdk/core
Version:
SAP Cloud SDK for JavaScript core
10 lines • 671 B
TypeScript
import { JwtPayload } from 'jsonwebtoken';
import { Cache, IsolationStrategy } from '../cache';
import { Destination } from './destination-service-types';
export declare const destinationServiceCache: {
retrieveDestinationsFromCache: (targetUrl: string, decodedJwt: JwtPayload, isolationStrategy?: IsolationStrategy | undefined) => Destination[] | undefined;
cacheRetrievedDestinations: (destinationServiceUri: string, decodedJwt: JwtPayload, destinations: Destination[], isolationStrategy?: IsolationStrategy | undefined) => void;
clear: () => void;
getCacheInstance: () => Cache<Destination[]>;
};
//# sourceMappingURL=destination-service-cache.d.ts.map