Simperium-用户可以找回忘记的密码吗? [英] Simperium - Can a user recover a forgotten password ..?

查看:134
本文介绍了Simperium-用户可以找回忘记的密码吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的iOS应用中实现了Simperium,并且很快就会上线,我已经使用authenticationOptional功能用我自己的标准登录屏幕覆盖了,一切正常.

但是,如果应用程序的用户创建了一个使用同步功能的simperium帐户却忘记了密码...,该怎么办?我的应用程序使用simperium不仅将数据同步到simperium服务以确保数据安全,而且还可以在iPad和iPhone设备之间同步.

因此,例如,用户设置了simperium登录名,然后几个月后再也没有触摸它,他们松开或更换了iPad,然后想检索数据但无法取回密码...这是他们的一种方式为他们找回它?例如通过电子邮件发送..?

对不起,如果这是一个愚蠢的问题,但是我在任何地方都看不到答案...

解决方案

您可以使用来自auth api的reset_password调用提供此功能: https://simperium.com/docs/reference/http/#reset_password

为了安全起见,您需要将该密钥保留在服务器上-并添加一个确认步骤(例如您提到的电子邮件).

我们正在考虑将其添加到服务中,因此您无需自己实现.

Hi I have implemented Simperium in my iOS app and will go live shortly, I have overriden the standard login-screens with my own using the authenticationOptional feature, all works well.

However, what happens if a user of the app creates a simperium account to use the sync features but then forgets their password....? My app uses simperium to not only sync the data to the simperium service for data security but also to sync between iPad and iPhone devices.

So, for example, the user set's up simperium login and then never touches it again for many months, they loose or change their iPad then want to retrieve the data but can't recall the password ... is their a way for them to retrieve it? by it being emailed for example ..?

Sorry if this is a silly question but I can't see an answer anywhere ...

解决方案

You can provide this functionality using the reset_password call from the auth api: https://simperium.com/docs/reference/http/

That call though requires an API key with admin privileges (admin key in dashboard), https://simperium.com/docs/reference/http/#reset_password

For security you'll want to keep that key on a server - and add a confirmation step (like email as you mentioned).

We're thinking about adding this as to the service so you don't need to implement this yourself though.

这篇关于Simperium-用户可以找回忘记的密码吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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