public static void RequiresAuthentication(this NancyModule module) { module.Before.AddItemToEndOfPipeline(Auth0Authentication.AuthenticateSession); }