Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/ap2/agent_authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@

<div style="display: flex; justify-content: space-around;">
<figure>
<img src="../../assets/mandate_delegation_overview.svg" style="width:100%" alt="Diagram illustrating the Mandate Delegation process">
<img src="../assets/mandate_delegation_overview.svg" style="width:100%" alt="Diagram illustrating the Mandate Delegation process">
<figcaption align="center">Mandate Delegation</figcaption>
</figure>
<figure>
<img src="../../assets/action_authorization_overview.svg" style="width:100%" alt="Diagram illustrating the Action Authorization process">
<img src="../assets/action_authorization_overview.svg" style="width:100%" alt="Diagram illustrating the Action Authorization process">
<figcaption align="center">Action Authorization</figcaption>
</figure>
</div>
Expand Down Expand Up @@ -79,7 +79,7 @@
appropriate user consent and authorization.

<figure>
<img src="../../assets/mandate_delegation_user_credential.svg" style="width:100%" alt="Mandate Delegation: User Credential">
<img src="../assets/mandate_delegation_user_credential.svg" style="width:100%" alt="Mandate Delegation: User Credential">
<figcaption align="center">Mandate Delegation: User Credential</figcaption>
</figure>

Expand Down Expand Up @@ -259,7 +259,7 @@
"0ygSIMbyCz_SAL7CrZeDg_C3AnqJVgf35I1t1ie0RZs",
"1ipSejAAw_lASOeNsGbj3R_3MZNRtalgU9MYvc73Z5g",
"3d_ksLaY7NAyu9PQZodRB4XsqF2jquCsl2avOlnWCn8",
"PBhW42ATJqcs3_odVhHuTGEDhN7idDmZMLLORR-lAec"

Check warning on line 262 in docs/ap2/agent_authorization.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (ZMLLORR)

