[OAuth2Provider] Added API and resource in front end to manage OAuth2 client apps
Review Request #7993 — Created Feb. 23, 2016 and discarded — Latest diff uploaded
This patch add full API support to get lists of OAuth2 client app, get, update or delete a single app instance or create a new one. User can also operate those operation through the webUI at My account page.
Ran python ./tests/runtests.py reviewboard.webapi.tests.test_oauth2_client_app
Test DELETE, GET, PUT on single item
Test GET, POST on list endpoint
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
reviewboard/accounts/forms/pages.py |
---|
reviewboard/static/rb/js/accountPrefsPage/views/oauth2ClientAppsView.js |
---|
reviewboard/static/rb/js/resources/models/oauth2ClientAppModel.js |
---|
reviewboard/templates/accounts/oauth2_client_application.html |
---|
reviewboard/webapi/resources/__init__.py |
---|
reviewboard/webapi/resources/oauth2_client_app.py |
---|
reviewboard/webapi/resources/user.py |
---|