mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 06:40:35 +08:00
Update jsonwebtoken.d.ts for 7.1.6 (#10155)
This commit is contained in:
committed by
Mohamed Hegazy
parent
1df8038e7e
commit
150227f187
9
jsonwebtoken/jsonwebtoken.d.ts
vendored
9
jsonwebtoken/jsonwebtoken.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// Type definitions for jsonwebtoken 6.2.0
|
||||
// Type definitions for jsonwebtoken 7.1.6
|
||||
// Project: https://github.com/auth0/node-jsonwebtoken
|
||||
// Definitions by: Maxime LUCE <https://github.com/SomaticIT>, Daniel Heim <https://github.com/danielheim>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -49,14 +49,17 @@ declare module "jsonwebtoken" {
|
||||
jwtid?: string;
|
||||
noTimestamp?: boolean;
|
||||
header?: Object;
|
||||
encoding?: string;
|
||||
}
|
||||
|
||||
export interface VerifyOptions {
|
||||
algorithms?: string[];
|
||||
audience?: string;
|
||||
issuer?: string;
|
||||
audience?: string | string[];
|
||||
clockTolerance?: number;
|
||||
issuer?: string | string[];
|
||||
ignoreExpiration?: boolean;
|
||||
ignoreNotBefore?: boolean;
|
||||
jwtId?: string;
|
||||
subject?: string;
|
||||
/**
|
||||
*@deprecated
|
||||
|
||||
Reference in New Issue
Block a user