diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-08-24 12:54:53 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-08-24 12:54:53 +0200 |
commit | 08bd59e446d5d176a9f2082424f70bde5cba64a5 (patch) | |
tree | 7d969cabf9038ab9368aa425373fe1e8367a80d6 /test/fixtures/httpoison_mock/shitposter.club_host_meta | |
parent | 1a001588e80e1ff7088472e3faaf754617d63973 (diff) | |
download | pleroma-08bd59e446d5d176a9f2082424f70bde5cba64a5.tar.gz pleroma-08bd59e446d5d176a9f2082424f70bde5cba64a5.zip |
Extend webfinger capabilities.
Diffstat (limited to 'test/fixtures/httpoison_mock/shitposter.club_host_meta')
-rw-r--r-- | test/fixtures/httpoison_mock/shitposter.club_host_meta | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/fixtures/httpoison_mock/shitposter.club_host_meta b/test/fixtures/httpoison_mock/shitposter.club_host_meta new file mode 100644 index 000000000..9d012e1df --- /dev/null +++ b/test/fixtures/httpoison_mock/shitposter.club_host_meta @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"> + <Link rel="lrdd" type="application/jrd+json" template="https://shitposter.club/.well-known/webfinger?resource={uri}"/> + <Link rel="lrdd" type="application/json" template="https://shitposter.club/.well-known/webfinger?resource={uri}"/> + <Link rel="lrdd" type="application/xrd+xml" template="https://shitposter.club/.well-known/webfinger?resource={uri}"/> + <Link rel="http://apinamespace.org/oauth/access_token" href="https://shitposter.club/api/oauth/access_token"/> + <Link rel="http://apinamespace.org/oauth/request_token" href="https://shitposter.club/api/oauth/request_token"/> + <Link rel="http://apinamespace.org/oauth/authorize" href="https://shitposter.club/api/oauth/authorize"/> +</XRD> |