UNPKG

@villedemontreal/jwt-validator

Version:
16 lines 706 B
import { ILogger } from '@villedemontreal/logger'; /** * Inits the library. */ export declare function init(loggerCreator: (name: string) => ILogger, correlationIdProvider: () => string, host: string, endpoint?: string, fetchKeysParameters?: string, cacheDuration?: number, urlCaseSensitive?: boolean): void; /** * Is the library properly initialized? * * This function MUST be named "isInited()"! * Code using this library may loop over all its "@villedemontreal" * dependencies and, if one of those exports a "isInited" fonction, * it will enforce that the lib has been properly initialized before * starting... */ export declare function isInited(): boolean; //# sourceMappingURL=init.d.ts.map