Skip to content

Commit 96214d6

Browse files
committed
Public key's data do not recuire alg property
1 parent 76c1f22 commit 96214d6

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, alg: string } | undefined | null
11+
export type PubkeyData = { cert: string }
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)