SDK reference · Verifiers
VerifySellerAgent
VerifySellerAgent in go.provenanceauth.com/verify (Go), Verifiers. VerifySellerAgent is the impostor check: agentID sells for this business and signs with kid, according to the business's signed profile.
Signature
provenanceverify.VerifySellerAgent(profile map[string]any, agentID, kid string, jwks JWKS, origin string, now int64) SellerAgentResultParameters
profilemap[string]anyRequiredagentIDRequiredkidstringRequiredjwksJWKSRequiredoriginstringRequirednowint64Required
Returns
SellerAgentResult
HTTP operation
Runs locally, with no request to the API.