AngularFire $createUser() 承诺值不包括电子邮件
AngularFire $createUser() promise values does not include email
根据 AngularFire 文档,$createUser() onComplete 回调 returns
...an object containing attributes of the newly-created user, including the uid.
但是,userObject 仅包含 uid
,没有其他内容。我期待一个类似于身份验证回调中返回的对象(即包含 email
、isTemporaryPassword
和 profileImageURL
的附加 password
对象)。
我想我想问的是,$createUser() onSuccess 回调 userObject 是否包含 uid
以外的任何内容?
来自 AngularFire 文档 (here):
Creates a new user account using an email / password combination. This function returns a promise that is resolved with an object containing user data about the created user. Currently, the object only contains the created user’s uid.
所以不,$createUser() onSuccess 回调 userObject 不包含除用户 uid 之外的任何内容?
根据 AngularFire 文档,$createUser() onComplete 回调 returns
...an object containing attributes of the newly-created user, including the uid.
但是,userObject 仅包含 uid
,没有其他内容。我期待一个类似于身份验证回调中返回的对象(即包含 email
、isTemporaryPassword
和 profileImageURL
的附加 password
对象)。
我想我想问的是,$createUser() onSuccess 回调 userObject 是否包含 uid
以外的任何内容?
来自 AngularFire 文档 (here):
Creates a new user account using an email / password combination. This function returns a promise that is resolved with an object containing user data about the created user. Currently, the object only contains the created user’s uid.
所以不,$createUser() onSuccess 回调 userObject 不包含除用户 uid 之外的任何内容?