Created
June 17, 2013 01:12
-
-
Save bhameyie/5794097 to your computer and use it in GitHub Desktop.
Base secure Module class for NancyFx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class SecureModule : NancyModule | |
{ | |
protected SecureModule():this("") | |
{ | |
} | |
protected SecureModule(string path):base(path) | |
{ | |
this.ShouldBeAuthenticated(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment