PusherApp 存在错误
我正在使用 PusherApp,但在使用状态通道时遇到问题。我正在进行身份验证,并将其传递给“发送”功能。附上两张屏幕截图。我不知道屏幕截图显示的格式是如何混乱的。您不会看到身份验证字符串部分,因为我只是为了屏幕截图而将其取出,但我知道它的格式为:
applicationKey:signature
我获取了 ruby 的示例签名,并在 .net 中生成了它,它是相同的,所以我的程序我认为是正确的。
有什么想法吗?
非常感谢,
大卫·惠顿
I'm using PusherApp, and I'm having issues with using presence channels. I'm authenticating, and passing this along to the "send" function. Attached are two screen shots. I have no idea how the formatting got messed up as the screen shots will show. You won't see the auth string portion as I took it out only for the screenshot but I know it's in the format:
applicationKey:signature
I took the sample signature for ruby and I generated it in .net and its the same so my procedure is correct I think.
Any ideas?
Thanks much,
David Whitten
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
David 最终亲自回答了这个问题,并向 Pusher 提供了代码。它已被纳入 Pusher .NET REST 库。
具体来说,存在身份验证的代码可以在此处查看。
David eventually answered this question himself and provided Pusher with the code. This has been rolled into the Pusher .NET REST Library.
Specifically, the code for presence authentication can be seen here.