mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-22 14:03:42 +01:00
Update JSON body for 3PID onbind requests
This commit is contained in:
parent
57609d3cdc
commit
997e76fcf7
|
|
@ -239,19 +239,27 @@ At a later point, if the owner of that particular 3pid binds it with a Matrix us
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
|
|
||||||
{
|
{
|
||||||
"invites": [{
|
"medium": "email",
|
||||||
"mxid": "@foo:bar.com",
|
"address": "foo@bar.baz",
|
||||||
"token": "abc123",
|
"mxid": "@alice:example.tld",
|
||||||
"signatures": {
|
"invites": [
|
||||||
"my.id.server": {
|
{
|
||||||
"ed25519:0": "def987"
|
"medium": "email",
|
||||||
}
|
"address": "foo@bar.baz",
|
||||||
}
|
"mxid": "@alice:example.tld",
|
||||||
}],
|
"room_id": "!something:example.tld",
|
||||||
|
"sender": "@bob:example.tld",
|
||||||
"medium": "email",
|
"signed": {
|
||||||
"address": "foo@bar.com",
|
"mxid": "@alice:example.tld",
|
||||||
"mxid": "@foo:bar.com"
|
"signatures": {
|
||||||
|
"vector.im": {
|
||||||
|
"ed25519:0": "somesignature"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"token": "sometoken"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
Where the signature is produced using a long-term private key.
|
Where the signature is produced using a long-term private key.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue