SDK reference · Verifiers

verify_offer

verify_offer in provenanceauth-verify (Python), Verifiers. Verify a signed offer against the seller's registered keys ([{kty, crv, x, kid, status?}]).

Signature

provenanceauth_verify.verify_offer(offer: str, keys: list, now: Optional[int] = …, buyer_agent_id: Optional[str] = …, seller: Optional[str] = …) -> OfferResult

Parameters

offerstrRequired
keyslistRequired
nowOptional[int]
buyer_agent_idOptional[str]
sellerOptional[str]

Returns

OfferResult

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.