mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
78f6028c1b
Previously, logs were not very friendly and it was hard to track a request because of the lack of request ID. Now every log message comes with a header containing: method, path request ID, session ID, IP of the user, date. Moreover, the configurations displayed in the logs have their secrets hidden from this commit.
29 lines
869 B
TypeScript
29 lines
869 B
TypeScript
import winston = require("winston");
|
|
import speakeasy = require("speakeasy");
|
|
import nodemailer = require("nodemailer");
|
|
import session = require("express-session");
|
|
import nedb = require("nedb");
|
|
import ldapjs = require("ldapjs");
|
|
import u2f = require("u2f");
|
|
import RedisSession = require("connect-redis");
|
|
import dovehash = require("dovehash");
|
|
|
|
export type Dovehash = typeof dovehash;
|
|
export type Speakeasy = typeof speakeasy;
|
|
export type Winston = typeof winston;
|
|
export type Session = typeof session;
|
|
export type Nedb = typeof nedb;
|
|
export type Ldapjs = typeof ldapjs;
|
|
export type U2f = typeof u2f;
|
|
export type ConnectRedis = typeof RedisSession;
|
|
|
|
export interface GlobalDependencies {
|
|
u2f: U2f;
|
|
dovehash: Dovehash;
|
|
ldapjs: Ldapjs;
|
|
session: Session;
|
|
ConnectRedis: ConnectRedis;
|
|
winston: Winston;
|
|
speakeasy: Speakeasy;
|
|
nedb: Nedb;
|
|
} |