Add OAuth Token API
Review Request #9078 — Created July 17, 2017 and submitted — Latest diff uploaded
The OAuth2 token APi allows users to view and manage their current
OAuth2 tokens. This API is intentionally limited: the only update
operation is to change the scope and the only other options is to delete
the token.
Ran unit tests.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
orig
1
2
reviewboard/webapi/resources/__init__.py |
---|
reviewboard/webapi/resources/api_token.py |
---|
reviewboard/webapi/resources/oauth_token.py |
---|
reviewboard/webapi/resources/root.py |
---|
reviewboard/webapi/tests/mimetypes.py |
---|
reviewboard/webapi/tests/test_oauth_token.py |
---|
reviewboard/webapi/tests/urls.py |
---|