diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-04-20 09:55:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-20 09:55:02 -0400 |
commit | be9624e2adce7c95039e62fc4ee22538d7fa2d2f (patch) | |
tree | 318179b4d3a4cb5114f887797a5a4c836e5255d7 /api/oauth_test.go | |
parent | 1a0f8d1b3c7451eac43bfdc5971de060caabf441 (diff) | |
download | chat-be9624e2adce7c95039e62fc4ee22538d7fa2d2f.tar.gz chat-be9624e2adce7c95039e62fc4ee22538d7fa2d2f.tar.bz2 chat-be9624e2adce7c95039e62fc4ee22538d7fa2d2f.zip |
Implement v4 endpoints for OAuth (#6040)
* Implement POST /oauth/apps endpoint for APIv4
* Implement GET /oauth/apps endpoint for APIv4
* Implement GET /oauth/apps/{app_id} and /oauth/apps/{app_id}/info endpoints for APIv4
* Refactor API version independent oauth endpoints
* Implement DELETE /oauth/apps/{app_id} endpoint for APIv4
* Implement /oauth/apps/{app_id}/regen_secret endpoint for APIv4
* Implement GET /user/{user_id}/oauth/apps/authorized endpoint for APIv4
* Implement POST /oauth/deauthorize endpoint
Diffstat (limited to 'api/oauth_test.go')
-rw-r--r-- | api/oauth_test.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/api/oauth_test.go b/api/oauth_test.go index 3dcaa0ddf..9e5102b97 100644 --- a/api/oauth_test.go +++ b/api/oauth_test.go @@ -28,7 +28,6 @@ func TestOAuthRegisterApp(t *testing.T) { if _, err := Client.RegisterApp(oauthApp); err == nil { t.Fatal("should have failed - oauth providing turned off") } - } utils.Cfg.ServiceSettings.EnableOAuthServiceProvider = true |