1
0

Add support for JWT header

This commit is contained in:
Alaister Young
2022-03-01 10:21:32 +11:00
parent e0219ff21f
commit f12cafd9d0
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 = {