1
Vote

Allow MEF-loaded Authentication HttpModules

description

Since IdentitySources may need to add HttpModules to handle incoming tokens, should we add support for registering HttpModules through MEF? We could create a "MefHttpModule" which imports types exporting the "HttpModule" contract and calls their Init methods in it's own Init method.
 
Possible Problems:
  • Lose all sense of order
  • Easy for an extension to add an HttpModule... maybe that's a bad thing?

comments