Spec m.identity_server account data
As per [MSC2230](https://github.com/matrix-org/matrix-doc/pull/2230)pull/977/head
parent
675cabc33d
commit
958cffd330
@ -0,0 +1,7 @@
|
||||
{
|
||||
"$ref": "core/event.json",
|
||||
"type": "m.identity_server",
|
||||
"content": {
|
||||
"base_url": "https://example.org"
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
---
|
||||
allOf:
|
||||
- $ref: core-event-schema/event.yaml
|
||||
description: |-
|
||||
Persists the user's preferred identity server, or preference to not use
|
||||
an identity server at all, in the user's account data.
|
||||
properties:
|
||||
content:
|
||||
type: object
|
||||
properties:
|
||||
base_url:
|
||||
type: string
|
||||
description: |-
|
||||
The URL of the identity server the user prefers to use, or ``null``
|
||||
if the user does not want to use an identity server. This value is
|
||||
similar in structure to the ``base_url`` for identity servers in the
|
||||
``.well-known/matrix/client`` schema.
|
||||
type:
|
||||
enum:
|
||||
- m.identity_server
|
||||
type: string
|
||||
title: Identity Server Preference
|
||||
type: object
|
Loading…
Reference in New Issue