mirror of
https://github.com/danbulant/jose
synced 2026-05-19 04:18:52 +00:00
773 B
773 B
Interface: CompactVerifyGetKey
Callable
CompactVerifyGetKey
▸ CompactVerifyGetKey(protectedHeader, token): Promise<KeyLike | Uint8Array>
Interface for Compact 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 |
CompactJWSHeaderParameters |
token |
FlattenedJWSInput |
Returns
Promise<KeyLike | Uint8Array>