View as Markdown

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

Parameters

tokenstringRequired
jwksJWKSRequired
expectAuthorityProofExpectRequired
nowint64Required
holder*MandateHolderRequired
statusAuthorityProofStatusRequired

Returns

AuthorityProofResult

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.