ActivityPub.Federator.WebFinger (Bonfire v1.0.0-social-rc.1.15)

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)