[DEV] Hooking in a new auth method

Hi,

I’m extending MM open-source to integrate with our PoC authentication environment. I was planning to just hook it into enterprise.go, since that is already called in the code (calls s.initEnterprise from app/server.go), even if this is the non-commercial version / feature.

The calls in enterprise.go however are part of the Server interface, and I see no equivalent of the same in the App interface, which some enterprise modules expect (RegisterNotificationInterface for example). What is the correct way to make this work ?

And no, the existing flows cannot be used in this case.