1
0

Add support for JWT header

This commit is contained in:
Alaister Young
2022-03-01 10:21:32 +11:00
parent a2ab208d31
commit 02d24b6709
2 changed files with 4 additions and 3 deletions

1
index.d.ts vendored
View File

@@ -42,6 +42,7 @@ type JWTAlgorithm = 'ES256' | 'ES384' | 'ES512' | 'HS256' | 'HS384' | 'HS512' |
type JWTSignOptions = {
algorithm?: JWTAlgorithm,
keyid?: string
header?: object
}
type JWTVerifyOptions = {