user.getInfo 返回当前用户登录态与公开基础资料。
user.getInfo
先用 isHeyboxAppLoggedIn 缩窄联合类型:未登录时 authorization 与 userInfo 均为 null;已登录时 authorization 固定包含 identity、profile,但兼容 Host 的 userInfo 仍可能为 null。这些状态表示用户授权,不是 Manifest 权限配置。
isHeyboxAppLoggedIn
authorization
userInfo
null
identity
profile
user.getInfo返回当前用户登录态与公开基础资料。