Ionic.User.current()返回的离子用户数据;

时间:2016-03-10 16:05:42

标签: ionic-framework

是否有某个参考手册说明了通过以下方式返回的信息:

user = Ionic.User.current();

特别是返回了一个唯一的离子用户ID吗?

1 个答案:

答案 0 :(得分:0)

根据Ionic v1.0 doc:

// this will give you a fresh user or the previously saved 'current user'
var user = Ionic.User.current();