@datalayer/agent-runtimes 1.5.96 → 1.5.97
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.
- package/dist-embed/chunks/{index.esm-zOy6kFPv.js → index.esm-BLDeC6q1.js} +1 -1
- package/dist-embed/datalayer-app-main.js +80 -80
- package/lib/apps/apps/appspec.d.ts +11 -12
- package/lib/apps/apps/appspec.js +45 -87
- package/lib/components/cards/ToolApprovalCard.js +4 -2
- package/lib/components/teams/HarnessIcon.d.ts +11 -0
- package/lib/components/teams/HarnessIcon.js +17 -0
- package/lib/components/teams/SceneTranscript.d.ts +1 -1
- package/lib/components/teams/SceneTranscript.js +12 -7
- package/lib/components/teams/SceneView.d.ts +7 -1
- package/lib/components/teams/SceneView.js +2 -2
- package/lib/components/teams/backdrops/hero.js +1 -1
- package/lib/components/teams/backdrops/minimal.js +1 -1
- package/lib/components/teams/backdrops/nodes.js +4 -3
- package/lib/components/teams/backdrops/space.js +1 -1
- package/lib/components/teams/backdrops/types.d.ts +9 -0
- package/lib/components/teams/index.d.ts +2 -0
- package/lib/components/teams/index.js +2 -0
- package/lib/components/teams/memberHarness.d.ts +16 -0
- package/lib/components/teams/memberHarness.js +42 -0
- package/lib/components/teams/sceneTranscriptRules.js +6 -1
- package/lib/components/teams/transcript/LineSelect.d.ts +20 -0
- package/lib/components/teams/transcript/LineSelect.js +20 -0
- package/lib/components/teams/transcript/TranscriptTable.d.ts +11 -5
- package/lib/components/teams/transcript/TranscriptTable.js +24 -7
- package/lib/components/teams/transcript/TranscriptViews.js +1 -1
- package/lib/components/teams/transcript/recordingPlayback.d.ts +13 -0
- package/lib/components/teams/transcript/recordingPlayback.js +32 -0
- package/lib/components/teams/transcript/useSceneRecording.d.ts +1 -1
- package/lib/components/teams/transcript/useSceneRecording.js +19 -11
- package/lib/examples/PapAccountTokensExample.d.ts +1 -1
- package/lib/examples/PapAccountTokensExample.js +3 -3
- package/lib/examples/PapSessionJwtExample.d.ts +4 -0
- package/lib/examples/{PapDpopProofExample.js → PapSessionJwtExample.js} +9 -9
- package/lib/examples/PapSessionLifecycleExample.d.ts +1 -1
- package/lib/examples/PapSessionLifecycleExample.js +2 -2
- package/lib/examples/ScenesExample.js +15 -13
- package/lib/examples/example-selector.js +3 -3
- package/lib/examples/index.d.ts +1 -1
- package/lib/examples/index.js +1 -1
- package/lib/examples/main.js +1 -1
- package/lib/examples/pap/PapAccountTokensView.d.ts +1 -1
- package/lib/examples/pap/PapAuthorizationBoundaryView.js +15 -22
- package/lib/examples/pap/PapGuidedJourneyView.js +61 -60
- package/lib/examples/pap/PapSessionJwtView.d.ts +4 -0
- package/lib/examples/pap/PapSessionJwtView.js +69 -0
- package/lib/examples/pap/PapSessionLifecycleView.js +36 -58
- package/lib/examples/pap/PapSignInDisplayView.d.ts +1 -1
- package/lib/examples/pap/PapSignInDisplayView.js +1 -1
- package/lib/examples/pap/PapTraceView.d.ts +1 -1
- package/lib/examples/pap/PapTraceView.js +1 -1
- package/lib/examples/pap/traces/account-tokens.json +145 -173
- package/lib/examples/pap/traces/conversation-control.json +118 -140
- package/lib/examples/pap/traces/conversation-streaming.json +114 -134
- package/lib/examples/pap/traces/mediated-sign-in.json +151 -166
- package/lib/examples/pap/traces/operations.json +613 -391
- package/lib/examples/pap/traces/two-companies.json +380 -990
- package/lib/examples/pap/traces/user-with-a-company.json +319 -207
- package/lib/models/environments.generated.d.ts +2 -2
- package/lib/models/environments.generated.js +1 -1
- package/lib/pap/index.d.ts +1 -1
- package/lib/pap/index.js +3 -3
- package/lib/portable/displays.d.ts +13 -22
- package/lib/portable/displays.js +17 -65
- package/lib/portable/hosts/approvalRenderers.d.ts +4 -4
- package/lib/portable/hosts/approvalRenderers.js +26 -13
- package/lib/portable/hosts/contracts.json +5 -2
- package/lib/portable/index.d.ts +1 -1
- package/lib/portable/index.js +1 -1
- package/lib/protocols/decks/index.d.ts +37 -0
- package/lib/protocols/decks/index.js +48 -0
- package/lib/protocols/decks/pact-a-personal-agent-at-a-business.d.ts +2 -0
- package/lib/protocols/decks/pact-a-personal-agent-at-a-business.js +148 -0
- package/lib/protocols/decks/ucp-a-purchase-approved.d.ts +2 -0
- package/lib/protocols/decks/ucp-a-purchase-approved.js +154 -0
- package/lib/specs/actions.d.ts +1 -1
- package/lib/specs/actions.js +2 -2
- package/lib/specs/agents/agents.js +3 -3
- package/lib/specs/apps.d.ts +1 -1
- package/lib/specs/apps.js +10 -11
- package/lib/specs/appspecSchema.js +4 -112
- package/lib/specs/envvars.js +2 -2
- package/lib/specs/harnesses.js +9 -9
- package/lib/specs/scenes.js +10 -33
- package/lib/specs/teams/teams.js +2 -2
- package/lib/types/agentspecs.d.ts +91 -127
- package/package.json +409 -409
- package/scripts/codegen/generate_apps.py +6 -7
- package/scripts/validate_pap_examples.py +1 -1
- package/lib/examples/PapDpopProofExample.d.ts +0 -4
- package/lib/examples/pap/PapDpopProofView.d.ts +0 -4
- package/lib/examples/pap/PapDpopProofView.js +0 -61
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"slug": "mediated-sign-in",
|
|
3
3
|
"title": "Mediated Sign-In",
|
|
4
|
-
"description": "Ada signs in to Manzanita without leaving Atlas: the host's protected input collects the fields Manzanita declares and sends them to Manzanita's endpoint, once.",
|
|
4
|
+
"description": "Ada signs in to Manzanita without leaving Atlas: the host's protected input collects the fields Manzanita declares in its mediated-sign-in extension and sends them to Manzanita's token endpoint, once, as an extension grant.",
|
|
5
5
|
"generator": "examples/personal-agent-protocol/traces/generate.py",
|
|
6
|
-
"sdk": "personal-agent-protocol 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
|
|
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 ·
|
|
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": "
|
|
63
|
+
"value": "None yet"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"label": "Sessions",
|
|
67
|
-
"value": "
|
|
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,13 +139,52 @@
|
|
|
159
139
|
},
|
|
160
140
|
"extensions": {
|
|
161
141
|
"operations": {
|
|
142
|
+
"version": "2"
|
|
143
|
+
},
|
|
144
|
+
"mediated-sign-in": {
|
|
162
145
|
"version": "1",
|
|
163
|
-
"
|
|
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
|
}
|
|
167
162
|
}
|
|
168
163
|
},
|
|
164
|
+
{
|
|
165
|
+
"kind": "http",
|
|
166
|
+
"from": "atlas",
|
|
167
|
+
"to": "manzanita",
|
|
168
|
+
"method": "GET",
|
|
169
|
+
"url": "https://manzanita.example/.well-known/oauth-protected-resource",
|
|
170
|
+
"status": 200,
|
|
171
|
+
"request": {
|
|
172
|
+
"headers": {
|
|
173
|
+
"accept": "application/json"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"response": {
|
|
177
|
+
"headers": {
|
|
178
|
+
"content-type": "application/json"
|
|
179
|
+
},
|
|
180
|
+
"body": {
|
|
181
|
+
"resource": "https://manzanita.example",
|
|
182
|
+
"authorization_servers": ["https://manzanita.example"],
|
|
183
|
+
"scopes_supported": ["orders:read", "orders:write"],
|
|
184
|
+
"bearer_methods_supported": ["header"]
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
169
188
|
{
|
|
170
189
|
"kind": "http",
|
|
171
190
|
"from": "atlas",
|
|
@@ -187,22 +206,77 @@
|
|
|
187
206
|
"token_endpoint": "https://manzanita.example/oauth/token",
|
|
188
207
|
"revocation_endpoint": "https://manzanita.example/oauth/revoke",
|
|
189
208
|
"grant_types_supported": [
|
|
190
|
-
"urn:ietf:params:oauth:grant-type:jwt-bearer",
|
|
191
209
|
"refresh_token",
|
|
192
210
|
"authorization_code",
|
|
193
|
-
"urn:ietf:params:oauth:grant-type:device_code"
|
|
211
|
+
"urn:ietf:params:oauth:grant-type:device_code",
|
|
212
|
+
"https://personalagentprotocol.org/grant/mediated-sign-in"
|
|
194
213
|
],
|
|
195
214
|
"scopes_supported": ["orders:read", "orders:write"],
|
|
196
215
|
"protected_resources": [
|
|
197
216
|
"https://manzanita.example",
|
|
198
217
|
"https://manzanita.example/mcp"
|
|
199
218
|
],
|
|
200
|
-
"dpop_signing_alg_values_supported": ["ES256", "RS256"],
|
|
201
219
|
"authorization_endpoint": "https://manzanita.example/oauth/authorize",
|
|
202
220
|
"code_challenge_methods_supported": ["S256"],
|
|
203
221
|
"device_1": "https://manzanita.example/oauth/device"
|
|
204
222
|
}
|
|
205
223
|
}
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"title": "The declared fields, once",
|
|
229
|
+
"channel": "pap.protectedInput",
|
|
230
|
+
"summary": "Manzanita declares Email, Password (secret). The host asks Ada on its trusted surface, never through the model, sends the values with the grant to the issuer's token endpoint with no redirect followed, and drops them. Manzanita answers code_required.",
|
|
231
|
+
"chat": [
|
|
232
|
+
{
|
|
233
|
+
"speaker": "atlas",
|
|
234
|
+
"kind": "page",
|
|
235
|
+
"title": "Protected input · Manzanita Outfitters",
|
|
236
|
+
"text": "Ada enters: Email, Password (secret)."
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"speaker": "atlas",
|
|
240
|
+
"kind": "message",
|
|
241
|
+
"text": "Manzanita sent a code to a•••@example.com."
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"views": {
|
|
245
|
+
"atlas": [
|
|
246
|
+
{
|
|
247
|
+
"label": "Company",
|
|
248
|
+
"value": "Manzanita Outfitters · discovery verified"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"label": "Session",
|
|
252
|
+
"value": "signed out · a Session JWT on every request"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"label": "Vault (host only)",
|
|
256
|
+
"value": "Empty"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"label": "Model sees",
|
|
260
|
+
"value": "Summaries and statuses, never a credential"
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"manzanita": [
|
|
264
|
+
{
|
|
265
|
+
"label": "Verified client",
|
|
266
|
+
"value": "atlas.example/agent.json"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"label": "Sessions",
|
|
270
|
+
"value": "None"
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
"sequence": [
|
|
275
|
+
{
|
|
276
|
+
"kind": "action",
|
|
277
|
+
"from": "user",
|
|
278
|
+
"to": "atlas",
|
|
279
|
+
"label": "Types email and password on Atlas's protected input"
|
|
206
280
|
},
|
|
207
281
|
{
|
|
208
282
|
"kind": "http",
|
|
@@ -210,16 +284,17 @@
|
|
|
210
284
|
"to": "manzanita",
|
|
211
285
|
"method": "POST",
|
|
212
286
|
"url": "https://manzanita.example/oauth/token",
|
|
213
|
-
"status":
|
|
287
|
+
"status": 400,
|
|
214
288
|
"request": {
|
|
215
289
|
"headers": {
|
|
216
290
|
"content-type": "application/x-www-form-urlencoded",
|
|
217
|
-
"accept": "application/json"
|
|
218
|
-
"dpop": "‹DPoP proof›"
|
|
291
|
+
"accept": "application/json"
|
|
219
292
|
},
|
|
220
293
|
"body": {
|
|
221
|
-
"grant_type": "
|
|
222
|
-
"
|
|
294
|
+
"grant_type": "https://personalagentprotocol.org/grant/mediated-sign-in",
|
|
295
|
+
"scope": "orders:read",
|
|
296
|
+
"email": "‹email›",
|
|
297
|
+
"password": "‹password›",
|
|
223
298
|
"client_id": "https://atlas.example/agent.json",
|
|
224
299
|
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
|
|
225
300
|
"client_assertion": "‹client assertion›"
|
|
@@ -232,9 +307,10 @@
|
|
|
232
307
|
"cache-control": "no-store"
|
|
233
308
|
},
|
|
234
309
|
"body": {
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
310
|
+
"error": "code_required",
|
|
311
|
+
"sign_in_id": "sgn_1",
|
|
312
|
+
"sent_to": "a•••@example.com",
|
|
313
|
+
"expires_in": 300
|
|
238
314
|
}
|
|
239
315
|
}
|
|
240
316
|
},
|
|
@@ -262,7 +338,7 @@
|
|
|
262
338
|
"token_endpoint_auth_method": "private_key_jwt",
|
|
263
339
|
"extensions": {
|
|
264
340
|
"operations": {
|
|
265
|
-
"version": "
|
|
341
|
+
"version": "2"
|
|
266
342
|
}
|
|
267
343
|
}
|
|
268
344
|
}
|
|
@@ -301,107 +377,10 @@
|
|
|
301
377
|
}
|
|
302
378
|
]
|
|
303
379
|
},
|
|
304
|
-
{
|
|
305
|
-
"title": "The declared fields, once",
|
|
306
|
-
"channel": "pap.protectedInput",
|
|
307
|
-
"summary": "Manzanita declares Email, Password (secret). The host asks Ada on its trusted surface, never through the model, sends the values to the endpoint on Manzanita's domain with no redirect followed, and drops them. Manzanita answers code_required.",
|
|
308
|
-
"chat": [
|
|
309
|
-
{
|
|
310
|
-
"speaker": "atlas",
|
|
311
|
-
"kind": "page",
|
|
312
|
-
"title": "Protected input · Manzanita Outfitters",
|
|
313
|
-
"text": "Ada enters: Email, Password (secret)."
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"speaker": "atlas",
|
|
317
|
-
"kind": "message",
|
|
318
|
-
"text": "Manzanita sent a code to a•••@example.com."
|
|
319
|
-
}
|
|
320
|
-
],
|
|
321
|
-
"views": {
|
|
322
|
-
"atlas": [
|
|
323
|
-
{
|
|
324
|
-
"label": "Company",
|
|
325
|
-
"value": "Manzanita Outfitters · discovery verified"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"label": "Session",
|
|
329
|
-
"value": "signed out · DPoP-bound"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"label": "Vault (host only)",
|
|
333
|
-
"value": "Empty"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"label": "Model sees",
|
|
337
|
-
"value": "Summaries and statuses, never a credential"
|
|
338
|
-
}
|
|
339
|
-
],
|
|
340
|
-
"manzanita": [
|
|
341
|
-
{
|
|
342
|
-
"label": "Verified client",
|
|
343
|
-
"value": "atlas.example/agent.json"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"label": "Sessions",
|
|
347
|
-
"value": "1 live · 0 signed in"
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"label": "Who is it?",
|
|
351
|
-
"value": "A pairwise identifier only"
|
|
352
|
-
}
|
|
353
|
-
]
|
|
354
|
-
},
|
|
355
|
-
"sequence": [
|
|
356
|
-
{
|
|
357
|
-
"kind": "action",
|
|
358
|
-
"from": "user",
|
|
359
|
-
"to": "atlas",
|
|
360
|
-
"label": "Types email and password on Atlas's protected input"
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
"kind": "http",
|
|
364
|
-
"from": "atlas",
|
|
365
|
-
"to": "manzanita",
|
|
366
|
-
"method": "POST",
|
|
367
|
-
"url": "https://manzanita.example/poppy/sign-in",
|
|
368
|
-
"status": 200,
|
|
369
|
-
"request": {
|
|
370
|
-
"headers": {
|
|
371
|
-
"content-type": "application/json",
|
|
372
|
-
"accept": "application/json",
|
|
373
|
-
"authorization": "DPoP ‹session token›",
|
|
374
|
-
"dpop": "‹DPoP proof›"
|
|
375
|
-
},
|
|
376
|
-
"body": {
|
|
377
|
-
"scope": "orders:read",
|
|
378
|
-
"credentials": {
|
|
379
|
-
"email": "‹email›",
|
|
380
|
-
"password": "‹password›"
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
"response": {
|
|
385
|
-
"headers": {
|
|
386
|
-
"content-type": "application/json",
|
|
387
|
-
"cache-control": "no-store"
|
|
388
|
-
},
|
|
389
|
-
"body": {
|
|
390
|
-
"status": "code_required",
|
|
391
|
-
"sign_in_id": "si_1",
|
|
392
|
-
"code": {
|
|
393
|
-
"sent_to": "a•••@example.com"
|
|
394
|
-
},
|
|
395
|
-
"expires_at": "2026-10-11T09:05:00Z"
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
]
|
|
400
|
-
},
|
|
401
380
|
{
|
|
402
381
|
"title": "The one-time code",
|
|
403
382
|
"channel": "Mediated Sign-In",
|
|
404
|
-
"summary": "Only the code
|
|
383
|
+
"summary": "Only the sign_in_id and the code go to the token endpoint. A mistyped code is code_required again; the right one signs Ada in, and the refresh token goes to the vault.",
|
|
405
384
|
"chat": [
|
|
406
385
|
{
|
|
407
386
|
"speaker": "atlas",
|
|
@@ -434,7 +413,7 @@
|
|
|
434
413
|
},
|
|
435
414
|
{
|
|
436
415
|
"label": "Session",
|
|
437
|
-
"value": "signed in ·
|
|
416
|
+
"value": "signed in · a Session JWT on every request"
|
|
438
417
|
},
|
|
439
418
|
{
|
|
440
419
|
"label": "Scopes",
|
|
@@ -442,7 +421,7 @@
|
|
|
442
421
|
},
|
|
443
422
|
{
|
|
444
423
|
"label": "Vault (host only)",
|
|
445
|
-
"value": "1
|
|
424
|
+
"value": "1 refresh token by reference"
|
|
446
425
|
},
|
|
447
426
|
{
|
|
448
427
|
"label": "Model sees",
|
|
@@ -456,10 +435,10 @@
|
|
|
456
435
|
},
|
|
457
436
|
{
|
|
458
437
|
"label": "Sessions",
|
|
459
|
-
"value": "
|
|
438
|
+
"value": "None"
|
|
460
439
|
},
|
|
461
440
|
{
|
|
462
|
-
"label": "Account behind the
|
|
441
|
+
"label": "Account behind the access token",
|
|
463
442
|
"value": "acct_ada"
|
|
464
443
|
},
|
|
465
444
|
{
|
|
@@ -467,7 +446,7 @@
|
|
|
467
446
|
"value": "orders:read"
|
|
468
447
|
},
|
|
469
448
|
{
|
|
470
|
-
"label": "
|
|
449
|
+
"label": "Refresh tokens issued",
|
|
471
450
|
"value": "1 · 1 not revoked"
|
|
472
451
|
}
|
|
473
452
|
]
|
|
@@ -484,18 +463,22 @@
|
|
|
484
463
|
"from": "atlas",
|
|
485
464
|
"to": "manzanita",
|
|
486
465
|
"method": "POST",
|
|
487
|
-
"url": "https://manzanita.example/
|
|
488
|
-
"status":
|
|
466
|
+
"url": "https://manzanita.example/oauth/token",
|
|
467
|
+
"status": 400,
|
|
489
468
|
"request": {
|
|
490
469
|
"headers": {
|
|
491
|
-
"content-type": "application/
|
|
492
|
-
"accept": "application/json"
|
|
493
|
-
"authorization": "DPoP ‹session token›",
|
|
494
|
-
"dpop": "‹DPoP proof›"
|
|
470
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
471
|
+
"accept": "application/json"
|
|
495
472
|
},
|
|
496
473
|
"body": {
|
|
497
|
-
"
|
|
498
|
-
|
|
474
|
+
"grant_type": "https://personalagentprotocol.org/grant/mediated-sign-in",
|
|
475
|
+
"sign_in_id": "sgn_1",
|
|
476
|
+
"one_time_code": "‹one-time code›",
|
|
477
|
+
"client_id": "https://atlas.example/agent.json",
|
|
478
|
+
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
|
|
479
|
+
"client_assertion": "‹client assertion›"
|
|
480
|
+
},
|
|
481
|
+
"encoding": "form"
|
|
499
482
|
},
|
|
500
483
|
"response": {
|
|
501
484
|
"headers": {
|
|
@@ -503,10 +486,10 @@
|
|
|
503
486
|
"cache-control": "no-store"
|
|
504
487
|
},
|
|
505
488
|
"body": {
|
|
506
|
-
"
|
|
507
|
-
"sign_in_id": "
|
|
508
|
-
"
|
|
509
|
-
"
|
|
489
|
+
"error": "code_required",
|
|
490
|
+
"sign_in_id": "sgn_1",
|
|
491
|
+
"sent_to": "a•••@example.com",
|
|
492
|
+
"expires_in": 300
|
|
510
493
|
}
|
|
511
494
|
}
|
|
512
495
|
},
|
|
@@ -521,18 +504,22 @@
|
|
|
521
504
|
"from": "atlas",
|
|
522
505
|
"to": "manzanita",
|
|
523
506
|
"method": "POST",
|
|
524
|
-
"url": "https://manzanita.example/
|
|
507
|
+
"url": "https://manzanita.example/oauth/token",
|
|
525
508
|
"status": 200,
|
|
526
509
|
"request": {
|
|
527
510
|
"headers": {
|
|
528
|
-
"content-type": "application/
|
|
529
|
-
"accept": "application/json"
|
|
530
|
-
"authorization": "DPoP ‹session token›",
|
|
531
|
-
"dpop": "‹DPoP proof›"
|
|
511
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
512
|
+
"accept": "application/json"
|
|
532
513
|
},
|
|
533
514
|
"body": {
|
|
534
|
-
"
|
|
535
|
-
|
|
515
|
+
"grant_type": "https://personalagentprotocol.org/grant/mediated-sign-in",
|
|
516
|
+
"sign_in_id": "sgn_1",
|
|
517
|
+
"one_time_code": "‹one-time code›",
|
|
518
|
+
"client_id": "https://atlas.example/agent.json",
|
|
519
|
+
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
|
|
520
|
+
"client_assertion": "‹client assertion›"
|
|
521
|
+
},
|
|
522
|
+
"encoding": "form"
|
|
536
523
|
},
|
|
537
524
|
"response": {
|
|
538
525
|
"headers": {
|
|
@@ -540,12 +527,10 @@
|
|
|
540
527
|
"cache-control": "no-store"
|
|
541
528
|
},
|
|
542
529
|
"body": {
|
|
543
|
-
"
|
|
544
|
-
"
|
|
545
|
-
"token_type": "DPoP",
|
|
530
|
+
"access_token": "‹access token›",
|
|
531
|
+
"token_type": "Bearer",
|
|
546
532
|
"expires_in": 3600,
|
|
547
|
-
"refresh_token": "‹
|
|
548
|
-
"refresh_token_expires_in": 7776000
|
|
533
|
+
"refresh_token": "‹refresh token›"
|
|
549
534
|
}
|
|
550
535
|
}
|
|
551
536
|
}
|