supertokens-node
    Preparing search index...

    Variable listAllTenants

    listAllTenants: (
        userContext?: Record<string, any>,
    ) => Promise<
        { status: "OK"; tenants: ({ tenantId: string } & TenantConfig)[] },
    > = Wrapper.listAllTenants

    Type declaration

      • (
            userContext?: Record<string, any>,
        ): Promise<
            { status: "OK"; tenants: ({ tenantId: string } & TenantConfig)[] },
        >
      • Parameters

        • OptionaluserContext: Record<string, any>

        Returns Promise<{ status: "OK"; tenants: ({ tenantId: string } & TenantConfig)[] }>