An extension for Brisk that creates API endpoints, authenticated with OAuth2.
Using npm:
npm install brisk-api
Use the OAuth2 middleware in your express helper, as such:
var oauth = require("brisk-api").oauth;
oauth({
authority: function(){...},
store: ...
model: ...
});
The oauth helper shares the same options as the connect-oauth2 dependency.
...
Initiated by Makis Tracend ( @tracend )
Distributed through Makesites
Released under the MIT license