We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f31e8c0 commit 9122409Copy full SHA for 9122409
1 file changed
types/index.d.ts
@@ -14,7 +14,7 @@ declare namespace jwt {
14
secret: string | Buffer;
15
key?: string;
16
tokenKey?: string;
17
- getToken?(opts: jwt.Options): string;
+ getToken?(ctx: Koa.Context, opts: jwt.Options): string;
18
isRevoked?(ctx: Koa.Context, decodedToken: object, token: string): Promise<boolean>;
19
passthrough?: boolean;
20
cookie?: string;
0 commit comments