ActivityPub.Federator.WebFinger (Bonfire v0.9.12-social-beta.68)

View Source

Serves and fetches data (mainly actor URI) necessary for federation when only the username and host is known.

Summary

Functions

Fetches webfinger data for an account given in "@username@domain.tld" format.

Serves a webfinger response for the requested username.

Formats gathered data into a JRD format.

Functions

finger(account)

Fetches webfinger data for an account given in "@username@domain.tld" format.

local_hostname()

output(url)

Serves a webfinger response for the requested username.

represent_user(actor)

Formats gathered data into a JRD format.

webfinger_from_json(doc)