mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-05-01 22:54:10 +02:00
Compare commits
1 commit
4475d0c027
...
e99eb910c6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e99eb910c6 |
22
data/schemas/oauth2-account-management-action.yaml
Normal file
22
data/schemas/oauth2-account-management-action.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
# Copyright 2026 The Matrix.org Foundation C.I.C.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- "org.matrix.profile"
|
||||||
|
- "org.matrix.devices_list"
|
||||||
|
- "org.matrix.device_view"
|
||||||
|
- "org.matrix.device_delete"
|
||||||
|
- "org.matrix.account_deactivate"
|
||||||
|
- "org.matrix.cross_signing_reset"
|
||||||
|
description: An action that the account management URL supports.
|
||||||
|
|
@ -19,12 +19,11 @@ properties:
|
||||||
format: uri
|
format: uri
|
||||||
description: |-
|
description: |-
|
||||||
The URL where the user is able to access the account management capabilities of the
|
The URL where the user is able to access the account management capabilities of the
|
||||||
server.
|
homeserver.
|
||||||
account_management_actions_supported:
|
account_management_actions_supported:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
List of [actions](/client-server-api/#account-management-url-actions) that the account
|
List of [actions](/client-server-api/#account-management-url-actions) that the account
|
||||||
management URL supports.
|
management URL supports.
|
||||||
items:
|
items:
|
||||||
type: string
|
$ref: ./oauth2-account-management-action.yaml
|
||||||
description: An action that the account management URL supports.
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ type: object
|
||||||
title: OAuth 2.0 Account Management URL Query Parameters
|
title: OAuth 2.0 Account Management URL Query Parameters
|
||||||
properties:
|
properties:
|
||||||
action:
|
action:
|
||||||
type: string
|
$ref: ./oauth2-account-management-action.yaml
|
||||||
description: |-
|
description: |-
|
||||||
The action that the user wishes to take. Must match one of the actions advertised by the
|
The action that the user wishes to take. Must match one of the actions advertised by the
|
||||||
server in [`account_management_actions_supported`](/client-server-api/#account-management-url-discovery).
|
server in [`account_management_actions_supported`](/client-server-api/#account-management-url-discovery).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue