@datalayer/agent-runtimes 1.5.96 → 1.5.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist-embed/chunks/{index.esm-zOy6kFPv.js → index.esm-BLDeC6q1.js} +1 -1
  2. package/dist-embed/datalayer-app-main.js +80 -80
  3. package/lib/apps/apps/appspec.d.ts +11 -12
  4. package/lib/apps/apps/appspec.js +45 -87
  5. package/lib/components/cards/ToolApprovalCard.js +4 -2
  6. package/lib/components/teams/HarnessIcon.d.ts +11 -0
  7. package/lib/components/teams/HarnessIcon.js +17 -0
  8. package/lib/components/teams/SceneTranscript.d.ts +1 -1
  9. package/lib/components/teams/SceneTranscript.js +12 -7
  10. package/lib/components/teams/SceneView.d.ts +7 -1
  11. package/lib/components/teams/SceneView.js +2 -2
  12. package/lib/components/teams/backdrops/hero.js +1 -1
  13. package/lib/components/teams/backdrops/minimal.js +1 -1
  14. package/lib/components/teams/backdrops/nodes.js +4 -3
  15. package/lib/components/teams/backdrops/space.js +1 -1
  16. package/lib/components/teams/backdrops/types.d.ts +9 -0
  17. package/lib/components/teams/index.d.ts +2 -0
  18. package/lib/components/teams/index.js +2 -0
  19. package/lib/components/teams/memberHarness.d.ts +16 -0
  20. package/lib/components/teams/memberHarness.js +42 -0
  21. package/lib/components/teams/sceneTranscriptRules.js +6 -1
  22. package/lib/components/teams/transcript/LineSelect.d.ts +20 -0
  23. package/lib/components/teams/transcript/LineSelect.js +20 -0
  24. package/lib/components/teams/transcript/TranscriptTable.d.ts +11 -5
  25. package/lib/components/teams/transcript/TranscriptTable.js +24 -7
  26. package/lib/components/teams/transcript/TranscriptViews.js +1 -1
  27. package/lib/components/teams/transcript/recordingPlayback.d.ts +13 -0
  28. package/lib/components/teams/transcript/recordingPlayback.js +32 -0
  29. package/lib/components/teams/transcript/useSceneRecording.d.ts +1 -1
  30. package/lib/components/teams/transcript/useSceneRecording.js +19 -11
  31. package/lib/examples/PapAccountTokensExample.d.ts +1 -1
  32. package/lib/examples/PapAccountTokensExample.js +3 -3
  33. package/lib/examples/PapSessionJwtExample.d.ts +4 -0
  34. package/lib/examples/{PapDpopProofExample.js → PapSessionJwtExample.js} +9 -9
  35. package/lib/examples/PapSessionLifecycleExample.d.ts +1 -1
  36. package/lib/examples/PapSessionLifecycleExample.js +2 -2
  37. package/lib/examples/ScenesExample.js +15 -13
  38. package/lib/examples/example-selector.js +3 -3
  39. package/lib/examples/index.d.ts +1 -1
  40. package/lib/examples/index.js +1 -1
  41. package/lib/examples/main.js +1 -1
  42. package/lib/examples/pap/PapAccountTokensView.d.ts +1 -1
  43. package/lib/examples/pap/PapAuthorizationBoundaryView.js +15 -22
  44. package/lib/examples/pap/PapGuidedJourneyView.js +61 -60
  45. package/lib/examples/pap/PapSessionJwtView.d.ts +4 -0
  46. package/lib/examples/pap/PapSessionJwtView.js +69 -0
  47. package/lib/examples/pap/PapSessionLifecycleView.js +36 -58
  48. package/lib/examples/pap/PapSignInDisplayView.d.ts +1 -1
  49. package/lib/examples/pap/PapSignInDisplayView.js +1 -1
  50. package/lib/examples/pap/PapTraceView.d.ts +1 -1
  51. package/lib/examples/pap/PapTraceView.js +1 -1
  52. package/lib/examples/pap/traces/account-tokens.json +145 -173
  53. package/lib/examples/pap/traces/conversation-control.json +118 -140
  54. package/lib/examples/pap/traces/conversation-streaming.json +114 -134
  55. package/lib/examples/pap/traces/mediated-sign-in.json +151 -166
  56. package/lib/examples/pap/traces/operations.json +613 -391
  57. package/lib/examples/pap/traces/two-companies.json +380 -990
  58. package/lib/examples/pap/traces/user-with-a-company.json +319 -207
  59. package/lib/models/environments.generated.d.ts +2 -2
  60. package/lib/models/environments.generated.js +1 -1
  61. package/lib/pap/index.d.ts +1 -1
  62. package/lib/pap/index.js +3 -3
  63. package/lib/portable/displays.d.ts +13 -22
  64. package/lib/portable/displays.js +17 -65
  65. package/lib/portable/hosts/approvalRenderers.d.ts +4 -4
  66. package/lib/portable/hosts/approvalRenderers.js +26 -13
  67. package/lib/portable/hosts/contracts.json +5 -2
  68. package/lib/portable/index.d.ts +1 -1
  69. package/lib/portable/index.js +1 -1
  70. package/lib/protocols/decks/index.d.ts +37 -0
  71. package/lib/protocols/decks/index.js +48 -0
  72. package/lib/protocols/decks/pact-a-personal-agent-at-a-business.d.ts +2 -0
  73. package/lib/protocols/decks/pact-a-personal-agent-at-a-business.js +148 -0
  74. package/lib/protocols/decks/ucp-a-purchase-approved.d.ts +2 -0
  75. package/lib/protocols/decks/ucp-a-purchase-approved.js +154 -0
  76. package/lib/specs/actions.d.ts +1 -1
  77. package/lib/specs/actions.js +2 -2
  78. package/lib/specs/agents/agents.js +3 -3
  79. package/lib/specs/apps.d.ts +1 -1
  80. package/lib/specs/apps.js +10 -11
  81. package/lib/specs/appspecSchema.js +4 -112
  82. package/lib/specs/envvars.js +2 -2
  83. package/lib/specs/harnesses.js +9 -9
  84. package/lib/specs/scenes.js +10 -33
  85. package/lib/specs/teams/teams.js +2 -2
  86. package/lib/types/agentspecs.d.ts +91 -127
  87. package/package.json +409 -409
  88. package/scripts/codegen/generate_apps.py +6 -7
  89. package/scripts/validate_pap_examples.py +1 -1
  90. package/lib/examples/PapDpopProofExample.d.ts +0 -4
  91. package/lib/examples/pap/PapDpopProofView.d.ts +0 -4
  92. package/lib/examples/pap/PapDpopProofView.js +0 -61
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "slug": "account-tokens",
3
- "title": "Account Tokens",
4
- "description": "Refresh, rotation, narrowing, re-consent, and revocation of the Account Token Atlas holds for Ada at Manzanita, which never leaves the host's vault.",
3
+ "title": "Refresh tokens",
4
+ "description": "Refresh, rotation, narrowing, re-consent, and revocation of the refresh token Atlas holds for Ada at Manzanita, which never leaves the host's vault.",
5
5
  "generator": "examples/personal-agent-protocol/traces/generate.py",
