View as Markdown

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] = …) -> MandateResult

Parameters

tokenstrRequired
jwksdictRequired
needOptional[dict]
onlinebool
api_baseOptional[str]
now_msOptional[int]
timeoutfloat
holderOptional[dict]

Returns

MandateResult

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.