View as Markdown

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) SellerAgentResult

Parameters

profilemap[string]anyRequired
agentIDRequired
kidstringRequired
jwksJWKSRequired
originstringRequired
nowint64Required

Returns

SellerAgentResult

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.