Liking cljdoc? Tell your friends :D

clj-activitypub.webfinger


fetch-user-id!clj

(fetch-user-id! & {:keys [domain username]})

Follows the webfinger request to a remote domain, retrieving the ID of the requested account. Expected to return a string in the form of a URL.

Follows the webfinger request to a remote domain, retrieving the ID of the
requested account. Expected to return a string in the form of a URL.
sourceraw docstring

parse-handleclj

(parse-handle handle)

Given an ActivityPub handle (e.g. @jahfer@mastodon.social), produces a map containing {:domain ... :username ...}.

Given an ActivityPub handle (e.g. @jahfer@mastodon.social), produces
a map containing {:domain ... :username ...}.
sourceraw docstring

remote-uri-pathclj

source

reset-user-id-cache!clj

(reset-user-id-cache!)

Removes all entries from the user-id cache, which is populated with results from fetch-user-id!.

Removes all entries from the user-id cache, which is populated with results
from [[fetch-user-id!]].
sourceraw docstring

resource-urlclj

(resource-url domain username & [params])

Builds a URL pointing to the user's account on the remote server.

Builds a URL pointing to the user's account on the remote server.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close