Skip to main content
Returns the public key set that verifies the tokens signTestToken signs.

Returns

Promise<JSONWebKeySet>

Remarks

The pair is generated once per process and cached, so every call in a suite returns the same set. Pass it as jwks to createTappifyHandler when a test drives the handler itself; createTestClient does that for you.

Example