https://github.com/connected-web/product-monitor.plugin.github-auth
Adds github authentication to product monitor, and enables the secure pages feature
https://github.com/connected-web/product-monitor.plugin.github-auth
Last synced: 4 months ago
JSON representation
Adds github authentication to product monitor, and enables the secure pages feature
- Host: GitHub
- URL: https://github.com/connected-web/product-monitor.plugin.github-auth
- Owner: connected-web
- Created: 2016-01-12T17:42:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-07-19T09:20:18.000Z (almost 6 years ago)
- Last Synced: 2025-10-06T20:12:46.268Z (9 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.
```js
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:
```js
{
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