SDK reference · Verifiers
verify_authority_proof
verify_authority_proof in provenanceauth-verify (Python), Verifiers. Check an authority proof; see the module docstring.
Signature
provenanceauth_verify.verify_authority_proof(token: str, jwks: dict, expect: Optional[dict] = …, holder: Optional[dict] = …, online: bool = …, api_base: Optional[str] = …, status: Optional[dict] = …, now_ms: Optional[int] = …, timeout: float = …) -> AuthorityProofResultParameters
tokenstrRequiredjwksdictRequiredexpectOptional[dict]holderOptional[dict]onlineboolapi_baseOptional[str]statusOptional[dict]now_msOptional[int]timeoutfloat
Returns
AuthorityProofResult
HTTP operation
Runs locally, with no request to the API.