6
- "sdk": "personal-agent-protocol 0.27.0",
6
+ "sdk": "personal-agent-protocol 0.28.0",
7
7
  "parties": [
8
8
  {
9
9
  "id": "user",
@@ -30,7 +30,7 @@
30
30
  {
31
31
  "title": "Atlas finds Manzanita",
32
32
  "channel": "Discovery + Session",
33
- "summary": "Atlas reads Manzanita's public poppy.json and OAuth metadata, then opens a signed-out, pairwise Session. Manzanita verifies Atlas by fetching its client metadata and keys.",
33
+ "summary": "Atlas reads Manzanita's protected resource metadata, public poppy.json and OAuth metadata. A Session is local: Atlas chooses a random sid for Ada's pairwise User ID, and no request is sent. Manzanita verifies Atlas's delegation at its first request.",
34
34
  "chat": [
35
35
  {
36
36
  "speaker": "user",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  {
48
48
  "label": "Session",
49
- "value": "signed out · DPoP-bound"
49
+ "value": "signed out · a Session JWT on every request"
50
50
  },
51
51
  {
52
52
  "label": "Vault (host only)",
@@ -60,15 +60,11 @@
60
60
  "manzanita": [
61
61
  {
62
62
  "label": "Verified client",
63
- "value": "atlas.example/agent.json"
63
+ "value": "None yet"
64
64
  },
65
65
  {
66
66
  "label": "Sessions",
67
- "value": "1 live · 0 signed in"
68
- },
69
- {
70
- "label": "Who is it?",
71
- "value": "A pairwise identifier only"
67
+ "value": "None"
72
68
  }
73
69
  ]
74
70
  },
@@ -97,22 +93,6 @@
97
93
  },
98
94
  "auth": {
99
95
  "issuer": "https://manzanita.example",
100
- "mediated": {
101
- "endpoint": "https://manzanita.example/poppy/sign-in",
102
- "fields": [
103
- {
104
- "name": "email",
105
- "label": "Email",
106
- "secret": false
107
- },
108
- {
109
- "name": "password",
110
- "label": "Password",
111
- "secret": true
112
- }
113
- ],
114
- "scopes": ["orders:read", "orders:write"]
115
- },
116
96
  "scopes": {
117
97
  "orders:read": "See your orders, returns and exchanges",
118
98
  "orders:write": "Exchange or return items in your orders"
@@ -159,8 +139,23 @@
159
139
  },
160
140
  "extensions": {
161
141
  "operations": {
142
+ "version": "2"
143
+ },
144
+ "mediated-sign-in": {
162
145
  "version": "1",
163
- "endpoint": "https://manzanita.example/poppy/operations"
146
+ "fields": [
147
+ {
148
+ "name": "email",
149
+ "label": "Email",
150
+ "secret": false
151
+ },
152
+ {
153
+ "name": "password",
154
+ "label": "Password",
155
+ "secret": true
156
+ }
157
+ ],
158
+ "scopes": ["orders:read", "orders:write"]
164
159
  }
165
160
  }
166
161
  }
@@ -171,7 +166,7 @@
171
166
  "from": "atlas",
172
167
  "to": "manzanita",
173
168
  "method": "GET",
174
- "url": "https://manzanita.example/.well-known/oauth-authorization-server",
169
+ "url": "https://manzanita.example/.well-known/oauth-protected-resource",
175
170
  "status": 200,
176
171
  "request": {
177
172
  "headers": {
@@ -183,24 +178,10 @@
183
178
  "content-type": "application/json"
184
179
  },
185
180
  "body": {
186
- "issuer": "https://manzanita.example",
187
- "token_endpoint": "https://manzanita.example/oauth/token",
188
- "revocation_endpoint": "https://manzanita.example/oauth/revoke",
189
- "grant_types_supported": [
190
- "urn:ietf:params:oauth:grant-type:jwt-bearer",
191
- "refresh_token",
192
- "authorization_code",
193
- "urn:ietf:params:oauth:grant-type:device_code"
194
- ],
181
+ "resource": "https://manzanita.example",
182
+ "authorization_servers": ["https://manzanita.example"],
195
183
  "scopes_supported": ["orders:read", "orders:write"],
196
- "protected_resources": [
197
- "https://manzanita.example",
198
- "https://manzanita.example/mcp"
199
- ],
200
- "dpop_signing_alg_values_supported": ["ES256", "RS256"],
201
- "authorization_endpoint": "https://manzanita.example/oauth/authorize",
202
- "code_challenge_methods_supported": ["S256"],
203
- "device_1": "https://manzanita.example/oauth/device"
184
+ "bearer_methods_supported": ["header"]
204
185
  }
205
186
  }
206
187
  },
@@ -208,72 +189,8 @@
208
189
  "kind": "http",
209
190
  "from": "atlas",
210
191
  "to": "manzanita",
211
- "method": "POST",
212
- "url": "https://manzanita.example/oauth/token",
213
- "status": 200,
214
- "request": {
215
- "headers": {
216
- "content-type": "application/x-www-form-urlencoded",
217
- "accept": "application/json",
218
- "dpop": "‹DPoP proof›"
219
- },
220
- "body": {
221
- "grant_type": "urn:ietf:params:oauth:grant-type:jwt-bearer",
222
- "assertion": "‹session assertion›",
223
- "client_id": "https://atlas.example/agent.json",
224
- "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
225
- "client_assertion": "‹client assertion›"
226
- },
227
- "encoding": "form"
228
- },
229
- "response": {
230
- "headers": {
231
- "content-type": "application/json",
232
- "cache-control": "no-store"
233
- },
234
- "body": {
235
- "access_token": "‹session token›",
236
- "token_type": "DPoP",
237
- "expires_in": 3600
238
- }
239
- }
240
- },
241
- {
242
- "kind": "http",
243
- "from": "manzanita",
244
- "to": "atlas",
245
192
  "method": "GET",
246
- "url": "https://atlas.example/agent.json",
247
- "status": 200,
248
- "request": {
249
- "headers": {
250
- "accept": "application/json"
251
- }
252
- },
253
- "response": {
254
- "headers": {
255
- "content-type": "application/json"
256
- },
257
- "body": {
258
- "client_id": "https://atlas.example/agent.json",
259
- "client_name": "Atlas",
260
- "jwks_uri": "https://atlas.example/jwks.json",
261
- "redirect_uris": ["https://atlas.example/oauth/callback"],
262
- "token_endpoint_auth_method": "private_key_jwt",
263
- "extensions": {
264
- "operations": {
265
- "version": "1"
266
- }
267
- }
268
- }
269
- }
270
- },
271
- {
272
- "kind": "http",
273
- "from": "manzanita",
274
- "to": "atlas",
275
- "method": "GET",
276
- "url": "https://atlas.example/jwks.json",
193
+ "url": "https://manzanita.example/.well-known/oauth-authorization-server",
277
194
  "status": 200,
278
195
  "request": {
279
196
  "headers": {
@@ -285,26 +202,32 @@
285
202
  "content-type": "application/json"
286
203
  },
287
204
  "body": {
288
- "keys": [
289
- {
290
- "kty": "EC",
291
- "crv": "P-256",
292
- "x": "‹public key›",
293
- "y": "‹public key›",
294
- "kid": "key-1",
295
- "use": "sig",
296
- "alg": "ES256"
297
- }
298
- ]
205
+ "issuer": "https://manzanita.example",
206
+ "token_endpoint": "https://manzanita.example/oauth/token",
207
+ "revocation_endpoint": "https://manzanita.example/oauth/revoke",
208
+ "grant_types_supported": [
209
+ "refresh_token",
210
+ "authorization_code",
211
+ "urn:ietf:params:oauth:grant-type:device_code",
212
+ "https://personalagentprotocol.org/grant/mediated-sign-in"
213
+ ],
214
+ "scopes_supported": ["orders:read", "orders:write"],
215
+ "protected_resources": [
216
+ "https://manzanita.example",
217
+ "https://manzanita.example/mcp"
218
+ ],
219
+ "authorization_endpoint": "https://manzanita.example/oauth/authorize",
220
+ "code_challenge_methods_supported": ["S256"],
221
+ "device_1": "https://manzanita.example/oauth/device"
299
222
  }
300
223
  }
301
224
  }
302
225
  ]
303
226
  },
