View as Markdown

SDK reference · Verifiers

verifyIntentTokenOffline

verifyIntentTokenOffline in @provenanceauth/sdk, Verifiers. Verify an ES256 intent token against a JWKS (authenticity + expiry only).

Signature

verifyIntentTokenOffline(token: string, jwks: Jwks): Promise<OfflineVerifyResult>

Parameters

tokenstringRequired
jwksJwksRequired

Returns

Promise<OfflineVerifyResult>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.