英文:
Create new Tenant based on existed. Import / Export operation in FoxIDs
问题
亲爱的社区,你能帮我回答一个问题吗:
有没有办法在FoxIDs中创建一个租户,让它成为另一个租户的副本,或者导入/导出租户的设置?
我们有超过20个租户,我们想简化租户创建的流程。
非常感谢你的时间。
英文:
Dear community could you please help me with question:
Is there any way to create tenant (in FoxIDs) as copy of another one or import/export settings for tenant?
We have more than 20 tenants and we want to simplify the tenant creating process.
Thanks a lot for you time.
答案1
得分: 1
你可以使用FoxIDs控制API来导出和导入租户中的所有元素,包括创建新租户。但是你需要编写一个程序来处理导出/导入过程。
作为示例代码,你可以查看示例种子工具,它使用控制API来在跟踪中创建下游方和上游方。
示例种子工具使用了自动生成的服务访问代理,已在.csproj文件中启用和配置。
你可以在以下链接找到在线的Swagger(OpenApi):https://control.foxids.com/api/swagger/v1/swagger.json。
英文:
You can use the FoxIDs Control API to export and import all elements in a tenant including creating the new tenant. But you need to code a program to handle the export / import process.
As example code you can look at the sample seed tool which use the Control API to create down-parties and up-parties in a track.
The sample seed tool uses an autogenerated service access proxy enabled and configured in the .csproj file.
You can finde an online Swagger (OpenApi) at: https://control.foxids.com/api/swagger/v1/swagger.json.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论