SDK reference · Verifiers
VerifyDealAcceptance
VerifyDealAcceptance in go.provenanceauth.com/verify (Go), Verifiers. VerifyDealAcceptance is the seller's offline check of a buyer's acceptance token: our ES256 signature against the JWKS, expiry, deal.offer_hash equal to the offer's hash, the seller being the offer's issuer (or seller when set), aud, the revocations passed, and every person the offer (or the buyer) required having approved with the method, tier and terms asked for.
Signature
provenanceverify.VerifyDealAcceptance(token string, offer any, jwks JWKS, seller string, rev *DealRevocations, now int64) AcceptanceResultParameters
tokenstringRequiredofferanyRequiredjwksJWKSRequiredsellerstringRequiredrev*DealRevocationsRequirednowint64Required
Returns
AcceptanceResult
HTTP operation
Runs locally, with no request to the API.