mirror of https://github.com/portainer/portainer
13 lines
337 B
JavaScript
13 lines
337 B
JavaScript
function LDAPSettingsViewModel(data) {
|
|
this.ReaderDN = data.ReaderDN;
|
|
this.Password = data.Password;
|
|
this.URL = data.URL;
|
|
this.SearchSettings = data.SearchSettings;
|
|
}
|
|
|
|
function LDAPSearchSettings(BaseDN, UsernameAttribute, Filter) {
|
|
this.BaseDN = BaseDN;
|
|
this.UsernameAttribute = UsernameAttribute;
|
|
this.Filter = Filter;
|
|
}
|