304
227
  {
305
- "title": "Signed in: an Account Token",
228
+ "title": "Signed in: an access token and a refresh token",
306
229
  "channel": "Device Sign-In",
307
- "summary": "Ada approves on Manzanita's page. The sign-in returns a Session Token and an Account Token; the host stores the Account Token behind an opaque reference.",
230
+ "summary": "Ada approves on Manzanita's page. The sign-in returns a Bearer access token and a refresh token; the host stores the refresh token behind an opaque reference.",
308
231
  "chat": [
309
232
  {
310
233
  "speaker": "manzanita",
@@ -326,7 +249,7 @@
326
249
  },
327
250
  {
328
251
  "label": "Session",
329
- "value": "signed in · DPoP-bound"
252
+ "value": "signed in · a Session JWT on every request"
330
253
  },
331
254
  {
332
255
  "label": "Scopes",
@@ -334,7 +257,7 @@
334
257
  },
335
258
  {
336
259
  "label": "Vault (host only)",
337
- "value": "1 Account Token by reference"
260
+ "value": "1 refresh token by reference"
338
261
  },
339
262
  {
340
263
  "label": "Model sees",
@@ -348,10 +271,10 @@
348
271
  },
349
272
  {
350
273
  "label": "Sessions",
351
- "value": "1 live · 1 signed in"
274
+ "value": "None"
352
275
  },
353
276
  {
354
- "label": "Account behind the Session",
277
+ "label": "Account behind the access token",
355
278
  "value": "acct_ada"
356
279
  },
357
280
  {
@@ -359,7 +282,7 @@
359
282
  "value": "orders:read orders:write"
360
283
  },
361
284
  {
362
- "label": "Account Tokens issued",
285
+ "label": "Refresh tokens issued",
363
286
  "value": "1 · 1 not revoked"
364
287
  }
365
288
  ]
@@ -400,6 +323,67 @@
400
323
  }
401
324
  }
402
325
  },
326
+ {
327
+ "kind": "http",
328
+ "from": "manzanita",
329
+ "to": "atlas",
330
+ "method": "GET",
331
+ "url": "https://atlas.example/agent.json",
332
+ "status": 200,
333
+ "request": {
334
+ "headers": {
335
+ "accept": "application/json"
336
+ }
337
+ },
338
+ "response": {
339
+ "headers": {
340
+ "content-type": "application/json"
341
+ },
342
+ "body": {
343
+ "client_id": "https://atlas.example/agent.json",
344
+ "client_name": "Atlas",
345
+ "jwks_uri": "https://atlas.example/jwks.json",
346
+ "redirect_uris": ["https://atlas.example/oauth/callback"],
347
+ "token_endpoint_auth_method": "private_key_jwt",
348
+ "extensions": {
349
+ "operations": {
350
+ "version": "2"
351
+ }
352
+ }
353
+ }
354
+ }
355
+ },
356
+ {
357
+ "kind": "http",
358
+ "from": "manzanita",
359
+ "to": "atlas",
360
+ "method": "GET",
361
+ "url": "https://atlas.example/jwks.json",
362
+ "status": 200,
363
+ "request": {
364
+ "headers": {
365
+ "accept": "application/json"
366
+ }
367
+ },
368
+ "response": {
369
+ "headers": {
370
+ "content-type": "application/json"
371
+ },
372
+ "body": {
373
+ "keys": [
374
+ {
375
+ "kty": "EC",
376
+ "crv": "P-256",
377
+ "x": "‹public key›",
378
+ "y": "‹public key›",
379
+ "kid": "key-1",
380
+ "use": "sig",
381
+ "alg": "ES256"
382
+ }
383
+ ]
384
+ }
385
+ }
386
+ },
403
387
  {
404
388
  "kind": "http",
405
389
  "from": "atlas",
@@ -410,8 +394,7 @@
410
394
  "request": {
411
395
  "headers": {
412
396
  "content-type": "application/x-www-form-urlencoded",
413
- "accept": "application/json",
414
- "dpop": "‹DPoP proof›"
397
+ "accept": "application/json"
415
398
  },
416
399
  "body": {
417
400
  "grant_type": "urn:ietf:params:oauth:grant-type:device_code",
@@ -448,8 +431,7 @@
448
431
  "request": {
449
432
  "headers": {
450
433
  "content-type": "application/x-www-form-urlencoded",
451
- "accept": "application/json",
452
- "dpop": "‹DPoP proof›"
434
+ "accept": "application/json"
453
435
  },
454
436
  "body": {
455
437
  "grant_type": "urn:ietf:params:oauth:grant-type:device_code",
@@ -466,11 +448,10 @@
466
448
  "cache-control": "no-store"
467
449
  },
468
450
  "body": {
469
- "access_token": "‹session token›",
470
- "token_type": "DPoP",
451
+ "access_token": "‹access token›",
452
+ "token_type": "Bearer",
471
453
  "expires_in": 3600,
472
- "refresh_token": "‹account token›",
473
- "refresh_token_expires_in": 7776000
454
+ "refresh_token": "‹refresh token›"
474
455
  }
475
456
  }
476
457
  }
@@ -479,7 +460,7 @@
479
460
  {
480
461
  "title": "Refresh and rotation",
481
462
  "channel": "refresh_token grant",
482
- "summary": "The Session expired; Atlas signs it in again with the Account Token, a fresh client assertion, and a fresh DPoP proof. Manzanita rotates the token; the new one replaces the old before the call returns (rotated: True).",
463
+ "summary": "The access token ends; Atlas gets another with the refresh token and a fresh client assertion. A refresh names no Session: any of Ada's Sessions uses the new token. Manzanita rotates the refresh token; the new one replaces the old before the call returns (rotated: True).",
483
464
  "chat": [
484
465
  {
485
466
  "speaker": "atlas",
@@ -495,7 +476,7 @@
495
476
  },
496
477
  {
497
478
  "label": "Session",
498
- "value": "signed in · DPoP-bound"
479
+ "value": "signed in · a Session JWT on every request"
499
480
  },
500
481
  {
501
482
  "label": "Scopes",
@@ -503,7 +484,7 @@
503
484
  },
504
485
  {
505
486
  "label": "Vault (host only)",
506
- "value": "1 Account Token by reference"
487
+ "value": "1 refresh token by reference"
507
488
  },
508
489
  {
509
490
  "label": "Model sees",
@@ -517,10 +498,10 @@
517
498
  },
518
499
  {
519
500
  "label": "Sessions",
520
- "value": "1 live · 1 signed in"
501
+ "value": "None"
521
502
  },
522
503
  {
523
- "label": "Account behind the Session",
504
+ "label": "Account behind the access token",
524
505
  "value": "acct_ada"
525
506
  },
526
507
  {
@@ -528,7 +509,7 @@
528
509
  "value": "orders:read orders:write"
529
510
  },
530
511
  {
531
- "label": "Account Tokens issued",
512
+ "label": "Refresh tokens issued",
532
513
  "value": "2 · 1 not revoked"
533
514
  }
534
515
  ]
@@ -544,12 +525,11 @@
544
525
  "request": {
545
526
  "headers": {
546
527
  "content-type": "application/x-www-form-urlencoded",
547
- "accept": "application/json",
548
- "dpop": "‹DPoP proof›"
528
+ "accept": "application/json"
549
529
  },
550
530
  "body": {
551
531
  "grant_type": "refresh_token",
552
- "refresh_token": "‹account token›",
532
+ "refresh_token": "‹refresh token›",
553
533
  "client_id": "https://atlas.example/agent.json",
554
534
  "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
555
535
  "client_assertion": "‹client assertion›"
@@ -562,12 +542,11 @@
562
542
  "cache-control": "no-store"
563
543
  },
564
544
  "body": {
565
- "access_token": "‹session token›",
566
- "token_type": "DPoP",
545
+ "access_token": "‹access token›",
546
+ "token_type": "Bearer",
567
547
  "expires_in": 3600,
568
548
  "scope": "orders:read orders:write",
569
- "refresh_token": "‹account token›",
570
- "refresh_token_expires_in": 7776000
549
+ "refresh_token": "‹refresh token›"
571
550
  }
572
551
  }
573
552
  }
@@ -592,7 +571,7 @@
592
571
  },
593
572
  {
594
573
  "label": "Session",
595
- "value": "signed in · DPoP-bound"
574
+ "value": "signed in · a Session JWT on every request"
596
575
  },
597
576
  {
598
577
  "label": "Scopes",
@@ -600,7 +579,7 @@
600
579
  },
601
580
  {
602
581
  "label": "Vault (host only)",
603
- "value": "1 Account Token by reference"
582
+ "value": "1 refresh token by reference"
604
583
  },
605
584
  {
606
585
  "label": "Model sees",
@@ -614,10 +593,10 @@
614
593
  },
615
594
  {
616
595
  "label": "Sessions",
617
- "value": "1 live · 1 signed in"
596
+ "value": "None"
618
597
  },
619
598
  {
620
- "label": "Account behind the Session",
599
+ "label": "Account behind the access token",
621
600
  "value": "acct_ada"
622
601
  },
623
602
  {
@@ -625,7 +604,7 @@
625
604
  "value": "orders:read"
626
605
  },
627
606
  {
628
- "label": "Account Tokens issued",
607
+ "label": "Refresh tokens issued",
629
608
  "value": "3 · 1 not revoked"
630
609
  }
631
610
  ]
@@ -641,12 +620,11 @@
641
620
  "request": {
642
621
  "headers": {
643
622
  "content-type": "application/x-www-form-urlencoded",
644
- "accept": "application/json",
645
- "dpop": "‹DPoP proof›"
623
+ "accept": "application/json"
646
624
  },
647
625
  "body": {
648
626
  "grant_type": "refresh_token",
649
- "refresh_token": "‹account token›",
627
+ "refresh_token": "‹refresh token›",
650
628
  "scope": "orders:read",
651
629
  "client_id": "https://atlas.example/agent.json",
652
630
  "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
@@ -660,11 +638,10 @@
660
638
  "cache-control": "no-store"
661
639
  },
662
640
  "body": {
663
- "access_token": "‹session token›",
664
- "token_type": "DPoP",
641
+ "access_token": "‹access token›",
642
+ "token_type": "Bearer",
665
643
  "expires_in": 3600,
666
- "refresh_token": "‹account token›",
667
- "refresh_token_expires_in": 7776000
644
+ "refresh_token": "‹refresh token›"
668
645
  }
669
646
  }
670
647
  },
@@ -678,12 +655,11 @@
678
655
  "request": {
679
656
  "headers": {
680
657
  "content-type": "application/x-www-form-urlencoded",
681
- "accept": "application/json",
682
- "dpop": "‹DPoP proof›"
658
+ "accept": "application/json"
683
659
  },
684
660
  "body": {
685
661
  "grant_type": "refresh_token",
686
- "refresh_token": "‹account token›",
662
+ "refresh_token": "‹refresh token›",
687
663
  "scope": "orders:read orders:admin",
688
664
  "client_id": "https://atlas.example/agent.json",
689
665
  "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
@@ -706,7 +682,7 @@
706
682
  {
707
683
  "title": "Revocation",
708
684
  "channel": "RFC 7009",
709
- "summary": "Atlas revokes the Account Token at Manzanita and deletes its copy once the company answered. A later refresh finds nothing to use: signed_out, without a request.",
685
+ "summary": "Atlas revokes the refresh token at Manzanita and deletes its copy once the company answered. A later refresh finds nothing to use: signed_out, without a request.",
710
686
  "chat": [
711
687
  {
712
688
  "speaker": "user",
@@ -741,14 +717,10 @@
741
717
  },
742
718
  {
743
719
  "label": "Sessions",
744
- "value": "1 live · 0 signed in"
745
- },
746
- {
747
- "label": "Who is it?",
748
- "value": "A pairwise identifier only"
720
+ "value": "None"
749
721
  },
750
722
  {
751
- "label": "Account Tokens issued",
723
+ "label": "Refresh tokens issued",
752
724
  "value": "3 · 0 not revoked"
753
725
  }
754
726
  ]
@@ -773,7 +745,7 @@
773
745
  "accept": "application/json"
774
746
  },
775
747
  "body": {
776
- "token": "‹account token›",
748
+ "token": "‹refresh token›",
777
749
  "token_type_hint": "refresh_token",
778
750
  "client_id": "https://atlas.example/agent.json",
779
751
  "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",