schedule expired oauth tokens deletion with Oban
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 25 Aug 2020 16:17:51 +0000 (19:17 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Thu, 10 Sep 2020 13:01:19 +0000 (16:01 +0300)
commit3ce658b93098551792a69f2455e6e9339a1722e2
treed63d5ecbf6b10ff2042f3484badcd245df7bd46d
parentc8c17d9c636531e70baadf278c28f95c4331d07c
schedule expired oauth tokens deletion with Oban
13 files changed:
config/config.exs
config/description.exs
lib/pleroma/web/oauth/token.ex
lib/pleroma/web/oauth/token/clean_worker.ex
lib/pleroma/web/oauth/token/query.ex
lib/pleroma/web/oauth/token/strategy/refresh_token.ex
lib/pleroma/workers/cron/clear_oauth_token_worker.ex [deleted file]
lib/pleroma/workers/purge_expired_token.ex [new file with mode: 0644]
test/plugs/oauth_plug_test.exs
test/web/oauth/token_test.exs
test/web/twitter_api/password_controller_test.exs
test/workers/cron/clear_oauth_token_worker_test.exs [deleted file]
test/workers/purge_expired_oauth_token_test.exs [new file with mode: 0644]