Skip to content

Commit

Permalink
make algorithms a required parameter in types. closes #285
Browse files Browse the repository at this point in the history
  • Loading branch information
jfromaniello committed May 2, 2022
1 parent 03c8419 commit 097a1df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type Params = {
isRevoked?: IsRevoked,
credentialsRequired?: boolean,
requestProperty?: string,
algorithms: jwt.Algorithm[] | undefined;
} & jwt.VerifyOptions;

export { UnauthorizedError } from './errors/UnauthorizedError';
Expand Down

0 comments on commit 097a1df

Please sign in to comment.