[#2510] Improved support for app-bound OAuth tokens. Auth-related refactoring.
authorIvan Tashkinov <ivantashkinov@gmail.com>
Thu, 11 Feb 2021 12:02:50 +0000 (15:02 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Thu, 11 Feb 2021 12:02:50 +0000 (15:02 +0300)
commitdf89b5019b2c284d02361de509a2306db5115153
tree4681bb7e306627edb00fcade453af36bd48e38f1
parent2cf753c5022dd7178d882e36e25b3a40dc403eff
[#2510] Improved support for app-bound OAuth tokens. Auth-related refactoring.
lib/pleroma/web/mastodon_api/controllers/app_controller.ex
lib/pleroma/web/mastodon_api/views/app_view.ex
lib/pleroma/web/plugs/ensure_authenticated_plug.ex
lib/pleroma/web/plugs/ensure_public_or_authenticated_plug.ex
lib/pleroma/web/plugs/ensure_user_token_assigns_plug.ex
lib/pleroma/web/router.ex
test/pleroma/web/mastodon_api/controllers/app_controller_test.exs