View as Markdown

SDK reference · Verifiers

VerifyMandate

VerifyMandate in go.provenanceauth.com/verify (Go), Verifiers. VerifyMandate checks another agent's mandate token offline (now: unix seconds, 0 = wall clock).

Signature

provenanceverify.VerifyMandate(token string, jwks JWKS, need *MandateNeed, now int64) MandateResult

Parameters

tokenstringRequired
jwksJWKSRequired
need*MandateNeedRequired
nowint64Required

Returns

MandateResult

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.