1.0.0 • Published 10 years ago

product-monitor.plugin.github-auth v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
10 years ago

Product Monitor Github Auth Plugin

Adds github authentication to product monitor, and enables the secure pages feature.

Development

npm install
npm test

Exposed methods

plugin()

Creates a new instance of the plugin.

var plugin = require('product-monitor.plugin.github-auth')();

plugin.apply(app)

Applies the plugin to a product-monitor app.

  • Enables authentication via github
  • Enables the secure pages feature of product-monitor

plugin.info()

Returns the name, description, and keywords for the plugin:

{
    name: 'product-monitor.plugin.github-auth',
    description: 'Adds github authentication to product monitor, and enables the secure pages feature',
    keywords: [
      'product-monitor',
      'nodejs',
      'plugin',
      'passport',
      'local-auth'
    ]
}

plugin.getConfig()

Returns the config applied to the plugin.

plugin.setConfig(pluginConfig)

Changes the config applied to the plugin.

Change Log

1.0.0

  • Initial release