Closed khalidabuhakmeh closed 8 years ago
I suppose the decision here is do we want to limit Stuntman to authentication related things only, or if we want to invite and allow other functionality. I'm not outright opposed to expanding its capabilities, and it seems potentially helpful to have a commonly known place for all those little things you could need to do at development time.
Ideally items commonly needed are available on the proposed StuntContext
. If it's to request items from an IoC container, that container will need to be built and ready. Which, could be tricky as we didn't design Stuntman purely for ASP.NET MVC where we can depend on IDependencyResolver
or similar.
Right now Stuntman is focused purely on authentication (with authorization supported thru the use of claims). Would we want to bake this into the main library? Or, should this be a second package? Although, we could potentially use namespaces to accomplish that goal. It seems like a second package might be unnecessary -- just asking the question.
I wonder what @billboga thinks. :smiley:
Stuntman is currently focused on Authentication scenarios, but I believe it can do more.
I would like to propose the idea of a Stunt:
Here is what implementing a stunt may look like in code.
Then you would register this action with the StuntmanOptions
UI