生成的android Firebase令牌的长度是多少? [英] What is the length of the generated android Firebase token?

查看:382
本文介绍了生成的android Firebase令牌的长度是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找在android中生成的firebase标记的长度。我也想知道,如果这个长度是固定的android平台和其他平台。(ios) 解决方案

从这个 https://www.firebase.com/docs/android/guide/login/custom .html


$ b


令牌有效载荷可以包含您选择的任何数据,并且必须包含
限制uid键是一个少于
的字符串,而不是256个字符。生成的令牌总有效负载也必须小于1024个字符


I am looking for the length of the firebase token that is generated in android. I also would like to know if this length is fixed on android platform and other platforms.(ios)

解决方案

From this https://www.firebase.com/docs/android/guide/login/custom.html

The token payload can contain any data of your choosing with the restriction that it must contain a uid key that is a string of less than 256 characters. The generated token's total payload must also be less than 1024 characters.

这篇关于生成的android Firebase令牌的长度是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