diff options
author | lain <lain@soykaf.club> | 2024-05-28 11:22:34 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2024-05-28 11:22:34 +0000 |
commit | bef15cde6141a977aebdfc998d6091a31c4fc2d6 (patch) | |
tree | efd0a502a422296b5fc47bb5e91b2ac14fc868a3 /test/support/http_signatures_proxy.ex | |
parent | 25903a4996d12306d454be960a0a7478541b1879 (diff) | |
parent | 335691bae1a002c1a3bec956884fe665114285ec (diff) | |
download | pleroma-bef15cde6141a977aebdfc998d6091a31c4fc2d6.tar.gz pleroma-bef15cde6141a977aebdfc998d6091a31c4fc2d6.zip |
Merge branch 'secure-mode' into 'develop'
Reject requests from specified instances if `authorized_fetch_mode` is enabled
See merge request pleroma/pleroma!3711
Diffstat (limited to 'test/support/http_signatures_proxy.ex')
-rw-r--r-- | test/support/http_signatures_proxy.ex | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/support/http_signatures_proxy.ex b/test/support/http_signatures_proxy.ex new file mode 100644 index 000000000..4c6b39d19 --- /dev/null +++ b/test/support/http_signatures_proxy.ex @@ -0,0 +1,9 @@ +defmodule Pleroma.Test.HTTPSignaturesProxy do + @behaviour Pleroma.HTTPSignaturesAPI + + @impl true + defdelegate validate_conn(conn), to: HTTPSignatures + + @impl true + defdelegate signature_for_conn(conn), to: HTTPSignatures +end |