From a21aa117b88742c69fd7f3b385d9086e35a94e46 Mon Sep 17 00:00:00 2001 From: DMRobertson Date: Wed, 15 Nov 2023 17:29:11 +0000 Subject: deploy: 43d1aa75e8cbf9d522b425d51d5ac1a742b59ffb --- develop/admin_api/user_admin_api.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'develop/admin_api/user_admin_api.html') diff --git a/develop/admin_api/user_admin_api.html b/develop/admin_api/user_admin_api.html index 2a473f2bee..16f52a6817 100644 --- a/develop/admin_api/user_admin_api.html +++ b/develop/admin_api/user_admin_api.html @@ -850,6 +850,33 @@ tell they have been logged in as.

Note: The token will expire if the admin user calls /logout/all from any of their devices, but the token will not expire if the target user does the same.

+

Allow replacing master cross-signing key without User-Interactive Auth

+

This endpoint is not intended for server administrator usage; +we describe it here for completeness.

+

This API temporarily permits a user to replace their master cross-signing key +without going through +user-interactive authentication (UIA). +This is useful when Synapse has delegated its authentication to the +Matrix Authentication Service; +as Synapse cannot perform UIA is not possible in these circumstances.

+

The API is

+
POST /_synapse/admin/v1/users/<user_id>/_allow_cross_signing_replacement_without_uia
+{}
+
+

If the user does not exist, or does exist but has no master cross-signing key, +this will return with status code 404 Not Found.

+

Otherwise, a response body like the following is returned, with status 200 OK:

+
{
+    "updatable_without_uia_before_ms": 1234567890
+}
+
+

The response body is a JSON object with a single field:

+ +

Added in Synapse 1.97.0.

User devices

List all devices

Gets information about all devices for a specific user_id.

-- cgit 1.5.1