[#468] Prototype of OAuth2 scopes support. TwitterAPI scope restrictions.
authorIvan Tashkinov <ivantashkinov@gmail.com>
Sat, 9 Feb 2019 14:09:08 +0000 (17:09 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Sat, 9 Feb 2019 14:09:08 +0000 (17:09 +0300)
commit4ad843fb9df838f36c014ddfb76d7107ba2b5c7b
tree661ff9cb6e6cdadfdf8e980841f8d11b315df56a
parent99fd199bda8bd90cd3e8c69d54087531ddc02eac
[#468] Prototype of OAuth2 scopes support. TwitterAPI scope restrictions.
lib/pleroma/plugs/oauth_scopes_plug.ex [new file with mode: 0644]
lib/pleroma/web/oauth.ex [new file with mode: 0644]
lib/pleroma/web/oauth/authorization.ex
lib/pleroma/web/oauth/oauth_controller.ex
lib/pleroma/web/oauth/token.ex
lib/pleroma/web/router.ex
lib/pleroma/web/templates/o_auth/o_auth/show.html.eex
priv/repo/migrations/20190208131753_add_scope_to_o_auth_entities.exs [new file with mode: 0644]
priv/repo/migrations/20190209123318_data_migration_populate_o_auth_scope.exs [new file with mode: 0644]