Variable createOrUpdateTenant
createOrUpdateTenant: (
tenantId: string,
config?: {
coreConfig?: { [key: string]: any };
firstFactors?: null | string[];
requiredSecondaryFactors?: null | string[];
},
userContext?: Record<string, any>,
) => Promise<{ createdNew: boolean; status: "OK" }> = Wrapper.createOrUpdateTenant
Type declaration
- (
tenantId: string,
config?: {
coreConfig?: { [key: string]: any };
firstFactors?: null | string[];
requiredSecondaryFactors?: null | string[];
},
userContext?: Record<string, any>,
): Promise<{ createdNew: boolean; status: "OK" }> Parameters
- tenantId: string
Optional
config: {
coreConfig?: { [key: string]: any };
firstFactors?: null | string[];
requiredSecondaryFactors?: null | string[];
}Optional
userContext: Record<string, any>
Returns Promise<{ createdNew: boolean; status: "OK" }>