Created
January 12, 2020 11:23
-
-
Save bezysoftware/a1e74c4b91a1ccac3a40e70286574b51 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // user and auth properties | |
| var user = userCredential.User; | |
| var uid = user.Uid; | |
| var name = user.Info.DisplayName; // more properties are available in user.Info | |
| var refreshToken = user.Credential.RefreshToken; // more properties are available in user.Credential | |
| // user methods | |
| var token = await user.GetIdTokenAsync(); | |
| await user.DeleteAsync(); | |
| await user.ChangePasswordAsync("new_password"); | |
| await user.LinkWithCredentialAsync(authCredential); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment