jose/docs/interfaces/_jwt_verify_.jwtverifygetkey.md
2021-03-12 16:56:56 +01:00

852 B

Interface: JWTVerifyGetKey

Interface for JWT Verification dynamic key resolution. No token components have been verified at the time of this function call.

Callable

▸ (protectedHeader: JWSHeaderParameters, token: FlattenedJWSInput): Promise<KeyLike>

Defined in src/types.d.ts:79

Interface for JWT Verification dynamic key resolution. No token components have been verified at the time of this function call.

Parameters:

Name Type
protectedHeader JWSHeaderParameters
token FlattenedJWSInput

Returns: Promise<KeyLike>