Add very basic oauth and mastodon api support.
authorRoger Braun <roger@rogerbraun.net>
Wed, 6 Sep 2017 17:06:25 +0000 (19:06 +0200)
committerRoger Braun <roger@rogerbraun.net>
Wed, 6 Sep 2017 17:06:25 +0000 (19:06 +0200)
commit2a298d70f9938d1b6d5af04d8b8863fdd3299f46
tree7029989860d19246a0840a7991db46ad5b3207df
parent4e785df984bed0e2ffc3f5a773a961ed3efd4760
Add very basic oauth and mastodon api support.
16 files changed:
lib/pleroma/app.ex [new file with mode: 0644]
lib/pleroma/plugs/oauth_plug.ex [new file with mode: 0644]
lib/pleroma/web/mastodon_api/mastodon_api.ex [new file with mode: 0644]
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex [new file with mode: 0644]
lib/pleroma/web/oauth/authorization.ex [new file with mode: 0644]
lib/pleroma/web/oauth/oauth_controller.ex [new file with mode: 0644]
lib/pleroma/web/oauth/oauth_view.ex [new file with mode: 0644]
lib/pleroma/web/oauth/token.ex [new file with mode: 0644]
lib/pleroma/web/router.ex
lib/pleroma/web/templates/layout/app.html.eex [new file with mode: 0644]
lib/pleroma/web/templates/o_auth/o_auth/results.html.eex [new file with mode: 0644]
lib/pleroma/web/templates/o_auth/o_auth/show.html.eex [new file with mode: 0644]
lib/pleroma/web/views/layout_view.ex [new file with mode: 0644]
priv/repo/migrations/20170906120646_add_mastodon_apps.exs [new file with mode: 0644]
priv/repo/migrations/20170906143140_create_o_auth_authorizations.exs [new file with mode: 0644]
priv/repo/migrations/20170906152508_create_o_auth_token.exs [new file with mode: 0644]