mirror of
https://github.com/danbulant/jose
synced 2026-05-21 21:39:04 +00:00
1.1 KiB
1.1 KiB
Interface: GeneralVerifyGetKey
jws/general/verify.GeneralVerifyGetKey
Hierarchy
-
GetKeyFunction<JWSHeaderParameters,FlattenedJWSInput>↳
GeneralVerifyGetKey
Callable
GeneralVerifyGetKey
▸ GeneralVerifyGetKey(protectedHeader, token): Promise<KeyLike>
Interface for General 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 |
JWSHeaderParameters |
token |
FlattenedJWSInput |
Returns
Promise<KeyLike>