Session-based OAuth auth fixes (token expiration check), refactoring, tweaks.
authorIvan Tashkinov <ivantashkinov@gmail.com>
Sat, 21 Nov 2020 16:47:25 +0000 (19:47 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Sat, 21 Nov 2020 16:47:25 +0000 (19:47 +0300)
commitccc2cf0e87f47618163da588ead76846c64cba7a
tree4c2f35fea2ed5b9b68909a32d421347fda774a29
parent73e66fd31fdfe8cc483fb77df235ddef31708aeb
Session-based OAuth auth fixes (token expiration check), refactoring, tweaks.
lib/pleroma/helpers/auth_helper.ex
lib/pleroma/web/o_auth/o_auth_controller.ex
lib/pleroma/web/o_auth/token.ex
lib/pleroma/web/plugs/o_auth_plug.ex
lib/pleroma/web/plugs/session_authentication_plug.ex [deleted file]
lib/pleroma/web/plugs/set_user_session_id_plug.ex
lib/pleroma/web/plugs/user_enabled_plug.ex
lib/pleroma/web/router.ex
test/pleroma/web/plugs/o_auth_plug_test.exs
test/pleroma/web/plugs/session_authentication_plug_test.exs [deleted file]
test/pleroma/web/plugs/set_user_session_id_plug_test.exs