SDK reference · Verifiers
VerifyAuthorityProofOnline
VerifyAuthorityProofOnline in go.provenanceauth.com/verify (Go), Verifiers. VerifyAuthorityProofOnline is VerifyAuthorityProof after the online status check: only "active" holds; "used", "revoked" and "expired" fail, and an empty or unknown status is status_unavailable (a failed call never passes).
Signature
provenanceverify.VerifyAuthorityProofOnline(token string, jwks JWKS, expect AuthorityProofExpect, now int64, holder *MandateHolder, status AuthorityProofStatus) AuthorityProofResultParameters
tokenstringRequiredjwksJWKSRequiredexpectAuthorityProofExpectRequirednowint64Requiredholder*MandateHolderRequiredstatusAuthorityProofStatusRequired
Returns
AuthorityProofResult
HTTP operation
Runs locally, with no request to the API.