# verify_ap2_user_mandate

verify_ap2_user_mandate in provenanceauth-verify (Python), Verifiers. Verify an AP2 v0.2 mandate SD-JWT (or delegate chain) against `issuers` (`[{"name", "jwks"}]`, your own list) and `expected` (`origin`, `checkout_jwt`, `payee_id`, `amount` in minor units, `currency`).

## Signature

```ts
provenanceauth_verify.verify_ap2_user_mandate(serialized: str, issuers: list, expected: dict, now: Optional[int] = …, kb_max_age_seconds: int = …, accept_chains: bool = …) -> Ap2Result
```

## Parameters

- `serialized` (str)
- `issuers` (list)
- `expected` (dict)
- `now` (Optional[int], optional)
- `kb_max_age_seconds` (int, optional)
- `accept_chains` (bool, optional)

## Returns

`Ap2Result`

Runs locally, with no request to the API.
