Padloc Logo Docs & Resources

Class: BasicProvisioner

provisioning.BasicProvisioner

Implements

Constructors

constructor

new BasicProvisioner(storage, config?)

Parameters

Name Type
storage Storage
config BasicProvisionerConfig

Defined in

core/src/provisioning.ts:266

Properties

config

Readonly config: BasicProvisionerConfig


storage

Readonly storage: Storage

Methods

_getDefaultAccountProvisioning

Protected _getDefaultAccountProvisioning(): Promise<AccountProvisioning>

Returns

Promise<AccountProvisioning>

Defined in

core/src/provisioning.ts:365


_getOrCreateAccountProvisioning

Protected _getOrCreateAccountProvisioning(__namedParameters): Promise<AccountProvisioning>

Parameters

Name Type
__namedParameters Object
__namedParameters.accountId? string
__namedParameters.email string

Returns

Promise<AccountProvisioning>

Defined in

core/src/provisioning.ts:378


_getOrCreateOrgProvisioning

Protected _getOrCreateOrgProvisioning(orgId): Promise<OrgProvisioning>

Parameters

Name Type
orgId string

Returns

Promise<OrgProvisioning>

Defined in

core/src/provisioning.ts:399


accountDeleted

accountDeleted(__namedParameters): Promise<void>

Parameters

Name Type
__namedParameters Object
__namedParameters.accountId? string
__namedParameters.email string

Returns

Promise<void>

Implementation of

Provisioner.accountDeleted

Defined in

core/src/provisioning.ts:313


getProvisioning

getProvisioning(__namedParameters): Promise<Provisioning>

Parameters

Name Type
__namedParameters Object
__namedParameters.accountId? string
__namedParameters.email string

Returns

Promise<Provisioning>

Implementation of

Provisioner.getProvisioning

Defined in

core/src/provisioning.ts:271


orgDeleted

orgDeleted(__namedParameters): Promise<void>

Parameters

Name Type
__namedParameters OrgInfo

Returns

Promise<void>

Implementation of

Provisioner.orgDeleted

Defined in

core/src/provisioning.ts:322


orgOwnerChanged

orgOwnerChanged(__namedParameters, prevOwner, newOwner): Promise<void>

Parameters

Name Type
__namedParameters OrgInfo
prevOwner Object
prevOwner.email string
prevOwner.id? string
newOwner Object
newOwner.email string
newOwner.id? string

Returns

Promise<void>

Implementation of

Provisioner.orgOwnerChanged

Defined in

core/src/provisioning.ts:336