Skip to content

Brisk extension to provide an API with OAuth 2.0 authentication

Notifications You must be signed in to change notification settings

brisk-modules/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brisk: API

An extension for Brisk that creates API endpoints, authenticated with OAuth2.

Dependencies

Install

Using npm:

npm install brisk-api

Usage

Use the OAuth2 middleware in your express helper, as such:

var oauth = require("brisk-api").oauth;

oauth({
	authority: function(){...},
	store: ...
	model: ...
});

Options

The oauth helper shares the same options as the connect-oauth2 dependency.

Methods

...

Credits

Initiated by Makis Tracend ( @tracend )

Distributed through Makesites

Released under the MIT license

About

Brisk extension to provide an API with OAuth 2.0 authentication

Resources

Stars

Watchers

Forks

Packages

No packages published