Check warning on line 262 in docs/ap2/agent_authorization.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Jqcs)
],
"cnf": {
"jwk": {
Expand All @@ -279,7 +279,7 @@
[
["bZNpmTeoL5tYU7gKTVkTUA", "card_last_four", "4444"],
["Bu8Gie949nAgBdL6B657Mw", "card_network_code", "ACME"],
["MQ8lrNkAwYlavMT8own4DA", "credential_id", "b3f1c8a2-6d4e-4f9a-9e3d-8a7c2f1b9d34"]

Check warning on line 282 in docs/ap2/agent_authorization.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Ylav)
]
```

Expand All @@ -294,7 +294,7 @@
following steps occur:

<figure>
<img src="../../assets/mandate_delegation_trusted_agent_provider.svg" style="width:100%" alt="Mandate Delegation: Trusted Agent Provider">
<img src="../assets/mandate_delegation_trusted_agent_provider.svg" style="width:100%" alt="Mandate Delegation: Trusted Agent Provider">
<figcaption align="center">Mandate Delegation: Trusted Agent Provider</figcaption>
</figure>

Expand Down Expand Up @@ -331,7 +331,7 @@
The hash ending in `uq0EE` reveals the mandate. Notice how the acceptable items and allowed merchants are also hidden behind hashes inside the constraints array:
```json
[
"8rGxzvzfSEW7fw4nb_dYx_w",

Check warning on line 334 in docs/ap2/agent_authorization.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Gxzvzf)
{
"vct": "mandate.checkout.open.1",
"cnf": { "jwk": { "crv": "P-256", "kty": "EC", "x": "7MAQoKtK...", "y": "i3OUjGXe..." } },
Expand All @@ -353,7 +353,7 @@
{
"type": "checkout.allowed_merchants",
"allowed": [
{ "...": "UZSGFNQpapJSRQLCeVDfqGzfMCUiJvLL80_kcDai_OI" }

Check warning on line 356 in docs/ap2/agent_authorization.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (JSRQL)

Check warning on line 356 in docs/ap2/agent_authorization.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Qpap)

Check warning on line 356 in docs/ap2/agent_authorization.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (UZSGFN)
]
}
]
Expand All @@ -365,9 +365,9 @@
The Agent can selectively disclose the specific line item and merchant authorized by the constraints array above:
```json
[
"vK5dz2nnVpgtoC9dZy9uHw",

Check warning on line 368 in docs/ap2/agent_authorization.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Vpgto)
{
"id": "supershoe_limited_edition_gold_sneaker_womens_9_0",

Check warning on line 370 in docs/ap2/agent_authorization.md

View workflow job for this annotation

GitHub Actions / spellcheck

Misspelled word (womens) Suggestions: (women*)

Check warning on line 370 in docs/ap2/agent_authorization.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (supershoe)
"title": "SuperShoe Limited Edition Gold"
}
]
Expand Down Expand Up @@ -402,7 +402,7 @@
the User’s behalf, while still appropriately constraining their behavior.

<figure>
<img src="../../assets/mandate_chain_example.svg" style="width:800px" alt="Examples of open and closed Mandate Chains">
<img src="../assets/mandate_chain_example.svg" style="width:800px" alt="Examples of open and closed Mandate Chains">
<figcaption align="center">Example: Mandate Chains</figcaption>
</figure>

Expand Down
12 changes: 6 additions & 6 deletions docs/ap2/flows.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This is the `direct` flow where the User is present to directly approve the
closed Payment and Checkout Mandates.

<figure>
<img src="../../assets/ap2_hp_flow.svg" style="width:800px" alt="Diagram showing the overall Human Present flow in AP2">
<img src="../assets/ap2_hp_flow.svg" style="width:800px" alt="Diagram showing the overall Human Present flow in AP2">
<figcaption align="center">Human Present flow</figcaption>
</figure>

Expand All @@ -30,7 +30,7 @@ There are two phases to this flow:
**Phase 1: Shopping**

<figure>
<img src="../../assets/ap2_hp_shopping.svg" style="width:800px" alt="Human Present Shopping flow">
<img src="../assets/ap2_hp_shopping.svg" style="width:800px" alt="Human Present Shopping flow">
<figcaption align="center">Human Present Shopping flow</figcaption>
</figure>

Expand All @@ -44,7 +44,7 @@ There are two phases to this flow:
**Phase 2: Payment**

<figure>
<img src="../../assets/ap2_hp_payment.svg" style="width:800px" alt="Human Present Payment flow">
<img src="../assets/ap2_hp_payment.svg" style="width:800px" alt="Human Present Payment flow">
<figcaption align="center">Human Present Payment flow</figcaption>
</figure>

Expand Down Expand Up @@ -79,7 +79,7 @@ There are two phases to this flow:
## Human Not Present

<figure>
<img src="../../assets/ap2_hnp_flow.svg" style="width:800px" alt="Human Not Present flow">
<img src="../assets/ap2_hnp_flow.svg" style="width:800px" alt="Human Not Present flow">
<figcaption align="center">Human Not Present flow</figcaption>
</figure>

Expand All @@ -90,7 +90,7 @@ phase, the User sets a shopping task for the Agent. In the second phase, the
Agent acts autonomously to complete the task without further human interaction.

<figure>
<img src="../../assets/ap2_hnp_shopping.svg" style="width:800px" alt="Human Not Present Shopping flow">
<img src="../assets/ap2_hnp_shopping.svg" style="width:800px" alt="Human Not Present Shopping flow">
<figcaption align="center">Human Not Present Shopping flow</figcaption>
</figure>

Expand Down Expand Up @@ -132,7 +132,7 @@ the assigned task.
In this phase, the Agent completes the checkout using the provided Mandates.

<figure>
<img src="../../assets/ap2_hnp_payment.svg" style="width:800px" alt="Human Not Present Payment flow">
<img src="../assets/ap2_hnp_payment.svg" style="width:800px" alt="Human Not Present Payment flow">
<figcaption align="center">Human Not Present Payment flow</figcaption>
</figure>

Expand Down
Loading