Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 782 Bytes

jws_flattened_verify.FlattenedVerifyGetKey.md

File metadata and controls

24 lines (15 loc) · 782 Bytes

Interface: FlattenedVerifyGetKey

Callable

FlattenedVerifyGetKey

FlattenedVerifyGetKey(protectedHeader, token): Promise<KeyLike | Uint8Array>

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 | Uint8Array>