gpt4 book ai didi

javascript - Sinch 在 php 中注册用户

转载 作者:行者123 更新时间:2023-11-28 07:11:49 24 4
gpt4 key购买 nike

我创建了即时消息使用Sinch , 可以在 php (Codeigniter) 中创建用户 Sinch 吗?

nb:我将创建api来注册sinch,但sinch仅在JS中可用

谢谢你,此致!

最佳答案

您真正应该做的是使用您自己的用户数据库,即在 PHP/Parse 中,并在启动 sinch 客户端时使用委托(delegate)安全性。您不需要在sinch 注册用户(我们的用户处理仅用于演示目的)

有几个示例 https://www.sinch.com/tutorials/using-delegated-security-application-server-using-c-sinch-sdk/ SDK 中有用于生成用户票证的 python 示例。

这是一个Python示例

https://www.sinch.com/tutorials/authentication-php-sinch-javascript-sdk/

关于javascript - Sinch 在 php 中注册用户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31228082/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com