# 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](https://provenanceauth.com/docs/sdks/python/mandate-intents/biometric-challenge.md)

```python
prov.mandate.intents.biometric_challenge() -> Any
```

Calls `POST /v1/mandate/biometric_challenges`.

### [create](https://provenanceauth.com/docs/sdks/python/mandate-intents/create.md)

```python
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 = …) -> Any
```

Mint an intent token.

Calls `POST /v1/mandate/intents`.

### [get](https://provenanceauth.com/docs/sdks/python/mandate-intents/get.md)

```python
prov.mandate.intents.get(jti: str) -> Any
```

The issuer's view of one token: revoked, with the scope and reason.

Calls `GET /v1/mandate/intents/{id}`.

### [create_with_approval](https://provenanceauth.com/docs/sdks/python/mandate-intents/create-with-approval.md)

```python
prov.mandate.intents.create_with_approval(poll_ms: int = …, timeout_ms: int = …, **create_kwargs: Any = …) -> Any
```

Create a checkout step-up (`approval=`) and poll until the person decides or `timeout_ms` elapses.
