itc-components-library20 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1850,7 +1850,12 @@ class ApiAccountDictionaryService {
|
|
|
1850
1850
|
});
|
|
1851
1851
|
}
|
|
1852
1852
|
getLdaps() {
|
|
1853
|
-
|
|
1853
|
+
const credentials = btoa(`apilogin:apipassword`);
|
|
1854
|
+
const headers = new HttpHeaders({
|
|
1855
|
+
'Authorization': `Basic ${credentials}`,
|
|
1856
|
+
'Content-Type': 'application/json'
|
|
1857
|
+
});
|
|
1858
|
+
return this.http.get(`${this.endpoint}Dictionary/Ldap`, { headers: headers });
|
|
1854
1859
|
}
|
|
1855
1860
|
// getCompanyById(id: number): Observable<> {
|
|
1856
1861
|
// const params = new HttpParams().set('id', id);
|