SDK reference · Verifiers
VerifyMandateOnline
VerifyMandateOnline in go.provenanceauth.com/verify (Go), Verifiers. VerifyMandateOnline is VerifyMandateHolder after an online status check: status is what FetchMandateStatus read for the grant (a failed call is status_unavailable, never this).
Signature
provenanceverify.VerifyMandateOnline(token string, jwks JWKS, need *MandateNeed, now int64, holder *MandateHolder, status MandateStatus) MandateResultParameters
tokenstringRequiredjwksJWKSRequiredneed*MandateNeedRequirednowint64Requiredholder*MandateHolderRequiredstatusMandateStatusRequired
Returns
MandateResult
HTTP operation
Runs locally, with no request to the API.