Merge pull request #2281 from matrix-org/travis/spec/identity-server-storage
Spec m.identity_server account datapull/2282/head
commit
54fb5eb5cf
@ -0,0 +1 @@
|
|||||||
|
Add ``m.identity_server`` account data for tracking the user's preferred identity server.
|
@ -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