mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
Update jsonwebtoken.d.ts for 7.1.6 (#10155)
This commit is contained in:
committed by
Mohamed Hegazy
parent
1df8038e7e
commit
150227f187
Vendored
+6
-3
@@ -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