Enforcement of OAuth scopes check for authenticated API endpoints, :skip_plug...
Enforcement of OAuth scopes check for authenticated API endpoints, :skip_plug plug to mark a plug explicitly skipped (disabled).
Showing
- lib/pleroma/plugs/auth_expected_plug.ex 13 additions, 0 deletionslib/pleroma/plugs/auth_expected_plug.ex
- lib/pleroma/plugs/oauth_scopes_plug.ex 3 additions, 0 deletionslib/pleroma/plugs/oauth_scopes_plug.ex
- lib/pleroma/plugs/plug_helper.ex 38 additions, 0 deletionslib/pleroma/plugs/plug_helper.ex
- lib/pleroma/web/masto_fe_controller.ex 1 addition, 1 deletionlib/pleroma/web/masto_fe_controller.ex
- lib/pleroma/web/mastodon_api/controllers/account_controller.ex 7 additions, 2 deletions...leroma/web/mastodon_api/controllers/account_controller.ex
- lib/pleroma/web/mastodon_api/controllers/mastodon_api_controller.ex 14 additions, 4 deletions...a/web/mastodon_api/controllers/mastodon_api_controller.ex
- lib/pleroma/web/mastodon_api/controllers/suggestion_controller.ex 6 additions, 3 deletions...oma/web/mastodon_api/controllers/suggestion_controller.ex
- lib/pleroma/web/oauth/oauth_controller.ex 2 additions, 0 deletionslib/pleroma/web/oauth/oauth_controller.ex
- lib/pleroma/web/pleroma_api/controllers/pleroma_api_controller.ex 1 addition, 1 deletion...oma/web/pleroma_api/controllers/pleroma_api_controller.ex
- lib/pleroma/web/router.ex 2 additions, 1 deletionlib/pleroma/web/router.ex
- lib/pleroma/web/twitter_api/twitter_api_controller.ex 2 additions, 0 deletionslib/pleroma/web/twitter_api/twitter_api_controller.ex
- lib/pleroma/web/web.ex 23 additions, 0 deletionslib/pleroma/web/web.ex
- test/web/mastodon_api/controllers/suggestion_controller_test.exs 0 additions, 26 deletions...b/mastodon_api/controllers/suggestion_controller_test.exs
- test/web/pleroma_api/controllers/pleroma_api_controller_test.exs 1 addition, 1 deletion...b/pleroma_api/controllers/pleroma_api_controller_test.exs
Loading
Please register or sign in to comment