t3hmrman/casgo

Generalize authentication method

Closed this issue · 1 comments

Allow authentication methods to be swappable -- add a small interface.

Right now email/password is allowed, but allow for others like:

  • LDAP
  • G+
  • Github
  • FB

So that development of those other auth methods are just implentations of the interface

Done, currently the authMethod configuration setting allows for "password" but could easily allow for the other types of auth (when they're added)