passport-authorizer
Install
$ npm install passport-authorizer
Usage
passport;
Parameters
By default, AuthorizerStrategy
expects to find authorizer in parameters named reqPropKey. If your site prefers to name these fields differently, options are available to change the defaults.
passport;
When session support is not necessary, it can be safely disabled by setting the session option to false.
The verify callback can be supplied with the request
object by setting the passReqToCallback
option to true, and changing callback arguments accordingly.
passport;
Authenticate Requests
app;