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) MandateResultParameters
tokenstringRequiredjwksJWKSRequiredneed*MandateNeedRequirednowint64Required
Returns
MandateResult
HTTP operation
Runs locally, with no request to the API.