Skip to content

Instantly share code, notes, and snippets.

@bhameyie
Created June 17, 2013 01:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhameyie/5794097 to your computer and use it in GitHub Desktop.
Save bhameyie/5794097 to your computer and use it in GitHub Desktop.
Base secure Module class for NancyFx
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