export default class AuthorizationCache { private config; private cache; private disposalTimer; constructor(config: any); dispose(): void; /** * Update token lifetime. * @param series DICOM series instance UID. * @param token The token previously issued. */ update(series: string, token: string): void; /** * Removes all the previously made tokens. */ reset(): void; /** * Validate query string to check if access is granted. * @param req HTTP request. Must contain 'series' query parameter and Authorization http header. * @return True if the access to the series is granted. */ isValid(series: string, token: string): boolean; }