added userSelect attribute to config
Signed-off-by: Luka Siric <siric.luka@gmail.com>
This commit is contained in:
@@ -74,6 +74,12 @@ export interface Config {
|
||||
* E.g. "securityEnabled eq false and mailEnabled eq true"
|
||||
*/
|
||||
groupFilter?: string;
|
||||
/**
|
||||
* The fields to be fetched on query.
|
||||
*
|
||||
* E.g. ["id", "displayName", "description"]
|
||||
*/
|
||||
userSelect?: string[];
|
||||
/**
|
||||
* The search criteria to apply to extract users by groups memberships.
|
||||
*
|
||||
|
||||
@@ -62,6 +62,12 @@ export type MicrosoftGraphProviderConfig = {
|
||||
* E.g. "accountEnabled eq true and userType eq 'member'"
|
||||
*/
|
||||
userFilter?: string;
|
||||
/**
|
||||
* The fields to be fetched on query.
|
||||
*
|
||||
* E.g. ["id", "displayName", "description"]
|
||||
*/
|
||||
userSelect?: string[];
|
||||
/**
|
||||
* The "expand" argument to apply to users.
|
||||
*
|
||||
@@ -144,6 +150,7 @@ export function readMicrosoftGraphConfig(
|
||||
|
||||
const userExpand = providerConfig.getOptionalString('userExpand');
|
||||
const userFilter = providerConfig.getOptionalString('userFilter');
|
||||
const userSelect = providerConfig.getOptionalStringArray('userSelect');
|
||||
const userGroupMemberFilter = providerConfig.getOptionalString(
|
||||
'userGroupMemberFilter',
|
||||
);
|
||||
@@ -196,6 +203,7 @@ export function readMicrosoftGraphConfig(
|
||||
clientSecret,
|
||||
userExpand,
|
||||
userFilter,
|
||||
userSelect,
|
||||
userGroupMemberFilter,
|
||||
userGroupMemberSearch,
|
||||
groupExpand,
|
||||
|
||||
Reference in New Issue
Block a user