Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 855 Bytes

jwt_verify.JWTVerifyGetKey.md

File metadata and controls

24 lines (15 loc) · 855 Bytes

Interface: JWTVerifyGetKey

Callable

JWTVerifyGetKey

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

Interface for JWT 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 JWTHeaderParameters
token FlattenedJWSInput

Returns

KeyLike | Uint8Array | Promise<KeyLike | Uint8Array>