contracts/mail-relay refreshed from IWDL 6cd99f7 (64 files). A token the service knows as another site's is forgotten without revoking and the site enrols as itself; a hand-issued one is refused. The fake requires the header and answers host-mismatch. Co-Authored-By: Claude Fable 5.2 <[email protected]>
28 lines
494 B
JSON
28 lines
494 B
JSON
{
|
|
"id": "rotate-ok",
|
|
"title": "The current token rotates; the answer carries the new one",
|
|
"given": {
|
|
"site": "active"
|
|
},
|
|
"request": {
|
|
"method": "POST",
|
|
"path": "/v1/rotate",
|
|
"headers": {
|
|
"authorization": "Bearer {{token}}",
|
|
"x-intecion-site": "{{host}}"
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"schema": "RotateResponse",
|
|
"body": {
|
|
"ok": true
|
|
}
|
|
},
|
|
"client": {
|
|
"retry": false,
|
|
"reEnrol": false,
|
|
"status": null
|
|
}
|
|
}
|