Matrix 凭证(Matrix credentials)#
你可以使用以下凭据验证以下节点:
🌐 You can use these credentials to authenticate the following nodes:
先决条件(Prerequisites)#
在 Matrix 服务器上创建一个账户。有关更多信息,请参阅 创建账户。
🌐 Create an account on a Matrix server. Refer to Creating an account for more information.
支持的身份验证方法(Supported authentication methods)#
- API 访问令牌
相关资源(Related resources)#
有关此服务的更多信息,请参阅矩阵规范。
🌐 Refer to the Matrix Specification for more information about the service.
请参阅你用于访问 Matrix 服务器的特定客户端的文档。
🌐 Refer to the documentation for the specific client you're using to access the Matrix server.
使用 API 访问令牌(Using API access token)#
要配置此凭据,你需要:
🌐 To configure this credential, you'll need:
- 一个访问令牌:此令牌与你用来登录 Matrix 的账户相关联。
- 一个 家庭服务器 URL:这是你在创建账户时输入的 家庭服务器 的 URL。n8n 默认填充为 matrix.org 自己的服务器;如果你使用的是其他地方托管的服务器,请进行相应调整。
获取这些详细信息的步骤取决于你使用的访问服务器的客户端。通常,访问令牌和主服务器 URL可以在 设置 > 帮助与关于 > 高级 中找到,但请参阅你所用客户端的文档以获取更多详细信息。
🌐 Instructions for getting these details vary depending on the client you're using to access the server. Both the Access Token and the Homeserver URL can most commonly be found in Settings > Help & About > Advanced, but refer to your client's documentation for more details.