itc-components-library20 0.0.3 → 0.0.5
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.
|
@@ -1849,6 +1849,20 @@ class ApiAccountDictionaryService {
|
|
|
1849
1849
|
params: params
|
|
1850
1850
|
});
|
|
1851
1851
|
}
|
|
1852
|
+
getLdaps() {
|
|
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 });
|
|
1859
|
+
}
|
|
1860
|
+
// getCompanyById(id: number): Observable<> {
|
|
1861
|
+
// const params = new HttpParams().set('id', id);
|
|
1862
|
+
// return this.http.get<>(`${this.endpoint}Dictionary/Company`, {
|
|
1863
|
+
// params: params
|
|
1864
|
+
// });
|
|
1865
|
+
// }
|
|
1852
1866
|
//##############
|
|
1853
1867
|
//#### POST ####
|
|
1854
1868
|
//##############
|