lavinmq
lavinmq copied to clipboard
Support Multiple Authentication Methods
We want to support multiple authentication methods in LavinMQ, and we have specifically gotten requests for Oauth2 and HTTP auth backends.
We can achieve this by extracting the current authentication process, and introducing the class Authenticator, handling the authentication process for a single method. Authenticators can then be chained to provide multi-protocol support.