mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 22:05:23 +02:00
feat(authentication): add LDAP authentication support (#1093)
This commit is contained in:
parent
04ea81e7cd
commit
d27528a771
37 changed files with 922 additions and 166 deletions
|
@ -1,8 +1,10 @@
|
|||
angular.module('portainer.rest')
|
||||
.factory('Settings', ['$resource', 'API_ENDPOINT_SETTINGS', function SettingsFactory($resource, API_ENDPOINT_SETTINGS) {
|
||||
'use strict';
|
||||
return $resource(API_ENDPOINT_SETTINGS, {}, {
|
||||
return $resource(API_ENDPOINT_SETTINGS + '/:subResource/:action', {}, {
|
||||
get: { method: 'GET' },
|
||||
update: { method: 'PUT' }
|
||||
update: { method: 'PUT' },
|
||||
publicSettings: { method: 'GET', params: { subResource: 'public' } },
|
||||
checkLDAPConnectivity: { method: 'PUT', params: { subResource: 'authentication', action: 'checkLDAP' } }
|
||||
});
|
||||
}]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue