UNPKG

@sap-cloud-sdk/core

Version:
10 lines 700 B
import { Cache } from './cache'; import { ClientCredentials, ClientCredentialsResponse } from './xsuaa-service-types'; export declare function getGrantTokenCacheKey(url: string, credentialsOrClientId: ClientCredentials | string): string; export declare const clientCredentialsTokenCache: { getGrantTokenFromCache: (url: any, credentialsOrClientId: ClientCredentials | string) => ClientCredentialsResponse | undefined; cacheRetrievedToken: (url: any, credentialsOrClientId: ClientCredentials | string, token: ClientCredentialsResponse) => void; clear: () => void; getCacheInstance: () => Cache<ClientCredentialsResponse>; }; //# sourceMappingURL=client-credentials-token-cache.d.ts.map