also that you can reset password or delete an account
I got it working writing a new wrapper. Google has changed something or i do not get the dependencies right.
Anyway:
- I got it working together with FirebaseAuth.
- You can request signin per email and password; bout you do not get any userinfos with firebase authex. But you can use the FirebaseAuth methods to check/get the currentuser and to get the userinfos.
authex.signInWithEmailAndPassword("xxx","yyy")
Sub AuthEx_onAuthenticated(success As Boolean, result As Object, info As String)
Log($"AuthEx_onAuthenticated(${success}, ${result}, ${info})"$)
If success Then
If auth.CurrentUser.IsInitialized Then Auth_SignedIn(auth.CurrentUser)
End If
End Sub
- You can send a request to reset a password using
Sub btnResetPassword_Click
authex.sendPasswordResetEmail("xxx") ' replace xxx by the email for which the password should get resetted.
End Sub
Sub AuthEx_PasswordReset(success As Boolean)
Log($"AuthEx_PasswordReset(${success})"$)
End Sub
The event just tells about the success of this method to "send the email".
The user must read his email, click the link in the email to reset the password and to set a new one.
After he did this
the user now can use his new password.
Unfortunately delete a useraccount i did not get to work based on internal dependencies.
You maybe can try to use the Firebase Rest Api to do so.