Skip to content

Commit

Permalink
Update strategy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
VivienAdnot committed Mar 19, 2018
1 parent bafdf99 commit d5e4c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var passport = require('passport-strategy')
* (asymmetric) for the given undecoded jwt token string and request
* combination. done has the signature function done(err, secret).
* REQUIRED unless `secretOrKey` is provided.
* jwtFromRequest: (REQUIRED) Function that accepts a reqeust as the only parameter and returns the either JWT as a string or null
* jwtFromRequest: (REQUIRED) Function that accepts a request as the only parameter and returns the either JWT as a string or null
* issuer: If defined issuer will be verified against this value
* audience: If defined audience will be verified against this value
* algorithms: List of strings with the names of the allowed algorithms. For instance, ["HS256", "HS384"].
Expand Down

0 comments on commit d5e4c4e

Please sign in to comment.