Padloc Logo Docs & Resources

Class: DirectorySync

directory.DirectorySync

Implements

Constructors

constructor

new DirectorySync(server, providers?)

Parameters

Name Type Default value
server Server undefined
providers DirectoryProvider[] []

Defined in

core/src/directory.ts:35

Properties

server

Readonly server: Server

Methods

_getAuthForEmail

Private _getAuthForEmail(email): Promise<Auth>

Parameters

Name Type
email string

Returns

Promise<Auth>

Defined in

core/src/directory.ts:202


groupCreated

groupCreated(group, orgId): Promise<void>

Parameters

Name Type
group DirectoryGroup
orgId string

Returns

Promise<void>

Implementation of

DirectorySubscriber.groupCreated

Defined in

core/src/directory.ts:127


groupDeleted

groupDeleted(group, orgId): Promise<void>

Parameters

Name Type
group DirectoryGroup
orgId string

Returns

Promise<void>

Implementation of

DirectorySubscriber.groupDeleted

Defined in

core/src/directory.ts:188


groupUpdated

groupUpdated(group, orgId, previousName?): Promise<void>

Parameters

Name Type
group DirectoryGroup
orgId string
previousName? string

Returns

Promise<void>

Implementation of

DirectorySubscriber.groupUpdated

Defined in

core/src/directory.ts:157


userCreated

userCreated(user, orgId): Promise<void>

Parameters

Name Type
user DirectoryUser
orgId string

Returns

Promise<void>

Implementation of

DirectorySubscriber.userCreated

Defined in

core/src/directory.ts:41


userDeleted

userDeleted(user, orgId): Promise<void>

Parameters

Name Type
user DirectoryUser
orgId string

Returns

Promise<void>

Implementation of

DirectorySubscriber.userDeleted

Defined in

core/src/directory.ts:97


userUpdated

userUpdated(user, orgId, previousEmail?): Promise<void>

Parameters

Name Type
user DirectoryUser
orgId string
previousEmail? string

Returns

Promise<void>

Implementation of

DirectorySubscriber.userUpdated

Defined in

core/src/directory.ts:65