UNPKG

700 BTypeScriptView Raw
1import { Cache } from './cache';
2import { ClientCredentials, ClientCredentialsResponse } from './xsuaa-service-types';
3export declare function getGrantTokenCacheKey(url: string, credentialsOrClientId: ClientCredentials | string): string;
4export declare const clientCredentialsTokenCache: {
5 getGrantTokenFromCache: (url: any, credentialsOrClientId: ClientCredentials | string) => ClientCredentialsResponse | undefined;
6 cacheRetrievedToken: (url: any, credentialsOrClientId: ClientCredentials | string, token: ClientCredentialsResponse) => void;
7 clear: () => void;
8 getCacheInstance: () => Cache<ClientCredentialsResponse>;
9};
10//# sourceMappingURL=client-credentials-token-cache.d.ts.map
\No newline at end of file