mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-06 16:03:42 +01:00
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
|
|
title: SignedThirdPartyInvite
|
||
|
|
description: |-
|
||
|
|
A block of content which has been signed by the identity server, which
|
||
|
|
homeservers can use to verify the event. Clients should ignore this.
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
mxid:
|
||
|
|
description: |-
|
||
|
|
The user ID that has been bound to the third-party identifier.
|
||
|
|
type: string
|
||
|
|
format: mx-user-id
|
||
|
|
pattern: "^@"
|
||
|
|
example: "@alice:example.org"
|
||
|
|
signatures:
|
||
|
|
title: IdentityServerSignatures
|
||
|
|
description: |-
|
||
|
|
The identity server signatures for this block. This is a map of identity
|
||
|
|
server name to signing key identifier to base64-encoded signature.
|
||
|
|
|
||
|
|
The signatures are calculated using the process described at
|
||
|
|
[Signing JSON](/appendices/#signing-json).
|
||
|
|
type: object
|
||
|
|
additionalProperties:
|
||
|
|
type: object
|
||
|
|
additionalProperties:
|
||
|
|
type: string
|
||
|
|
example: {
|
||
|
|
"magic.forest": {
|
||
|
|
"ed25519:3": "fQpGIW1Snz+pwLZu6sTy2aHy/DYWWTspTJRPyNp0PKkymfIsNffysMl6ObMMFdIJhk6g6pwlIqZ54rxo8SLmAg"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
token:
|
||
|
|
description: |-
|
||
|
|
The token generated by the identity server at the
|
||
|
|
[`/store_invite`](/identity-service-api/#post_matrixidentityv2store-invite)
|
||
|
|
endpoint.
|
||
|
|
|
||
|
|
It matches the `state_key` of the corresponding [`m.room.third_party_invite`](/client-server-api/#mroomthird_party_invite)
|
||
|
|
event.
|
||
|
|
type: string
|
||
|
|
example: "abc123"
|
||
|
|
required:
|
||
|
|
- mxid
|
||
|
|
- signatures
|
||
|
|
- token
|