SDK reference · Verifiers
verify_mandate
verify_mandate in provenanceauth-verify (Python), Verifiers. Check another agent's mandate token; see the module docstring.
Signature
provenanceauth_verify.verify_mandate(token: str, jwks: dict, need: Optional[dict] = …, online: bool = …, api_base: Optional[str] = …, now_ms: Optional[int] = …, timeout: float = …, holder: Optional[dict] = …) -> MandateResultParameters
tokenstrRequiredjwksdictRequiredneedOptional[dict]onlineboolapi_baseOptional[str]now_msOptional[int]timeoutfloatholderOptional[dict]
Returns
MandateResult
HTTP operation
Runs locally, with no request to the API.