@villedemontreal/jwt-validator
Version:
Module to validate JWT (JSON Web Tokens)
16 lines • 706 B
TypeScript
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