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 访问令牌
¥API access token
相关资源#
¥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 的账户关联。
¥An Access Token: This token is tied to the account you use to log into Matrix with.
- Homeserver URL:这是你创建账户时输入的 homeserver 的 URL。n8n 会预先填充 matrix.org 服务器的数据。如果你使用的是托管在其他位置的服务器,请调整此项。
¥A Homeserver URL: This is the URL of the homeserver you entered when you created your account. n8n prepopulates this with matrix.org's own server; adjust this if you're using a server hosted elsewhere.
获取这些详细信息的说明会因你用于访问服务器的客户端而异。访问令牌和主服务器 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.