What relmeauth-clj needed from indieauth-clj, wary-fetch, html-pieces and microformats-clj, what it did instead, and what those libraries could offer.
canonical-url and profile-url?. Nothing is
missing.dk.simongray.indieauth.state,
which takes the kind from its caller, and a state-session with the
same arguments as indieauth-clj's. Nothing is missing.request-token and
token-request were all it took to carry the request through a sign-in
with RelMeAuth, as the :data of the state. Nothing is missing.indieblog's canonical form trimmed a slash at the end of a path, so
https://example.com/me/ and https://example.com/me were one URL. This
library keeps the :me in IndieAuth's form, where they're two, and
trims the slash only to compare an account's links, unless
:trim-slash? is false.
wary-fetch.bytes and wary-fetch.json of 0.3.0. Nothing is missing.http/form-request, and read the error with a json-answer of this
library's own, since wary-fetch reads no OAuth errors.<a rel="me" href=…> would let its
writer sign in as the owner, if the comment's account links back.
html-pieces 0.4.0 takes me out of a rel when it sanitizes, by default.
Nothing is missing.html/links of
0.4.0. Nothing is missing.mf/rels of 0.2.0, which skips the microformats of the page. Nothing
is missing.Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |