mirror of
https://github.com/danbulant/jose
synced 2026-05-25 04:51:47 +00:00
1.1 KiB
1.1 KiB
Interface: FlattenedVerifyGetKey
jws/flattened/verify.FlattenedVerifyGetKey
Hierarchy
-
GetKeyFunction<JWSHeaderParameters|undefined,FlattenedJWSInput>↳
FlattenedVerifyGetKey
Callable
FlattenedVerifyGetKey
▸ FlattenedVerifyGetKey(protectedHeader, token): Promise<KeyLike>
Interface for Flattened JWS Verification dynamic key resolution. No token components have been verified at the time of this function call.
See createRemoteJWKSet to verify using a remote JSON Web Key Set.
Parameters
| Name | Type |
|---|---|
protectedHeader |
undefined | JWSHeaderParameters |
token |
FlattenedJWSInput |
Returns
Promise<KeyLike>