mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 10:16:32 -05:00
Add AuthMiddleware interface
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
8a36aaaeb4
commit
6de6aa1d89
1 changed files with 5 additions and 0 deletions
5
lib/web/auth/interface.ts
Normal file
5
lib/web/auth/interface.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { Router } from 'express'
|
||||
|
||||
export interface AuthMiddleware {
|
||||
getMiddleware (): Router;
|
||||
}
|
Loading…
Reference in a new issue