mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-20 10:13:23 +00:00
Fix as per the comment about naming and visibility conventions
This commit is contained in:
@@ -68,7 +68,7 @@ export class AzureDirectoryService extends BaseDirectoryService implements Direc
|
|||||||
|
|
||||||
let groups: GroupEntry[];
|
let groups: GroupEntry[];
|
||||||
if (this.syncConfig.groups) {
|
if (this.syncConfig.groups) {
|
||||||
const setFilter = await this.createAADCustomSet(this.syncConfig.groupFilter);
|
const setFilter = await this.createAadCustomSet(this.syncConfig.groupFilter);
|
||||||
groups = await this.getGroups(setFilter);
|
groups = await this.getGroups(setFilter);
|
||||||
users = this.filterUsersFromGroupsSet(users, groups, setFilter, this.syncConfig);
|
users = this.filterUsersFromGroupsSet(users, groups, setFilter, this.syncConfig);
|
||||||
}
|
}
|
||||||
@@ -170,7 +170,7 @@ export class AzureDirectoryService extends BaseDirectoryService implements Direc
|
|||||||
return entries;
|
return entries;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected async createAADCustomSet(filter: string): Promise<[boolean, Set<string>]> {
|
private async createAadCustomSet(filter: string): Promise<[boolean, Set<string>]> {
|
||||||
if (filter == null || filter === '') {
|
if (filter == null || filter === '') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user