Skip to content

Commit ef21cd0

Browse files
committed
Add alg as optional property to PubkeyData
1 parent 8a4d51d commit ef21cd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JwtHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {shim} from "util.promisify"
88
import {MissingKeyIdError} from "./MissingKeyIdError"
99
import {UnknownKeyIdError} from "./UnknownKeyIdError"
1010

11-
export type PubkeyData = { cert: string } | undefined | null
11+
export type PubkeyData = { cert: string, alg?: string } | undefined | null
1212
export type PrivkeyData = { key: string, passphrase: string, alg: string } | undefined | null
1313

1414
export type PubkeyResolver = (keyId: string) => PubkeyData | Promise<PubkeyData>

0 commit comments

Comments
 (0)