poelstra / mhub

Simple, flexible message hub using websockets
MIT License
9 stars 7 forks source link

Backed authenticator #19

Closed rikkertkoppes closed 4 years ago

rikkertkoppes commented 4 years ago

More flexible authenthicator, to allow for a db backed authentication

Let me know what you think. I guess a similar pattern could be applied to authorization as well. Furthermore, I'd probably want to simplify the config for the mserver, as it now needs the full blown normalized config, which is not ideal. But all these are separate pull requests

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 44


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/transports/wsconnection.ts 1 5 20.0%
<!-- Total: 4 8 50.0% -->
Totals Coverage Status
Change from base Build 30: -0.09%
Covered Lines: 542
Relevant Lines: 653

💛 - Coveralls
poelstra commented 4 years ago

Published as 2.1.0 on NPM.