Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ If you need to obtain the key dynamically from other sources, you can pass a fun
For example, if the secret varies based on the [issuer](http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html#issDef):

```javascript
var jwt = require("express-jwt");
var { expressjwt: jwt } = require("express-jwt");
var data = require("./data");
var utilities = require("./utilities");

Expand Down Expand Up @@ -201,7 +201,7 @@ It is possible that some tokens will need to be revoked so they cannot be used a
For example, if the `(iss, jti)` claim pair is used to identify a JWT:

```javascript
const jwt = require("express-jwt");
const { expressjwt: jwt } = require("express-jwt");
const data = require("./data");

const isRevokedCallback = async (req, token) => {
Expand Down