preaction / Mercury

A message broker for WebSockets
Other
10 stars 8 forks source link

Pluggable auth #30

Open preaction opened 8 years ago

preaction commented 8 years ago

We need a plugin system that can build pluggable auth modules. This way, Mercury auth can be integrated into existing applications. The API will likely be similar to Mojolicious::Plugin::Authentication, but should probably also allow for using JWT for tokens, which means fetching the user information from the incoming request, and sending the user authentication token upon successful authentication must also be callbacks.