Class: DirectorySync
directory.DirectorySync
Implements
Constructors
constructor
• new DirectorySync(server
, providers?
)
Parameters
Name | Type | Default value |
---|---|---|
server |
Server |
undefined |
providers |
DirectoryProvider [] |
[] |
Defined in
Properties
server
• Readonly
server: Server
Methods
_getAuthForEmail
▸ Private
_getAuthForEmail(email
): Promise
<Auth
>
Parameters
Name | Type |
---|---|
email |
string |
Returns
Promise
<Auth
>
Defined in
groupCreated
▸ groupCreated(group
, orgId
): Promise
<void
>
Parameters
Name | Type |
---|---|
group |
DirectoryGroup |
orgId |
string |
Returns
Promise
<void
>
Implementation of
DirectorySubscriber.groupCreated
Defined in
groupDeleted
▸ groupDeleted(group
, orgId
): Promise
<void
>
Parameters
Name | Type |
---|---|
group |
DirectoryGroup |
orgId |
string |
Returns
Promise
<void
>
Implementation of
DirectorySubscriber.groupDeleted
Defined in
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
userCreated
▸ userCreated(user
, orgId
): Promise
<void
>
Parameters
Name | Type |
---|---|
user |
DirectoryUser |
orgId |
string |
Returns
Promise
<void
>
Implementation of
DirectorySubscriber.userCreated
Defined in
userDeleted
▸ userDeleted(user
, orgId
): Promise
<void
>
Parameters
Name | Type |
---|---|
user |
DirectoryUser |
orgId |
string |
Returns
Promise
<void
>
Implementation of
DirectorySubscriber.userDeleted
Defined in
userUpdated
▸ userUpdated(user
, orgId
, previousEmail?
): Promise
<void
>
Parameters
Name | Type |
---|---|
user |
DirectoryUser |
orgId |
string |
previousEmail? |
string |
Returns
Promise
<void
>
Implementation of
DirectorySubscriber.userUpdated