Add support for JWT header
This commit is contained in:
1
index.d.ts
vendored
1
index.d.ts
vendored
@@ -42,6 +42,7 @@ type JWTAlgorithm = 'ES256' | 'ES384' | 'ES512' | 'HS256' | 'HS384' | 'HS512' |
|
||||
type JWTSignOptions = {
|
||||
algorithm?: JWTAlgorithm,
|
||||
keyid?: string
|
||||
header?: object
|
||||
}
|
||||
|
||||
type JWTVerifyOptions = {
|
||||
|
||||
Reference in New Issue
Block a user