SDK reference · Python SDK
prov.mandate.intents
prov.mandate.intents in the Python SDK: 4 methods. client.mandate.intents: mint an intent token, and read one back.
Methods
biometric_challenge
prov.mandate.intents.biometric_challenge() -> AnyCalls POST /v1/mandate/biometric_challenges.
create
prov.mandate.intents.create(agent_session_id: str, device_id: str, action_description: Optional[str] = …, action_payload: Any = …, mandate_token: Optional[str] = …, biometric_challenge: Optional[str] = …, biometric_assertion: Optional[dict] = …, biometric_type: Optional[str] = …, options: Optional[list] = …, revises: Optional[str] = …, user_agent_suffix: Optional[str] = …, **extra: Any = …) -> AnyMint an intent token.
Calls POST /v1/mandate/intents.
get
prov.mandate.intents.get(jti: str) -> AnyThe issuer's view of one token: revoked, with the scope and reason.
Calls GET /v1/mandate/intents/{id}.
create_with_approval
prov.mandate.intents.create_with_approval(poll_ms: int = …, timeout_ms: int = …, **create_kwargs: Any = …) -> AnyCreate a checkout step-up (approval=) and poll until the person decides or timeout_ms elapses.