@villedemontreal/jwt-validator
Version:
Module to validate JWT (JSON Web Tokens)
13 lines (11 loc) • 391 B
text/typescript
import { init } from '../config/init';
import { getTestingLoggerCreator } from '../utils/logger';
/**
* Call this when your need to set
* *Testing* configurations to the current
* library, without the need for a calling code
* to do so.
*/
export function setTestingConfigurations(): void {
init(getTestingLoggerCreator(), () => 'test-cid', 'https://api.dev.interne.montreal.ca');
}