User forgot password

Hello,

I have written a small iOS app with realm, and it work most brilliantly. After browsing the documentation, I have not been able to see how a user is able to reset his password if he forgot it.

I am looking for a small function that takes the user, pass, token and tokenID from the frontend ( the app) and changes the user’s password.

I have seen the " Call from a Client Application" section from the documentation but I do not know it this applies to my particular case because the client will not be logged when this action is performed.
“let user = app.currentUser!”

Am I missing something? can someone point me in the right direction?

Best regards,
Rasvan