View Source ActivityPub.Federator.WebFinger (Bonfire v0.9.11-social-beta.6)

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

base_url(account)

finger(account)

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

output(resource)

Serves a webfinger response for the requested username.

represent_user(actor)

Formats gathered data into a JRD format.

webfinger_from_json(doc)