This project is read-only.

Use different Authentication service for a controller

Topics: Customizing Orchard, Writing modules
Jun 19, 2014 at 2:02 PM
Edited Jun 19, 2014 at 2:02 PM
I know how to use the OrchardSuppressDependency and can create my own auth/member services etc, but what I want is to do is use the default auth for the main site, but use my custom one only on my custom controller.

Is this possible, I know we can put [Authorise] in the controller, could something similar be done. Not too sure if it's easy and my brain can't get in gear or if its something much more complicated.