jose/docs/interfaces/_jwt_verify_.jwtverifygetkey.md
2020-12-16 18:45:02 +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>