aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/users.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/api/users.js')
-rw-r--r--server/sonar-web/src/main/js/api/users.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/api/users.js b/server/sonar-web/src/main/js/api/users.js
index ec4b778c623..6c00ea84945 100644
--- a/server/sonar-web/src/main/js/api/users.js
+++ b/server/sonar-web/src/main/js/api/users.js
@@ -34,3 +34,8 @@ export function changePassword (login, password, previousPassword) {
return post(url, data);
}
+
+export function getIdentityProviders () {
+ const url = window.baseUrl + '/api/users/identity_providers';
+ return getJSON(url);
+}