Add ability for auth plugins to hook tokens validity

This commit is contained in:
Chocobozzz
2020-04-24 11:33:01 +02:00
committed by Chocobozzz
parent e1c5503114
commit e307e4fce3
16 changed files with 298 additions and 132 deletions

View File

@@ -20,8 +20,7 @@ tokensRouter.post('/token',
tokensRouter.post('/revoke-token',
authenticate,
asyncMiddleware(handleTokenRevocation),
tokenSuccess
asyncMiddleware(handleTokenRevocation)
)
// ---------------------------------------------------------------------------