Added api-reports
Closes: #25256 Signed-off-by: Jente Sondervorst <jentesondervorst@gmail.com>
This commit is contained in:
@@ -68,6 +68,9 @@ export type GroupConfig = {
|
||||
};
|
||||
};
|
||||
|
||||
// @public
|
||||
export type GroupConfigList = GroupConfig | GroupConfig[] | undefined;
|
||||
|
||||
// @public
|
||||
export type GroupTransformer = (
|
||||
vendor: LdapVendor,
|
||||
@@ -197,8 +200,8 @@ export type LdapProviderConfig = {
|
||||
target: string;
|
||||
tls?: TLSConfig;
|
||||
bind?: BindConfig;
|
||||
users: UserConfig;
|
||||
groups: GroupConfig;
|
||||
users: UserConfigList;
|
||||
groups: GroupConfigList;
|
||||
schedule?: TaskScheduleDefinition;
|
||||
};
|
||||
|
||||
@@ -223,8 +226,8 @@ export function readLdapLegacyConfig(config: Config): LdapProviderConfig[];
|
||||
// @public
|
||||
export function readLdapOrg(
|
||||
client: LdapClient,
|
||||
userConfig: UserConfig,
|
||||
groupConfig: GroupConfig,
|
||||
userConfig: UserConfigList,
|
||||
groupConfig: GroupConfigList,
|
||||
options: {
|
||||
groupTransformer?: GroupTransformer;
|
||||
userTransformer?: UserTransformer;
|
||||
@@ -263,6 +266,9 @@ export type UserConfig = {
|
||||
};
|
||||
};
|
||||
|
||||
// @public
|
||||
export type UserConfigList = UserConfig | UserConfig[] | undefined;
|
||||
|
||||
// @public
|
||||
export type UserTransformer = (
|
||||
vendor: LdapVendor,
|
||||
|
||||
@@ -83,6 +83,11 @@ export type BindConfig = {
|
||||
*/
|
||||
export type UserConfigList = UserConfig | UserConfig[] | undefined;
|
||||
|
||||
/**
|
||||
* The settings that govern the reading and interpretation of users.
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
export type UserConfig = {
|
||||
// The DN under which users are stored.
|
||||
dn: string;
|
||||
@@ -125,6 +130,11 @@ export type UserConfig = {
|
||||
*/
|
||||
export type GroupConfigList = GroupConfig | GroupConfig[] | undefined;
|
||||
|
||||
/**
|
||||
* The settings that govern the reading and interpretation of groups.
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
export type GroupConfig = {
|
||||
// The DN under which groups are stored.
|
||||
dn: string;
|
||||
|
||||
@@ -20,7 +20,9 @@ export { readProviderConfigs, readLdapLegacyConfig } from './config';
|
||||
export type {
|
||||
LdapProviderConfig,
|
||||
GroupConfig,
|
||||
GroupConfigList,
|
||||
UserConfig,
|
||||
UserConfigList,
|
||||
BindConfig,
|
||||
TLSConfig,
|
||||
} from './config';
|
||||
|
||||
Reference in New Issue
Block a user