Skip to content

Variable: FEDERATION_HEADERS ​

ts
const FEDERATION_HEADERS: object;

Defined in: types/federation.ts:52

Headers on every signed server-to-server request (lowercase, as Node presents them).

Type Declaration ​

NameTypeDefault valueDescriptionDefined in
actor"refract-actor""refract-actor"the user it is made for, when there is one; their GUID must name the sendertypes/federation.ts:62
date"refract-date""refract-date"when it was signed, ISO 8601; requests more than a few minutes off are refusedtypes/federation.ts:58
digest"refract-digest""refract-digest"sha-256=<base64> of the bodytypes/federation.ts:60
instance"refract-instance""refract-instance"the sending instance's domaintypes/federation.ts:54
signature"refract-signature""refract-signature"base64 Ed25519 signature over the request's signing stringtypes/federation.ts:64
target"refract-target""refract-target"the receiving instance's domain, so a request can't be replayed against anothertypes/federation.ts:56

Released under the GNU Affero General Public License v3.0.