Skip to content

Commit

Permalink
strategy.js: fixed typo in comment
Browse files Browse the repository at this point in the history
Merge pull request #152 from VivienAdnot/patch-1
  • Loading branch information
mikenicholson authored Nov 5, 2018
2 parents bafdf99 + d5e4c4e commit f204437
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 f204437

Please sign in to comment.