swift – Realm Mobile Platform中的匿名用户

swift – Realm Mobile Platform中的匿名用户,第1张

概述我可以连接到远程领域而无需登录吗? 在Swift中,创建可同步Realm的唯一方法是通过Realm.Configuration的syncConfiguration属性.是否有一种获取匿名用户的方法,以便任何人都可以连接到远程领域? Can I connect to a remote Realm without having to login? 不,您总是需要进行身份验证. Is there a m 我可以连接到远程领域而无需登录吗?

在Swift中,创建可同步Realm的唯一方法是通过Realm.Configuration的syncConfiguration属性.是否有一种获取匿名用户的方法,以便任何人都可以连接到远程领域?

解决方法

Can I connect to a remote Realm without having to login?

不,您总是需要进行身份验证.

Is there a method for getting an anonymous User so that anyone can connect to the remote Realm?

是的,通过SyncCredentials.anonymous().

总结

以上是内存溢出为你收集整理的swift – Realm Mobile Platform中的匿名用户全部内容,希望文章能够帮你解决swift – Realm Mobile Platform中的匿名用户所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1005640.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-22
下一篇 2022-05-22

发表评论

登录后才能评论

评论列表(0条)

保存