Skip to content

Commit

Permalink
Merge pull request #133 from wuppious/master
Browse files Browse the repository at this point in the history
Fix getToken type
  • Loading branch information
sdd authored Aug 28, 2018
2 parents 931e354 + 9122409 commit 9d4d507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ declare namespace jwt {
secret: string | Buffer | SecretLoader;
key?: string;
tokenKey?: string;
getToken?(opts: jwt.Options): string;
getToken?(ctx: Koa.Context, opts: jwt.Options): string;
isRevoked?(ctx: Koa.Context, decodedToken: object, token: string): Promise<boolean>;
passthrough?: boolean;
cookie?: string;
Expand Down

0 comments on commit 9d4d507

Please sign in to comment.