Skip to content

Commit 07e7718

Browse files
retr00exejfromaniello
authored andcommitted
docs: fix tiny typo
1 parent 6348dca commit 07e7718

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ $ npm install express-jwt
1212

1313
`expressjwt(options)`
1414

15-
Options has the following paramters:
15+
Options has the following parameters:
1616

17-
- `secret: jwt.Secret | GetVerificationKey` (required): The secret as an string or a function to retrieve the secret.
17+
- `secret: jwt.Secret | GetVerificationKey` (required): The secret as a string or a function to retrieve the secret.
1818
- `getToken?: TokenGetter` (optional): A function that receives the express `Request` and returns the token, by default it looks in the `Authorization` header.
1919
- `isRevoked?: IsRevoked` (optional): A function to verify if a token is revoked.
2020
- `credentialsRequired?: boolean` (optional): If its false, continue to the next middleware if the request does not contain a token instead of failing, defaults to true.
21-
- `requestProperty?: string` (optional): name of the property in the request object where the payload is set. Default to `req.auth`.
21+
- `requestProperty?: string` (optional): Name of the property in the request object where the payload is set. Default to `req.auth`.
2222
- Plus... all the options available in the [jsonwebtoken verify function](https://github.com/auth0/node-jsonwebtoken#jwtverifytoken-secretorpublickey-options-callback).
2323

2424
The available functions have the following interface:

0 commit comments

Comments
 (0)