0.0.3-dev • Published 9 years ago

perimeterguard v0.0.3-dev

Weekly downloads
9
License
-
Repository
github
Last release
9 years ago

Perimeter Guard

Perimeter Guard is advanced authentication/authorization middleware for express.js applications. It provides access to basic authentication primitives like: Identity, Permissions.

Future Plans

Before first production ready release it will support OAuth2 set of APIs and integration with Facebook, Twitter and Google. Currently only facebook supported.

Events

Perimeter guard emits multiple events during it's lifetime

  • db_connected
  • db_error
  • oauth_code_compromised

Example:

var guard = new require('perimeterguard')( ... config ... );
...
guard.on('oauth_code_compromised', function(client) {
    // Take actions
});