最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How does Firebases anonymous authentication generate a UID? - Stack Overflow

programmeradmin1浏览0评论

Is this based on the clients machine or browser or something else?

For example if I logged in anonymously using Chrome, would the same UID be used in Firefox on the same machine?

Is this based on the clients machine or browser or something else?

For example if I logged in anonymously using Chrome, would the same UID be used in Firefox on the same machine?

Share Improve this question asked Apr 28, 2015 at 6:41 kmb64kmb64 1,5132 gold badges17 silver badges29 bronze badges 0
Add a ment  | 

1 Answer 1

Reset to default 6

From the Firebase documentation on anonymous authentication:

Each time you login a user anonymously, a new, unique user ID will be generated, and your Firebase reference will be authenticated using these new credentials.

So each of the browsers (in your example) bees a different user.

发布评论

评论列表(0)

  1. 暂无评论