13 Star 75 Fork 20

Gitee 极速下载 / Mastodon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/tootsuite/mastodon
克隆/下载
FEDERATION.md 2.41 KB
一键复制 编辑 原始数据 按行查看 历史

Federation

Supported federation protocols and standards

Supported FEPs

ActivityPub in Mastodon

Mastodon largely follows the ActivityPub server-to-server specification but it makes uses of some non-standard extensions, some of which are required for interacting with Mastodon at all.

Required extensions

WebFinger

In Mastodon, users are identified by a username and domain pair (e.g., Gargron@mastodon.social). This is used both for discovery and for unambiguously mentioning users across the fediverse. Furthermore, this is part of Mastodon's database design from its very beginnings.

As a result, Mastodon requires that each ActivityPub actor uniquely maps back to an acct: URI that can be resolved via WebFinger.

HTTP Signatures

In order to authenticate activities, Mastodon relies on HTTP Signatures, signing every POST and GET request to other ActivityPub implementations on behalf of the user authoring an activity (for POST requests) or an actor representing the Mastodon server itself (for most GET requests).

Mastodon requires all POST requests to be signed, and MAY require GET requests to be signed, depending on the configuration of the Mastodon server.

Optional extensions

Additional documentation

JavaScript
1
https://gitee.com/mirrors/Mastodon.git
git@gitee.com:mirrors/Mastodon.git
mirrors
Mastodon
Mastodon
main

搜索帮助